Re: [PATCH 2/4] mfd: qca639x: add support for QCA639x powerup sequence

2020-12-21 Thread Dmitry Baryshkov
Hello, On Mon, 21 Dec 2020 at 12:02, Lee Jones wrote: > > On Sun, 20 Dec 2020, Dmitry Baryshkov wrote: > > > Qualcomm QCA639x is a family of WiFi + Bluetooth SoCs, with BT part > > being controlled through the UART and WiFi being present on PCIe > > bus. Both blocks

[PATCH v2 0/2] Add support for Qualcomm QCA639x chips family

2021-01-13 Thread Dmitry Baryshkov
Qualcomm QCA639x is a family of WiFi + Bluetooth chips, with BT part being controlled through the UART and WiFi being present on PCIe bus. Both blocks share common power sources wich should be turned on before either of devices can be probed. Declare common 'qca639x' driver providing a power domain

[PATCH v2 1/2] dt-bindings: misc: qcom,qca6390: add binding for QCA6390 device

2021-01-13 Thread Dmitry Baryshkov
Qualcomm QCA6390/1 is a family of WiFi + Bluetooth SoCs, with BT part being controlled through the UART and WiFi being present on PCIe bus. Both blocks share common power sources. Add binding to describe power sequencing required to power up this device. Signed-off-by: Dmitry Baryshkov

[PATCH v2 2/2] misc: qca639x: add support for QCA639x powerup sequence

2021-01-13 Thread Dmitry Baryshkov
Qualcomm QCA639x is a family of WiFi + Bluetooth SoCs, with BT part being controlled through the UART and WiFi being present on PCIe bus. Both blocks share common power sources. Add device driver handling power sequencing of QCA6390/1. Signed-off-by: Dmitry Baryshkov --- drivers/misc/Kconfig

Re: [PATCH 1/4] dt-bindings: mfd: qcom,qca639x: add binding for QCA639x defvice

2021-01-14 Thread Dmitry Baryshkov
Hi Rob, On Thu, 14 Jan 2021 at 17:33, Rob Herring wrote: > > On Sat, Jan 2, 2021 at 9:41 PM Dmitry Baryshkov > wrote: > > > > Hello, > > > > On Fri, 1 Jan 2021 at 01:50, Rob Herring wrote: > > > > > > On Sun, Dec 20, 2020 at 07:58:42PM +0300,

[PATCH 2/4] regulator: qcom-rpmh-regulator: correct hfsmps515 definition

2020-12-31 Thread Dmitry Baryshkov
According to the datasheet pm8009's HFS515 regulators have 16mV resolution rather than declared 1.6 mV. Correct the resolution. Signed-off-by: Dmitry Baryshkov Fixes: 06369bcc15a1 ("regulator: qcom-rpmh: Add support for SM8150") --- drivers/regulator/qcom-rpmh-regulator.c | 2 +-

[PATCH 0/4] regulator: fix pm8009 bindings on sm8250

2020-12-31 Thread Dmitry Baryshkov
PM8009 has special revision (P=1), which is to be used for sm8250 platform. The major difference is the S2 regulator which supplies 0.95 V instead of 2.848V. Declare regulators data to be used for this chip revision. The datasheet calls the chip just pm8009-1, so use the same name.

[PATCH 4/4] arm64: dts: qcom: qrb5165-rb5: fix pm8009 regulators

2020-12-31 Thread Dmitry Baryshkov
Fix pm8009 compatibility string to reference pm8009 revision specific to sm8250 platform. Also add S2 regulator to be used for qca639x. Signed-off-by: Dmitry Baryshkov Fixes: b1d2674e6121 ("arm64: dts: qcom: Add basic devicetree support for QRB5165 RB5") --- arch/arm64/boot/dts/qc

[PATCH 3/4] regulator: qcom-rpmh-regulator: add pm8009-1 chip revision

2020-12-31 Thread Dmitry Baryshkov
: Dmitry Baryshkov Fixes: 06369bcc15a1 ("regulator: qcom-rpmh: Add support for SM8150") --- drivers/regulator/qcom-rpmh-regulator.c | 26 + 1 file changed, 26 insertions(+) diff --git a/drivers/regulator/qcom-rpmh-regulator.c b/drivers/regulator/qcom-rpmh-regulat

[PATCH 1/4] dt-bindings: regulator: qcom,rpmh-regulator: add pm8009 revision

2020-12-31 Thread Dmitry Baryshkov
PMIC pm8009 has special revision (P=1) made for sm8250 platform. The major difference is the S2 regulator which supplies 0.95 V instead of 2.848V. Add special compatibility string for this chip revision. The datasheet calls the chip just pm8009-1, so use the same name. Signed-off-by: Dmitry

[PATCH v3 0/6] phy: qcom-qmp: provide DP phy support for sm8250

2021-03-18 Thread Dmitry Baryshkov
) Dmitry Baryshkov (6): dt-bindings: phy: qcom,qmp-usb3-dp: Add support for SM8250 phy: qcom-qmp: move DP functions to callbacks phy: qcom-qmp: rename common registers phy: qcom-qmp: add support for sm8250-usb3-dp

[PATCH v3 1/6] dt-bindings: phy: qcom,qmp-usb3-dp: Add support for SM8250

2021-03-18 Thread Dmitry Baryshkov
Add compatible for SM8250 in QMP USB3 DP PHY bindings. Signed-off-by: Dmitry Baryshkov --- Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml | 1 - Documentation/devicetree/bindings/phy/qcom,qmp-usb3-dp-phy.yaml | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a

[PATCH v3 3/6] phy: qcom-qmp: rename common registers

2021-03-18 Thread Dmitry Baryshkov
A plenty of DP PHY registers are common between V3 and V4. To simplify V4 code, rename all common registers. Signed-off-by: Dmitry Baryshkov --- drivers/phy/qualcomm/phy-qcom-qmp.c | 50 ++--- drivers/phy/qualcomm/phy-qcom-qmp.h | 37 ++--- 2 files

[PATCH v3 2/6] phy: qcom-qmp: move DP functions to callbacks

2021-03-18 Thread Dmitry Baryshkov
In preparation to adding support for V4 DP PHY move DP functions to callbacks at struct qmp_phy_cfg. Signed-off-by: Dmitry Baryshkov --- drivers/phy/qualcomm/phy-qcom-qmp.c | 438 +++- 1 file changed, 231 insertions(+), 207 deletions(-) diff --git a/drivers/phy/qualcomm

[PATCH v3 4/6] phy: qcom-qmp: add support for sm8250-usb3-dp phy

2021-03-18 Thread Dmitry Baryshkov
Add support for QMP V4 Combo USB3+DP PHY (for SM8250 platform). Signed-off-by: Dmitry Baryshkov --- drivers/phy/qualcomm/phy-qcom-qmp.c | 388 ++-- drivers/phy/qualcomm/phy-qcom-qmp.h | 40 ++- 2 files changed, 406 insertions(+), 22 deletions(-) diff --git a/drivers

[PATCH v3 5/6] arm64: dts: qcom: sm8250: switch usb1 qmp phy to USB3+DP mode

2021-03-18 Thread Dmitry Baryshkov
USB1 QMP PHY is not just a USB3 PHY, but USB3+DP PHY. Change device tree nodes accordingly. Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sm8250.dtsi | 23 ++- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi

[PATCH v3 6/6] arm64: dts: qcom: use dp_phy to provide clocks to dispcc

2021-03-18 Thread Dmitry Baryshkov
Plug dp_phy-provided clocks to display clock controller. Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sm8250.dtsi | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi index

Re: [PATCH] drm/msm/dsi: support CPHY mode for 7nm pll/phy

2021-03-05 Thread Dmitry Baryshkov
On 15/02/2021 19:27, Jonathan Marek wrote: Add the required changes to support 7nm pll/phy in CPHY mode. This adds a "qcom,dsi-phy-cphy-mode" property for the PHY node to enable the CPHY mode. Signed-off-by: Jonathan Marek Other that few comments bellow: Reviewed-by: Dmitry

Re: [PATCH v2] drm/msm: a6xx: Make sure the SQE microcode is safe

2021-03-31 Thread Dmitry Baryshkov
Hello, On 10/02/2021 03:52, Jordan Crouse wrote: Most a6xx targets have security issues that were fixed with new versions of the microcode(s). Make sure that we are booting with a safe version of the microcode for the target and print a message and error if not. v2: Add more informative error m

[PATCH v6 1/7] dt-bindings: phy: qcom,qmp-usb3-dp-phy: move usb3 compatibles back to qcom,qmp-phy.yaml

2021-03-31 Thread Dmitry Baryshkov
f5df13 ("dt-bindings: phy: qcom,qmp-usb3-dp: Add DP phy information") Cc: Stephen Boyd Cc: Sandeep Maheswaram Signed-off-by: Dmitry Baryshkov Acked-by: Rob Herring Reviewed-by: Stephen Boyd Reviewed-by: Bjorn Andersson --- Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml

[PATCH v6 1/7] dt-bindings: phy: qcom,qmp-usb3-dp-phy: move usb3 compatibles back to qcom,qmp-phy.yaml

2021-03-31 Thread Dmitry Baryshkov
f5df13 ("dt-bindings: phy: qcom,qmp-usb3-dp: Add DP phy information") Cc: Stephen Boyd Cc: Sandeep Maheswaram Signed-off-by: Dmitry Baryshkov Acked-by: Rob Herring Reviewed-by: Stephen Boyd Reviewed-by: Bjorn Andersson --- Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml

[PATCH v6 0/7] phy: qcom-qmp: provide DP phy support for sm8250

2021-03-31 Thread Dmitry Baryshkov
Changes since v5: - Rebase on top of phy-next - Rework 'move DP functions to callbacks' patch to leave most of the code in place, using function prototypes. Changes since v4: - Fix typo in the qcom,sc7180-qmp-usb3-phy name in the first patch Changes since v3: - Move qcom,sc7180-qmp-usb3-ph

[PATCH v6 2/7] dt-bindings: phy: qcom,qmp-usb3-dp: Add support for SM8250

2021-03-31 Thread Dmitry Baryshkov
Add compatible for SM8250 in QMP USB3 DP PHY bindings. Signed-off-by: Dmitry Baryshkov Acked-by: Rob Herring Reviewed-by: Bjorn Andersson --- Documentation/devicetree/bindings/phy/qcom,qmp-usb3-dp-phy.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings

[PATCH v6 7/7] arm64: dts: qcom: use dp_phy to provide clocks to dispcc

2021-03-31 Thread Dmitry Baryshkov
Plug dp_phy-provided clocks to display clock controller. Signed-off-by: Dmitry Baryshkov Reviewed-by: Bjorn Andersson --- arch/arm64/boot/dts/qcom/sm8250.dtsi | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts

[PATCH v6 5/7] phy: qcom-qmp: add support for sm8250-usb3-dp phy

2021-03-31 Thread Dmitry Baryshkov
Add support for QMP V4 Combo USB3+DP PHY (for SM8250 platform). Signed-off-by: Dmitry Baryshkov Acked-by: Bjorn Andersson --- drivers/phy/qualcomm/phy-qcom-qmp.c | 394 ++-- drivers/phy/qualcomm/phy-qcom-qmp.h | 40 ++- 2 files changed, 412 insertions(+), 22 deletions

[PATCH v6 6/7] arm64: dts: qcom: sm8250: switch usb1 qmp phy to USB3+DP mode

2021-03-31 Thread Dmitry Baryshkov
USB1 QMP PHY is not just a USB3 PHY, but USB3+DP PHY. Change device tree nodes accordingly. Signed-off-by: Dmitry Baryshkov Reviewed-by: Bjorn Andersson --- arch/arm64/boot/dts/qcom/sm8250.dtsi | 23 ++- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/arch

[PATCH v6 4/7] phy: qcom-qmp: rename common registers

2021-03-31 Thread Dmitry Baryshkov
A plenty of DP PHY registers are common between V3 and V4. To simplify V4 code, rename all common registers. Signed-off-by: Dmitry Baryshkov --- drivers/phy/qualcomm/phy-qcom-qmp.c | 50 ++--- drivers/phy/qualcomm/phy-qcom-qmp.h | 37 ++--- 2 files

[PATCH v6 3/7] phy: qcom-qmp: move DP functions to callbacks

2021-03-31 Thread Dmitry Baryshkov
In preparation to adding support for V4 DP PHY move DP functions to callbacks at struct qmp_phy_cfg. Signed-off-by: Dmitry Baryshkov --- drivers/phy/qualcomm/phy-qcom-qmp.c | 73 - 1 file changed, 51 insertions(+), 22 deletions(-) diff --git a/drivers/phy/qualcomm

Re: [v1] drm/msm/disp/dpu1: fix warn stack reported during dpu resume

2021-03-31 Thread Dmitry Baryshkov
On 31/03/2021 14:27, Kalyan Thota wrote: WARN_ON was introduced by the below commit to catch runtime resumes that are getting triggered before icc path was set. "drm/msm/disp/dpu1: icc path needs to be set before dpu runtime resume" For the targets where the bw scaling is not enabled, this WARN

Re: [PATCH] arm64: dts: qcom: sc7180: Fix sc7180-qmp-usb3-dp-phy reg sizes

2021-03-15 Thread Dmitry Baryshkov
On Mon, 15 Mar 2021 at 20:39, Douglas Anderson wrote: > > As per Dmitry Baryshkov [1]: > a) The 2nd "reg" should be 0x3c because "Offset 0x38 is >USB3_DP_COM_REVISION_ID3 (not used by the current driver though)." > b) The 3rd "reg" "is

Re: [PATCH] dt-bindings: Drop type references on common properties

2021-03-16 Thread Dmitry Baryshkov
en-Cohen > Cc: Mark Brown > Cc: Cheng-Yi Chiang > Cc: Benson Leung > Cc: Zhang Rui > Cc: Daniel Lezcano > Cc: Greg Kroah-Hartman > Cc: Stefan Wahren > Cc: Masahiro Yamada > Cc: Odelu Kukatla > Cc: Alex Elder > Cc: Suman Anna > Cc: Kuninori Mori

Re: [PATCH] dt-bindings: More cleanup of standard unit properties

2021-03-16 Thread Dmitry Baryshkov
Bjorn Andersson > Cc: Zhang Rui > Cc: Daniel Lezcano > Cc: Linus Walleij > Cc: Kevin Tsai > Cc: Dmitry Baryshkov > Cc: Sebastian Reichel > Cc: Mark Brown > Cc: linux-...@vger.kernel.org > Cc: linux-in...@vger.kernel.org > Cc: linux...@vger.kernel.org > Sig

Re: [PATCH v3 1/6] dt-bindings: phy: qcom,qmp-usb3-dp: Add support for SM8250

2021-03-26 Thread Dmitry Baryshkov
On Fri, 26 Mar 2021 at 04:20, Rob Herring wrote: > > On Thu, Mar 18, 2021 at 10:59:25PM +0300, Dmitry Baryshkov wrote: > > Add compatible for SM8250 in QMP USB3 DP PHY bindings. > > > > Signed-off-by: Dmitry Baryshkov > > --- > > Documentation/devic

[PATCH v4 0/7] phy: qcom-qmp: provide DP phy support for sm8250

2021-03-26 Thread Dmitry Baryshkov
Changes since v3: - Move qcom,sc7180-qmp-usb3-phy and qcom,sdm845-qmp-usb3-phy from qcom,qmp-usb3-dp.yaml to qcom,qmp-phy.yaml - Do not touch qcom,sm8250-qmp-usb3-phy compatible Changes since v2: - Drop unused qmp_v4_usb3_rx_tbl Changes since v1: - Provide dt bindings - Split register ren

[PATCH v4 4/7] phy: qcom-qmp: rename common registers

2021-03-26 Thread Dmitry Baryshkov
A plenty of DP PHY registers are common between V3 and V4. To simplify V4 code, rename all common registers. Signed-off-by: Dmitry Baryshkov --- drivers/phy/qualcomm/phy-qcom-qmp.c | 50 ++--- drivers/phy/qualcomm/phy-qcom-qmp.h | 37 ++--- 2 files

[PATCH v4 1/7] dt-bindings: phy: qcom,qmp-usb3-dp-phy: move usb3 compatibles back to qcom,qmp-phy.yaml

2021-03-26 Thread Dmitry Baryshkov
f5df13 ("dt-bindings: phy: qcom,qmp-usb3-dp: Add DP phy information") Cc: Stephen Boyd Cc: Sandeep Maheswaram Signed-off-by: Dmitry Baryshkov --- Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml | 2 ++ Documentation/devicetree/bindings/phy/qcom,qmp-usb3-dp-phy.yaml | 2 --

[PATCH v4 7/7] arm64: dts: qcom: use dp_phy to provide clocks to dispcc

2021-03-26 Thread Dmitry Baryshkov
Plug dp_phy-provided clocks to display clock controller. Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sm8250.dtsi | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi index

[PATCH v4 6/7] arm64: dts: qcom: sm8250: switch usb1 qmp phy to USB3+DP mode

2021-03-26 Thread Dmitry Baryshkov
USB1 QMP PHY is not just a USB3 PHY, but USB3+DP PHY. Change device tree nodes accordingly. Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sm8250.dtsi | 23 ++- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi

[PATCH v4 2/7] dt-bindings: phy: qcom,qmp-usb3-dp: Add support for SM8250

2021-03-26 Thread Dmitry Baryshkov
Add compatible for SM8250 in QMP USB3 DP PHY bindings. Signed-off-by: Dmitry Baryshkov --- Documentation/devicetree/bindings/phy/qcom,qmp-usb3-dp-phy.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/phy/qcom,qmp-usb3-dp-phy.yaml b/Documentation

[PATCH v4 5/7] phy: qcom-qmp: add support for sm8250-usb3-dp phy

2021-03-26 Thread Dmitry Baryshkov
Add support for QMP V4 Combo USB3+DP PHY (for SM8250 platform). Signed-off-by: Dmitry Baryshkov --- drivers/phy/qualcomm/phy-qcom-qmp.c | 388 ++-- drivers/phy/qualcomm/phy-qcom-qmp.h | 40 ++- 2 files changed, 406 insertions(+), 22 deletions(-) diff --git a/drivers

[PATCH v4 3/7] phy: qcom-qmp: move DP functions to callbacks

2021-03-26 Thread Dmitry Baryshkov
In preparation to adding support for V4 DP PHY move DP functions to callbacks at struct qmp_phy_cfg. Signed-off-by: Dmitry Baryshkov --- drivers/phy/qualcomm/phy-qcom-qmp.c | 438 +++- 1 file changed, 231 insertions(+), 207 deletions(-) diff --git a/drivers/phy/qualcomm

[PATCH v5 0/7] phy: qcom-qmp: provide DP phy support for sm8250

2021-03-28 Thread Dmitry Baryshkov
) Dmitry Baryshkov (7): dt-bindings: phy: qcom,qmp-usb3-dp-phy: move usb3 compatibles back to qcom,qmp-phy.yaml dt-bindings: phy: qcom,qmp-usb3-dp: Add support for SM8250 phy: qcom-qmp: move DP functions to callbacks phy: qcom-qmp: rename

[PATCH v5 2/7] dt-bindings: phy: qcom,qmp-usb3-dp: Add support for SM8250

2021-03-28 Thread Dmitry Baryshkov
Add compatible for SM8250 in QMP USB3 DP PHY bindings. Signed-off-by: Dmitry Baryshkov Acked-by: Rob Herring --- Documentation/devicetree/bindings/phy/qcom,qmp-usb3-dp-phy.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/phy/qcom,qmp-usb3-dp-phy.yaml

[PATCH v5 1/7] dt-bindings: phy: qcom,qmp-usb3-dp-phy: move usb3 compatibles back to qcom,qmp-phy.yaml

2021-03-28 Thread Dmitry Baryshkov
f5df13 ("dt-bindings: phy: qcom,qmp-usb3-dp: Add DP phy information") Cc: Stephen Boyd Cc: Sandeep Maheswaram Signed-off-by: Dmitry Baryshkov Acked-by: Rob Herring Reviewed-by: Stephen Boyd --- Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml | 2 ++ Documentation/devicet

[PATCH v5 4/7] phy: qcom-qmp: rename common registers

2021-03-28 Thread Dmitry Baryshkov
A plenty of DP PHY registers are common between V3 and V4. To simplify V4 code, rename all common registers. Signed-off-by: Dmitry Baryshkov --- drivers/phy/qualcomm/phy-qcom-qmp.c | 50 ++--- drivers/phy/qualcomm/phy-qcom-qmp.h | 37 ++--- 2 files

[PATCH v5 3/7] phy: qcom-qmp: move DP functions to callbacks

2021-03-28 Thread Dmitry Baryshkov
In preparation to adding support for V4 DP PHY move DP functions to callbacks at struct qmp_phy_cfg. Signed-off-by: Dmitry Baryshkov --- drivers/phy/qualcomm/phy-qcom-qmp.c | 438 +++- 1 file changed, 231 insertions(+), 207 deletions(-) diff --git a/drivers/phy/qualcomm

[PATCH v5 6/7] arm64: dts: qcom: sm8250: switch usb1 qmp phy to USB3+DP mode

2021-03-28 Thread Dmitry Baryshkov
USB1 QMP PHY is not just a USB3 PHY, but USB3+DP PHY. Change device tree nodes accordingly. Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sm8250.dtsi | 23 ++- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi

[PATCH v5 5/7] phy: qcom-qmp: add support for sm8250-usb3-dp phy

2021-03-28 Thread Dmitry Baryshkov
Add support for QMP V4 Combo USB3+DP PHY (for SM8250 platform). Signed-off-by: Dmitry Baryshkov --- drivers/phy/qualcomm/phy-qcom-qmp.c | 388 ++-- drivers/phy/qualcomm/phy-qcom-qmp.h | 40 ++- 2 files changed, 406 insertions(+), 22 deletions(-) diff --git a/drivers

[PATCH v5 7/7] arm64: dts: qcom: use dp_phy to provide clocks to dispcc

2021-03-28 Thread Dmitry Baryshkov
Plug dp_phy-provided clocks to display clock controller. Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sm8250.dtsi | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi index

Re: [v1] drm/msm/disp/dpu1: fix warn stack reported during dpu resume

2021-03-31 Thread Dmitry Baryshkov
On 01/04/2021 01:47, Rob Clark wrote: On Wed, Mar 31, 2021 at 9:03 AM Dmitry Baryshkov wrote: On 31/03/2021 14:27, Kalyan Thota wrote: WARN_ON was introduced by the below commit to catch runtime resumes that are getting triggered before icc path was set. "drm/msm/disp/dpu1: icc path

Re: [Freedreno] [v1] drm/msm/disp/dpu1: fix warn stack reported during dpu resume

2021-04-01 Thread Dmitry Baryshkov
On Thu, 1 Apr 2021 at 16:19, wrote: > > On 2021-04-01 07:37, Dmitry Baryshkov wrote: > > On 01/04/2021 01:47, Rob Clark wrote: > >> On Wed, Mar 31, 2021 at 9:03 AM Dmitry Baryshkov > >> wrote: > >>> > >>> On 31/03/2021 14:27, Kalyan Thota wr

Re: [PATCH] drm/msm/a6xx: fix for kernels without CONFIG_NVMEM

2021-04-01 Thread Dmitry Baryshkov
On Thu, 1 Apr 2021 at 23:09, Rob Clark wrote: > > On Mon, Feb 22, 2021 at 8:06 AM Rob Clark wrote: > > > > On Mon, Feb 22, 2021 at 7:45 AM Akhil P Oommen > > wrote: > > > > > > On 2/19/2021 9:30 PM, Rob Clark wrote: > > > > On Fri, Feb 19, 2021 at 2:44 AM Akhil P Oommen > > > > wrote: > > > >

[PATCH v2 1/6] dt-bindings: phy: qcom,qmp-usb3-dp: Add support for SM8250

2021-03-18 Thread Dmitry Baryshkov
Add compatible for SM8250 in QMP USB3 DP PHY bindings. Signed-off-by: Dmitry Baryshkov --- Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml | 1 - Documentation/devicetree/bindings/phy/qcom,qmp-usb3-dp-phy.yaml | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a

[PATCH v2 2/6] phy: qcom-qmp: move DP functions to callbacks

2021-03-18 Thread Dmitry Baryshkov
In preparation to adding support for V4 DP PHY move DP functions to callbacks at struct qmp_phy_cfg. Signed-off-by: Dmitry Baryshkov --- drivers/phy/qualcomm/phy-qcom-qmp.c | 438 +++- 1 file changed, 231 insertions(+), 207 deletions(-) diff --git a/drivers/phy/qualcomm

[PATCH v2 3/6] phy: qcom-qmp: rename common registers

2021-03-18 Thread Dmitry Baryshkov
A plenty of DP PHY registers are common between V3 and V4. To simplify V4 code, rename all common registers. Signed-off-by: Dmitry Baryshkov --- drivers/phy/qualcomm/phy-qcom-qmp.c | 50 ++--- drivers/phy/qualcomm/phy-qcom-qmp.h | 37 ++--- 2 files

[PATCH v2 0/6] phy: qcom-qmp: provide DP phy support for sm8250

2021-03-18 Thread Dmitry Baryshkov
) Dmitry Baryshkov (6): dt-bindings: phy: qcom,qmp-usb3-dp: Add support for SM8250 phy: qcom-qmp: move DP functions to callbacks phy: qcom-qmp: rename common registers phy: qcom-qmp: add support for sm8250-usb3-dp phy arm64: dts: qcom: sm8250: switch usb1 qmp

[PATCH v2 6/6] arm64: dts: qcom: use dp_phy to provide clocks to dispcc

2021-03-18 Thread Dmitry Baryshkov
Plug dp_phy-provided clocks to display clock controller. Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sm8250.dtsi | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi index

[PATCH v2 4/6] phy: qcom-qmp: add support for sm8250-usb3-dp phy

2021-03-18 Thread Dmitry Baryshkov
Add support for QMP V4 Combo USB3+DP PHY (for SM8250 platform). Signed-off-by: Dmitry Baryshkov --- drivers/phy/qualcomm/phy-qcom-qmp.c | 400 ++-- drivers/phy/qualcomm/phy-qcom-qmp.h | 40 ++- 2 files changed, 418 insertions(+), 22 deletions(-) diff --git a/drivers

[PATCH v2 5/6] arm64: dts: qcom: sm8250: switch usb1 qmp phy to USB3+DP mode

2021-03-18 Thread Dmitry Baryshkov
USB1 QMP PHY is not just a USB3 PHY, but USB3+DP PHY. Change device tree nodes accordingly. Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sm8250.dtsi | 23 ++- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi

[PATCH 4/4] arm64: dtb: qcom: qrb5165-rb5: add power domain to pcie0 phy

2020-12-20 Thread Dmitry Baryshkov
happens. Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/qrb5165-rb5.dts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts b/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts index e6bab9960cea..9aa7793cd7c0 100644 --- a/arch/arm64/boot/dts/qcom

[PATCH 0/4] Add support for Qualcomm QCA639x chips family

2020-12-20 Thread Dmitry Baryshkov
Qualcomm QCA639x is a family of WiFi + Bluetooth chips, with BT part being controlled through the UART and WiFi being present on PCIe bus. Both blocks share common power sources wich should be turned on before either of devices can be probed. Declare common 'qca639x' driver providing a power domain

[PATCH 3/4] arm64: dts: qcom: Add Bluetooth support on RB5

2020-12-20 Thread Dmitry Baryshkov
From: Manivannan Sadhasivam Add Bluetooth support on RB5 using the onboard QCA6391 WLAN+BT chipset. Signed-off-by: Manivannan Sadhasivam [DB: added qca639x power domain] Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/qrb5165-rb5.dts | 97 1 file changed

[PATCH 2/4] mfd: qca639x: add support for QCA639x powerup sequence

2020-12-20 Thread Dmitry Baryshkov
Qualcomm QCA639x is a family of WiFi + Bluetooth SoCs, with BT part being controlled through the UART and WiFi being present on PCIe bus. Both blocks share common power sources. So add mfd device driver handling power sequencing of QCA6390/1. Signed-off-by: Dmitry Baryshkov --- drivers/mfd

[PATCH 1/4] dt-bindings: mfd: qcom,qca639x: add binding for QCA639x defvice

2020-12-20 Thread Dmitry Baryshkov
Qualcomm QCA639x is a family of WiFi + Bluetooth SoCs, with BT part being controlled through the UART and WiFi being present on PCIe bus. Both blocks share common power sources. Add binding to describe power sequencing required to power up this device. Signed-off-by: Dmitry Baryshkov

Re: [PATCH 0/6] arm64: dts: qcom: qrb5165-rb5 audio support

2020-12-01 Thread Dmitry Baryshkov
-by: Dmitry Baryshkov arch/arm64/boot/dts/qcom/qrb5165-rb5.dts | 125 + arch/arm64/boot/dts/qcom/sm8250.dtsi | 327 +++ 2 files changed, 452 insertions(+) -- With best wishes Dmitry

Re: [PATCH v2] misc: fastrpc: restrict user apps from sending kernel RPC messages

2021-03-01 Thread Dmitry Baryshkov
On Sat, 13 Feb 2021 at 11:25, Greg Kroah-Hartman wrote: > > On Fri, Feb 12, 2021 at 10:26:58PM +0300, Dmitry Baryshkov wrote: > > Verify that user applications are not using the kernel RPC message > > handle to restrict them from directly attaching to guest OS on the > > r

Re: [PATCH v2] misc: fastrpc: restrict user apps from sending kernel RPC messages

2021-03-01 Thread Dmitry Baryshkov
On Mon, 1 Mar 2021 at 18:48, Greg Kroah-Hartman wrote: > > On Mon, Mar 01, 2021 at 06:34:10PM +0300, Dmitry Baryshkov wrote: > > On Sat, 13 Feb 2021 at 11:25, Greg Kroah-Hartman > > wrote: > > > > > > On Fri, Feb 12, 2021 at 10:26:58PM +0300, Dmitry Barys

Re: [PATCH] arm64: dts: qcom: pm8150: Enable RTC

2021-03-12 Thread Dmitry Baryshkov
On Wed, 6 Jan 2021 at 03:09, Bjorn Andersson wrote: > > The PM8150 comes with everything the RTC needs, so let's just leave it > enabled instead of having to explicitly enable it for all boards. > In effect this patch enables the RTC on the SM8150 MTP and the SM8250 > HD

Re: [PATCH 0/8] arm64: dts: qcom: sm8350: Add PMICs

2021-03-12 Thread Dmitry Baryshkov
Looks good to me. Reviewed-by: Dmitry Baryshkov On Fri, 12 Mar 2021 at 08:28, Vinod Koul wrote: > > This adds the SPMI nodes for SM8350 followed by PMIC base file containing > the GPIO nodes for these pmics (pmic compatibles have been picked by LinusW) > > SM8350-MTP includes

Re: [PATCH v3 2/2] arm64: dts: qcom: sm8250: fix display nodes

2021-03-12 Thread Dmitry Baryshkov
On Thu, 11 Mar 2021 at 03:10, Bjorn Andersson wrote: > > On Tue 16 Feb 15:14 CST 2021, Dmitry Baryshkov wrote: > > > Except for the compatible value changes: > > > > Reviewed-by: Dmitry Baryshkov > > > > May I suggest to split the compatibility name chang

Re: [PATCH 01/13] arm64: dts: qcom: sc7180: Update dts for DP phy inside QMP phy

2021-03-13 Thread Dmitry Baryshkov
On 26/02/2021 01:12, Douglas Anderson wrote: From: Stephen Boyd Drop the old node and add the new one in its place. Cc: Stephen Boyd Cc: Jeykumar Sankaran Cc: Chandan Uddaraju Cc: Vara Reddy Cc: Tanmay Shah Cc: Rob Clark Signed-off-by: Stephen Boyd [dianders: Adjusted due to DP not itse

Re: [PATCH] soc: qcom: socinfo: Fix an off by one in qcom_show_pmic_model()

2021-01-20 Thread Dmitry Baryshkov
d-off-by: Dan Carpenter Acked-by: Dmitry Baryshkov -- With best wishes Dmitry

Re: [PATCH 3/7] regulator: qcom-rpmh: Correct the pmic5_hfsmps515 buck

2021-03-02 Thread Dmitry Baryshkov
Hello, On Mon, 1 Mar 2021 at 13:37, wrote: > > On 2021-02-26 15:57, Dmitry Baryshkov wrote: > > On Fri, 26 Feb 2021 at 09:59, wrote: > >> > >> Hi, > >> > >> On 2021-02-25 16:39, Dmitry Baryshkov wrote: > >> > On 24/02/2021 11:33, satya

Re: [PATCH 1/4] dt-bindings: mfd: qcom,qca639x: add binding for QCA639x defvice

2021-01-02 Thread Dmitry Baryshkov
Hello, On Fri, 1 Jan 2021 at 01:50, Rob Herring wrote: > > On Sun, Dec 20, 2020 at 07:58:42PM +0300, Dmitry Baryshkov wrote: > > Qualcomm QCA639x is a family of WiFi + Bluetooth SoCs, with BT part > > being controlled through the UART and WiFi being present on PCIe bus. >

Re: [PATCH] arm64: dts: qcom: qrb5165-rb5: Add support for MCP2518FD

2020-11-28 Thread Dmitry Baryshkov
On 27/11/2020 20:30, Manivannan Sadhasivam wrote: Add support for onboard MCP2518FD SPI CAN transceiver attached to SPI0 of RB5. Signed-off-by: Manivannan Sadhasivam Tested-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/qrb5165-rb5.dts | 17 + 1 file changed, 17

Re: [PATCH 7/8] drm/msm/dpu: add SM8150 to hw catalog

2020-06-11 Thread Dmitry Baryshkov
On 26/05/2020 06:22, Jonathan Marek wrote: This brings up basic video mode functionality for SM8150 DPU. Command mode and dual mixer/intf configurations are not working, future patches will address this. Scaler functionality and multiple planes is also untested. Signed-off-by: Jonathan Marek --

Re: [RESEND PATCH v2 00/13] Enable GPU for SM8150 and SM8250

2020-07-03 Thread Dmitry Baryshkov
On 30/06/2020 00:17, Jonathan Marek wrote: This series adds the missing clock drivers and dts nodes to enable the GPU on both SM8150 and SM8250. Note an extra patch [1] is still required for GPU to work on SM8250. Changes in V2: * Added "clk: qcom: gcc: fix sm8150 GPU and NPU clocks" to fix the

Re: [RESEND PATCH v2 00/13] Enable GPU for SM8150 and SM8250

2020-07-03 Thread Dmitry Baryshkov
On 03/07/2020 18:08, Jonathan Marek wrote: On 7/3/20 11:03 AM, Dmitry Baryshkov wrote: On 30/06/2020 00:17, Jonathan Marek wrote: This series adds the missing clock drivers and dts nodes to enable the GPU on both SM8150 and SM8250. Note an extra patch [1] is still required for GPU to work on

Re: [RESEND PATCH v2 00/13] Enable GPU for SM8150 and SM8250

2020-07-03 Thread Dmitry Baryshkov
On 03/07/2020 18:14, Dmitry Baryshkov wrote: On 03/07/2020 18:08, Jonathan Marek wrote: On 7/3/20 11:03 AM, Dmitry Baryshkov wrote: On 30/06/2020 00:17, Jonathan Marek wrote: This series adds the missing clock drivers and dts nodes to enable the GPU on both SM8150 and SM8250. Note an extra

Re: [PATCH 1/3] phy: qcom-qmp: Allow different values for second lane

2020-06-25 Thread Dmitry Baryshkov
On 24/05/2020 05:14, Jonathan Marek wrote: The primary USB PHY on sm8250 sets some values differently for the second lane. This makes it possible to represent that. Signed-off-by: Jonathan Marek Tested-by: Dmitry Baryshkov -- With best wishes Dmitry

Re: [PATCH 3/3] phy: qcom-qmp: Add QMP V4 USB3 PHY support for sm8250

2020-06-25 Thread Dmitry Baryshkov
On 24/05/2020 05:14, Jonathan Marek wrote: Add both the DP and UNI PHY for primary/secondary usb controllers. The tables are very similar to sm8150 (serdes_tbl is identical), but there are some differences. Signed-off-by: Jonathan Marek Tested-by: Dmitry Baryshkov -- With best wishes

Re: [PATCH 2/3] phy: qcom-qmp: Add QMP V4 USB3 UNIPHY

2020-06-25 Thread Dmitry Baryshkov
On 24/05/2020 05:14, Jonathan Marek wrote: Add support for the USB3 PHY used by the secondary usb controller on sm8150 Signed-off-by: Jonathan Marek Tested-by: Dmitry Baryshkov -- With best wishes Dmitry

Re: [PATCH 0/3] i2c: i2c-qcom-geni: More properly fix the DMA race

2020-10-10 Thread Dmitry Baryshkov
hes fix I2C DMA issues on SM8250 we were observing Tested-by: Dmitry Baryshkov -- With best wishes Dmitry

Re: [PATCH 4/5] soundwire: qcom: avoid dependency on CONFIG_SLIMBUS

2020-08-27 Thread Dmitry Baryshkov
On 08/06/2020 23:43, Jonathan Marek wrote: The driver may be used without slimbus, so don't depend on slimbus. Signed-off-by: Jonathan Marek --- drivers/soundwire/Kconfig | 1 - drivers/soundwire/qcom.c | 5 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/soundw

Re: [PATCH v1 6/9] phy: qcom-qmp: Add support for DP in USB3+DP combo phy

2020-09-03 Thread Dmitry Baryshkov
On 02/09/2020 04:01, Stephen Boyd wrote: Quoting Dmitry Baryshkov (2020-09-01 06:36:34) With these functions I'm struggling between introducing PHY_TYPE_DP_V3/V4 and introducing callbacks into qmp_phy_cfg. What would you prefer? What about the following struct? struct qmp_phy_dp

Re: [PATCH v1 6/9] phy: qcom-qmp: Add support for DP in USB3+DP combo phy

2020-09-03 Thread Dmitry Baryshkov
On 03/09/2020 15:41, Jonathan Marek wrote: On 9/3/20 8:37 AM, Dmitry Baryshkov wrote: On 02/09/2020 04:01, Stephen Boyd wrote: Quoting Dmitry Baryshkov (2020-09-01 06:36:34) With these functions I'm struggling between introducing PHY_TYPE_DP_V3/V4 and introducing callbacks into qmp_ph

Re: [PATCH v1 6/9] phy: qcom-qmp: Add support for DP in USB3+DP combo phy

2020-09-01 Thread Dmitry Baryshkov
c: Douglas Anderson Cc: Sean Paul Cc: Stephen Boyd Cc: Jonathan Marek Cc: Dmitry Baryshkov Cc: Rob Clark Link: https://lore.kernel.org/r/20200609034623.10844-1-tan...@codeaurora.org Signed-off-by: Stephen Boyd --- drivers/phy/qualcomm/phy-qcom-qmp.c | 935 +--- drivers/ph

Re: [PATCH v2 07/10] phy: qcom-qmp: Add support for DP in USB3+DP combo phy

2020-09-04 Thread Dmitry Baryshkov
On 03/09/2020 23:43, Jonathan Marek wrote: On 9/2/20 7:02 PM, Stephen Boyd wrote: Add support for the USB3 + DisplayPort (DP) "combo" phy to the qmp phy driver. We already have support for the USB3 part of the combo phy, so most additions are for the DP phy. Split up the qcom_qmp_phy{enable,dis

Re: [PATCH v2 07/10] phy: qcom-qmp: Add support for DP in USB3+DP combo phy

2020-09-04 Thread Dmitry Baryshkov
On 04/09/2020 15:44, Jonathan Marek wrote: On 9/4/20 8:29 AM, Dmitry Baryshkov wrote: On 03/09/2020 23:43, Jonathan Marek wrote: On 9/2/20 7:02 PM, Stephen Boyd wrote: Add support for the USB3 + DisplayPort (DP) "combo" phy to the qmp phy driver. We already have support for the US

Re: [PATCH v2 0/7] SM8150 and SM8250 dispcc drivers

2020-09-07 Thread Dmitry Baryshkov
values for dp_link clk is in Hz and not kHz On SM8250: Tested-by: Dmitry Baryshkov v2: - updated dts example to reflect the change (first patch) - updated config_ctl_hi1_val in sm8250 dispcc to latest downstream Jonathan Marek (7): dt-bindings: clock: sdm845-dispcc: same name for

Re: [PATCH 0/3] drm/msm/dsi: support SM8150 and SM8250

2020-09-07 Thread Dmitry Baryshkov
On 04/09/2020 20:28, Jonathan Marek wrote: Add support for SM8150 and SM8250 DSI. Note I haven't tested SM8150 recently, but DSI is almost identical to SM8250. On SM8250: Tested-by: Dmitry Baryshkov Jonathan Marek (3): drm/msm/dsi: remove unused clk_pre/clk_post in msm_dsi_dphy_t

Re: [Freedreno] [PATCH v10 3/5] drm/msm/dp: add support for DP PLL driver

2020-08-17 Thread Dmitry Baryshkov
On 16/08/2020 01:45, Rob Clark wrote: On Sat, Aug 15, 2020 at 2:21 PM Jonathan Marek wrote: On 8/15/20 4:20 PM, Rob Clark wrote: On Fri, Aug 14, 2020 at 10:05 AM Dmitry Baryshkov wrote: On 12/08/2020 07:42, Tanmay Shah wrote: > From: Chandan Uddaraju > > Add the need

Re: [PATCH v10 3/5] drm/msm/dp: add support for DP PLL driver

2020-08-14 Thread Dmitry Baryshkov
On 12/08/2020 07:42, Tanmay Shah wrote: > From: Chandan Uddaraju > > Add the needed DP PLL specific files to support > display port interface on msm targets. [skipped] > diff --git a/drivers/gpu/drm/msm/dp/dp_pll_private.h b/drivers/gpu/drm/msm/dp/dp_pll_private.h > new file mode 100644 > i

Re: [PATCH v10 2/5] drm/msm/dp: add displayPort driver support

2020-08-14 Thread Dmitry Baryshkov
Hello, On 12/08/2020 07:42, Tanmay Shah wrote: From: Chandan Uddaraju [skipped] + } else if ((dp_parser_check_prefix("ctrl", clk_name) || + dp_parser_check_prefix("stream", clk_name)) && + ctrl_clk_index < ctrl_clk_count) { +

Re: [PATCH v10 3/5] drm/msm/dp: add support for DP PLL driver

2020-08-15 Thread Dmitry Baryshkov
On 15/08/2020 02:22, Tanmay Shah wrote: On 2020-08-14 10:05, Dmitry Baryshkov wrote: On 12/08/2020 07:42, Tanmay Shah wrote: From: Chandan Uddaraju Add the needed DP PLL specific files to support display port interface on msm targets. [skipped] diff --git a/drivers/gpu/drm/msm/dp

Re: [PATCH 3/3] drm/msm/dpu: add support for clk and bw scaling for display

2020-10-27 Thread Dmitry Baryshkov
Hello, On 04/08/2020 18:40, Rob Clark wrote: On Thu, Jul 16, 2020 at 4:36 AM Kalyan Thota wrote: This change adds support to scale src clk and bandwidth as per composition requirements. Interconnect registration for bw has been moved to mdp device node from mdss to facilitate the scaling. C

[PATCH v2 0/5]

2020-10-23 Thread Dmitry Baryshkov
On SM8250 MDSS_GDSC (and the rest of display clock controller) is supplied power by MMCX power domain. Handle this link in GDSC code by binding the power domain in dts file. This patchset depends on [1] Changes since v1: - Define fixed-regulator-domain regulator using power domain performance

[PATCH v2 1/5] dt-bindings: regulator: fixed: provide bindings using power domain

2020-10-23 Thread Dmitry Baryshkov
Define bindings for fixed regulator using power domain performance state to enable/disable corresponding regulator. Signed-off-by: Dmitry Baryshkov --- .../bindings/regulator/fixed-regulator.yaml | 47 +++ 1 file changed, 47 insertions(+) diff --git a/Documentation/devicetree

[PATCH v2 5/5] clk: qcom: dispcc-sm8250: handle MMCX power domain

2020-10-23 Thread Dmitry Baryshkov
On SM8250 MMCX power domain is required to access MMDS_GDSC registers. This power domain is expressed as mmcx-supply regulator property. Use this regulator as MDSS_GDSC supply. Signed-off-by: Dmitry Baryshkov --- drivers/clk/qcom/dispcc-sm8250.c | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v2 2/5] regulator: fixed: support using power domain for enable/disable

2020-10-23 Thread Dmitry Baryshkov
Adds possibility to choose the compatible "fixed-regulator-domain" for regulators which use power domain for enabling/disabling corresponding regulator. Signed-off-by: Dmitry Baryshkov --- drivers/regulator/fixed.c | 63 +++ 1 file changed, 57

<    1   2   3   4   5   >