tag:github.com,2008:https://github.com/0xB0D/linux/releasesTags from linux2019-12-11T10:47:58Ztag:github.com,2008:Repository/216186454/qcs404-usb-v4-for-upstream2019-12-11T10:47:58Zqcs404-usb-v4-for-upstream: usb: dwc3: Add support for usb-conn-gpio connectors<p>usb: dwc3: Add support for usb-conn-gpio connectors</p>
<p>This patch adds the ability to probe and enumerate a connector based on
<br />usb-conn-gpio. A device node label gpio_usb_connector is used to identify
<br />a usb-conn-gpio as a child of the USB interface.</p>
<p>You would use usb-conn-gpio when a regulator in your system provides VBUS
<br />directly to the connector instead of supplying via the USB PHY.</p>
<p>The parent device must have the "usb-role-switch" property, so that when
<br />the usb-conn-gpio driver calls usb_role_switch_set_role() the notification
<br />in dwc3 will run and the block registers will be updated to match the state
<br />detected at the connector.</p>
<p>Cc: John Stultz <john.stultz@linaro.org>
<br />Cc: Bjorn Andersson <bjorn.andersson@linaro.org>
<br />Cc: Jorge Ramirez-Ortiz <jorge.ramirez.ortiz@gmail.com>
<br />Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
<br />Cc: Rob Herring <robh+dt@kernel.org>
<br />Cc: Mark Rutland <mark.rutland@arm.com>
<br />CC: ShuFan Lee <shufan_lee@richtek.com>
<br />Cc: Heikki Krogerus <heikki.krogerus@linux.intel.com>
<br />Cc: Suzuki K Poulose <suzuki.poulose@arm.com>
<br />Cc: Chunfeng Yun <chunfeng.yun@mediatek.com>
<br />Cc: Yu Chen <chenyu56@huawei.com>
<br />Cc: Felipe Balbi <balbi@kernel.org>
<br />Cc: Hans de Goede <hdegoede@redhat.com>
<br />Cc: Andy Shevchenko <andy.shevchenko@gmail.com>
<br />Cc: Jun Li <lijun.kernel@gmail.com>
<br />Cc: Valentin Schneider <valentin.schneider@arm.com>
<br />Cc: Jack Pham <jackp@codeaurora.org>
<br />Cc: linux-usb@vger.kernel.org
<br />Cc: devicetree@vger.kernel.org
<br />Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org></p>0xB0Dtag:github.com,2008:Repository/216186454/qcs404-usb-v4-for-internal-qcom-git2019-12-11T15:52:02Zqcs404-usb-v4-for-internal-qcom-git: arm64: dts: qcom: qcs404-evb: Specify the VBUS input supply<p>arm64: dts: qcom: qcs404-evb: Specify the VBUS input supply</p>
<p>The regulator-fixed property allows you to specify the input supply. Do so
<br />now for completeness.</p>
<p>Suggested-by: Bjorn Andersson <bjorn.andersson@linaro.org>
<br />Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org></p>0xB0Dtag:github.com,2008:Repository/216186454/qcs404-usb-v4-additional-code-from-linux-usb2019-12-11T10:47:58Zqcs404-usb-v4-additional-code-from-linux-usb: usb: dwc3: Add support for role-switch-default-mode binding<p>usb: dwc3: Add support for role-switch-default-mode binding</p>
<p>Support the new role-switch-default-mode binding for configuring
<br />the default role the controller assumes as when the usb role is
<br />USB_ROLE_NONE</p>
<p>This patch was split out from a larger patch originally by
<br />Yu Chen <chenyu56@huawei.com></p>
<p>Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
<br />Cc: Rob Herring <robh+dt@kernel.org>
<br />Cc: Mark Rutland <mark.rutland@arm.com>
<br />CC: ShuFan Lee <shufan_lee@richtek.com>
<br />Cc: Heikki Krogerus <heikki.krogerus@linux.intel.com>
<br />Cc: Suzuki K Poulose <suzuki.poulose@arm.com>
<br />Cc: Chunfeng Yun <chunfeng.yun@mediatek.com>
<br />Cc: Yu Chen <chenyu56@huawei.com>
<br />Cc: Felipe Balbi <balbi@kernel.org>
<br />Cc: Hans de Goede <hdegoede@redhat.com>
<br />Cc: Andy Shevchenko <andy.shevchenko@gmail.com>
<br />Cc: Jun Li <lijun.kernel@gmail.com>
<br />Cc: Valentin Schneider <valentin.schneider@arm.com>
<br />Cc: Jack Pham <jackp@codeaurora.org>
<br />Cc: linux-usb@vger.kernel.org
<br />Cc: devicetree@vger.kernel.org
<br />Signed-off-by: John Stultz <john.stultz@linaro.org>
<br />Change-Id: Ic6e4df1109b350deaecdc69f667d49ce91d599f3</p>johnstultz-worktag:github.com,2008:Repository/216186454/v4.19.882019-12-05T08:38:25Zv4.19.88gregkhtag:github.com,2008:Repository/216186454/v4.14.1582019-12-05T14:38:36Zv4.14.158gregkhtag:github.com,2008:Repository/216186454/v4.4.2062019-12-05T14:32:59Zv4.4.206gregkhtag:github.com,2008:Repository/216186454/v5.4.22019-12-04T21:31:42Zv5.4.2gregkhtag:github.com,2008:Repository/216186454/integration-linux-qcomlt-qcs404-usb-v3-squashing-base2019-12-04T13:00:44Zintegration-linux-qcomlt-qcs404-usb-v3-squashing-base: misc: hisi_hikey_usb: Driver to support usb functionality of Hikey960<p>misc: hisi_hikey_usb: Driver to support usb functionality of Hikey960</p>
<p>The HiKey960 has a fairly complex USB configuration due to it
<br />needing to support a USB-C port for host/device mode and multiple
<br />USB-A ports in host mode using a single USB controller.</p>
<p>See schematics here:
<br /> <a href="https://github.com/96boards/documentation/raw/master/consumer/hikey/hikey960/hardware-docs/HiKey960_Schematics.pdf">https://github.com/96boards/documentation/raw/master/consumer/hikey/hikey960/hardware-docs/HiKey960_Schematics.pdf</a></p>
<p>This driver acts as a usb-role-switch intermediary, intercepting
<br />the role switch notifications from the tcpm code, and passing
<br />them on to the dwc3 core.</p>
<p>In doing so, it also controls the onboard hub and power gpios in
<br />order to properly route the data lines between the USB-C port
<br />and the onboard hub to the USB-A ports.</p>
<p>NOTE: It was noted that controlling the TYPEC_VBUS_POWER_OFF and
<br />TYPEC_VBUS_POWER_ON values here is not reccomended. I'm looking
<br />for a way to remove that bit from the logic here, but wanted to
<br />still get feedback on this approach.</p>
<p>Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
<br />Cc: Rob Herring <robh+dt@kernel.org>
<br />Cc: Mark Rutland <mark.rutland@arm.com>
<br />CC: ShuFan Lee <shufan_lee@richtek.com>
<br />Cc: Heikki Krogerus <heikki.krogerus@linux.intel.com>
<br />Cc: Suzuki K Poulose <suzuki.poulose@arm.com>
<br />Cc: Chunfeng Yun <chunfeng.yun@mediatek.com>
<br />Cc: Yu Chen <chenyu56@huawei.com>
<br />Cc: Felipe Balbi <balbi@kernel.org>
<br />Cc: Hans de Goede <hdegoede@redhat.com>
<br />Cc: Andy Shevchenko <andy.shevchenko@gmail.com>
<br />Cc: Jun Li <lijun.kernel@gmail.com>
<br />Cc: Valentin Schneider <valentin.schneider@arm.com>
<br />Cc: Jack Pham <jackp@codeaurora.org>
<br />Cc: linux-usb@vger.kernel.org
<br />Cc: devicetree@vger.kernel.org
<br />Signed-off-by: Yu Chen <chenyu56@huawei.com>
<br />[jstultz: Major rework to make the driver a usb-role-switch
<br /> intermediary]
<br />Signed-off-by: John Stultz <john.stultz@linaro.org>
<br />Change-Id: Icf381520abd46d083750d01f91e478321560fbf9</p>chenyu56tag:github.com,2008:Repository/216186454/integration-linux-qcomlt-qcs404-usb-v3-002019-12-03T15:03:13Zintegration-linux-qcomlt-qcs404-usb-v3-00: phy: qcom: usb-hs-snp-28nm: Remove regulator_set_voltage logic<p>phy: qcom: usb-hs-snp-28nm: Remove regulator_set_voltage logic</p>
<p>regulator_set_voltage() and the associated logic in
<br />qcom_snps_hsphy_config_regulators() can be gotten rid of entirely.</p>
<p>This patch subtracts the logic around regulator_set_voltage(). A previous
<br />commit set a floor on the regulator minimum voltage.</p>
<p>Setting regulator_set_load() in the init routine and
<br />regulator_bulk_enable() in the PHY power on/off routine will accomplish the
<br />same thing.</p>
<p>Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org></p>0xB0Dtag:github.com,2008:Repository/216186454/v4.19.872019-12-01T08:17:47Zv4.19.87gregkh