Re: [PATCH v4 6/6] clk: rockchip: rk3399: Support module build

2020-09-14 Thread Stephen Boyd
viewed-by: Kever Yang > --- Reviewed-by: Stephen Boyd

Re: [PATCH v4 3/6] clk: rockchip: Export rockchip_register_softrst()

2020-09-14 Thread Stephen Boyd
Quoting Elaine Zhang (2020-09-13 19:22:22) > This is used by the Rockchip clk driver, export it to allow that > driver to be compiled as a module.. > > Signed-off-by: Elaine Zhang > Reviewed-by: Kever Yang > --- Reviewed-by: Stephen Boyd

Re: [PATCH v4 5/6] clk: rockchip: fix the clk config to support module build

2020-09-14 Thread Stephen Boyd
Elaine Zhang > Reviewed-by: Kever Yang > --- Reviewed-by: Stephen Boyd

Re: [PATCH v4 4/6] clk: rockchip: Export some clock common APIs for module drivers

2020-09-14 Thread Stephen Boyd
Quoting Elaine Zhang (2020-09-13 19:22:23) > This is used by the Rockchip clk driver, export it to allow that > driver to be compiled as a module. > > Signed-off-by: Elaine Zhang > Reviewed-by: Kever Yang > --- Reviewed-by: Stephen Boyd

Re: [PATCH v4 1/6] clk: rockchip: Use clk_hw_register_composite instead of clk_register_composite calls

2020-09-14 Thread Stephen Boyd
eviewed-by: Heiko Stuebner > --- Reviewed-by: Stephen Boyd

Re: [PATCH v1 2/3] dt-bindings: clock: Add YAML schemas for the QCOM Camera clock bindings.

2020-09-14 Thread Stephen Boyd
Quoting Taniya Das (2020-09-08 10:07:27) > The Camera Subsystem clock provider have a bunch of generic properties > that are needed in a device tree. Add a YAML schemas for those. > > Add clock ids for Camera clocks which are required to bring the camera Why capitalize camera? > subsystem out of

Re: [PATCH v1 1/3] clk: qcom: clk-alpha-pll: Add support for controlling Agera PLLs

2020-09-14 Thread Stephen Boyd
Quoting Taniya Das (2020-09-08 10:07:26) > diff --git a/drivers/clk/qcom/clk-alpha-pll.c > b/drivers/clk/qcom/clk-alpha-pll.c > index 26139ef..fb27fcf 100644 > --- a/drivers/clk/qcom/clk-alpha-pll.c > +++ b/drivers/clk/qcom/clk-alpha-pll.c > @@ -1561,3 +1571,75 @@ const struct clk_ops clk_alpha_pl

Re: [PATCH v1 1/3] dt-bindings: fu540: prci: convert PRCI bindings to json-schema

2020-09-14 Thread Stephen Boyd
Quoting Sagar Kadam (2020-09-10 03:44:02) > diff --git a/Documentation/devicetree/bindings/clock/sifive/fu540-prci.yaml > b/Documentation/devicetree/bindings/clock/sifive/fu540-prci.yaml > new file mode 100644 > index 000..49386cd > --- /dev/null > +++ b/Documentation/devicetree/bindings/clock

Re: [PATCH 01/10] clk: at91: Drop unused at91sam9g45_pcr_layout

2020-09-14 Thread Stephen Boyd
Quoting Krzysztof Kozlowski (2020-09-11 08:34:41) > On Wed, Sep 02, 2020 at 06:35:58PM +0200, Alexandre Belloni wrote: > > On 02/09/2020 17:03:39+0200, Krzysztof Kozlowski wrote: > > > The at91sam9g45_pcr_layout is not used so drop it to fix build warning: > > > > > > drivers/clk/at91/at91sam9g4

[PATCH] arm64: dts: qcom: trogdor: Add labels for type-c ports

2020-09-14 Thread Stephen Boyd
Some trogdor board variants only have one USB port, so add a couple labels to these ports so we can modify them later. Cc: Douglas Anderson Signed-off-by: Stephen Boyd --- arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch

Re: [PATCHv4 1/2] soc: qcom: llcc: Move attribute config to its own function

2020-09-14 Thread Stephen Boyd
Quoting Sai Prakash Ranjan (2020-09-14 04:12:59) > Cleanup qcom_llcc_cfg_program() by moving llcc attribute > configuration to a separate function of its own. Also > correct misspelled 'instance' caught by checkpatch. > > Suggested-by: Stephen Boyd > Signe

[PATCH] interconnect: qcom: osm-l3: Mark more structures const

2020-09-14 Thread Stephen Boyd
Sibi Sankar Cc: Evan Green Signed-off-by: Stephen Boyd --- drivers/interconnect/qcom/osm-l3.c | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/drivers/interconnect/qcom/osm-l3.c b/drivers/interconnect/qcom/osm-l3.c index 96fb9ff5ff2e..ba2ee6683a82 100644 --- a/dr

Re: [PATCH v2] platform/chrome: Don't populate lightbar device if it isn't there

2020-09-10 Thread Stephen Boyd
Quoting Enric Balletbo i Serra (2020-09-10 08:49:42) > On 10/9/20 16:52, Guenter Roeck wrote: > > On Thu, Sep 10, 2020 at 7:32 AM Enric Balletbo i Serra > > wrote: > >> On 10/9/20 16:18, Guenter Roeck wrote: > >>> On Wed, Sep 9, 2020 at 3:42 PM Stephen B

Re: [PATCH 04/10] clk: gpio: Simplify with dev_err_probe()

2020-09-10 Thread Stephen Boyd
Quoting Krzysztof Kozlowski (2020-09-02 08:03:42) > diff --git a/drivers/clk/clk-gpio.c b/drivers/clk/clk-gpio.c > index 38755a241ab7..a3cc53edcb11 100644 > --- a/drivers/clk/clk-gpio.c > +++ b/drivers/clk/clk-gpio.c > @@ -211,17 +210,10 @@ static int gpio_clk_driver_probe(struct platform_device >

Re: [PATCH v2] clk: imx: gate2: Fix a few typos

2020-09-10 Thread Stephen Boyd
Quoting Jonathan Neuschäfer (2020-09-05 08:10:16) > A few words were misspelled in this comment. > > Signed-off-by: Jonathan Neuschäfer > --- Reviewed-by: Stephen Boyd Presumably Shawn will pick this up.

Re: [PATCH 0/3] clk: keystone: some minor fixes

2020-09-10 Thread Stephen Boyd
Quoting santosh.shilim...@oracle.com (2020-09-08 10:19:32) > > > On 9/7/20 1:57 AM, Tero Kristo wrote: > > Hi Santosh, > > > > This series contains a few fixes for the TI SCI clock driver. > > - Patch #1 is a clear bug fix, where we missed to parse assigned-clock > >data properly to detect w

Re: [PATCH] clk: qcom: lpass: Correct goto target in lpass_core_sc7180_probe()

2020-09-10 Thread Stephen Boyd
Quoting Jing Xiangfeng (2020-08-27 07:16:29) > lpass_core_sc7180_probe() misses to call pm_clk_destroy() and > pm_runtime_disable() in error paths. Correct goto target to fix it. > This issue is found by code inspection. > > Signed-off-by: Jing Xiangfeng > --- Applied to clk-fixes

Re: [PATCH] clk: qcom: lpass: Correct goto target in lpass_core_sc7180_probe()

2020-09-10 Thread Stephen Boyd
Quoting Jing Xiangfeng (2020-08-27 07:16:29) > lpass_core_sc7180_probe() misses to call pm_clk_destroy() and > pm_runtime_disable() in error paths. Correct goto target to fix it. > This issue is found by code inspection. > > Signed-off-by: Jing Xiangfeng > --- HMm.. presumably Fixes: edab812d80

Re: [PATCH] clk: versatile: Add of_node_put() before return statement

2020-09-10 Thread Stephen Boyd
Quoting Sumera Priyadarsini (2020-08-29 10:57:04) > Every iteration of for_each_available_child_of_node() decrements > the reference count of the previous node, however when control is > transferred from the middle of the loop, as in the case of a return > or break or goto, there is no decrement th

Re: [PATCH] clk: meson: make shipped controller configurable

2020-09-10 Thread Stephen Boyd
Quoting Jerome Brunet (2020-08-28 08:47:35) > Add the necessary so bits so unnecessary amlogic clock controllers can be s/so// > compiled out. This allows to save a few kB when necessary. > > Signed-off-by: Jerome Brunet > --- Reviewed-by: Stephen Boyd

Re: [PATCH v3 01/10] dt-bindings: phy: qcom,qmp-usb3-dp: Add DP phy information

2020-09-09 Thread Stephen Boyd
Quoting Stephen Boyd (2020-09-09 17:48:53) > This binding only describes the USB phy inside the USB3 + DP "combo" > phy. Add information for the DP phy and describe the sub-nodes that > represent the DP and USB3 phys that exist inside the combo wrapper. > Remove reg-names fr

[PATCH] driver core: platform: Document return type of more functions

2020-09-09 Thread Stephen Boyd
ment it here so that we don't all have to spend time digging through the code to understand the return values. Cc: Signed-off-by: Stephen Boyd --- drivers/base/platform.c | 14 ++ lib/devres.c| 18 -- 2 files changed, 26 insertions(+), 6 deletions(-)

[PATCH v3 2/2] idr: Document that ida_simple_{get,remove}() are deprecated

2020-09-09 Thread Stephen Boyd
These two functions are deprecated. Users should call ida_alloc() or ida_free() respectively instead. Add documentation to this effect until the macro can be removed. Cc: Greg KH Reviewed-by: Tri Vo Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org Cc: Matthew Wilcox Signed-off-by: Stephen

[PATCH v3 1/2] idr: Document calling context for IDA APIs mustn't use locks

2020-09-09 Thread Stephen Boyd
uires. Furthermore, let's document ida_simple_get() with the same information so that callers know how this API works. Cc: Greg KH Cc: Tri Vo Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org Cc: Matthew Wilcox Signed-off-by: Stephen Boyd --- include/linux/idr.h | 9 ++--- lib/idr.c

[PATCH v3 00/10] Support qcom USB3+DP combo phy (or type-c phy)

2020-09-09 Thread Stephen Boyd
ch * Reset aux phy is kept around now. Slightly moved where we init the phy and setup aux * Added a phy_exit() call to last patch so we properly shut down DP on disconnect and can work on multiple plugs Changes from RFC (https://lore.kernel.org/r/20200611091919.108018-1-swb...@chromium.org)

[PATCH v3 03/10] phy: qcom-qmp: Remove 'initialized' in favor of 'init_count'

2020-09-09 Thread Stephen Boyd
iewed-by: Bjorn Andersson Cc: Manu Gautam Cc: Sandeep Maheswaram Cc: Douglas Anderson Cc: Sean Paul Cc: Jonathan Marek Cc: Dmitry Baryshkov Cc: Rob Clark Signed-off-by: Stephen Boyd --- drivers/phy/qualcomm/phy-qcom-qmp.c | 9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) diff

[PATCH v3 09/10] clk: qcom: dispcc: Update DP clk ops for phy design

2020-09-09 Thread Stephen Boyd
: Sandeep Maheswaram Cc: Douglas Anderson Cc: Sean Paul Cc: Stephen Boyd Cc: Jonathan Marek Cc: Dmitry Baryshkov Cc: Rob Clark Signed-off-by: Stephen Boyd --- drivers/clk/qcom/clk-rcg2.c | 19 +-- drivers/clk/qcom/dispcc-sc7180.c | 3 --- 2 files changed, 13 insertions

[PATCH v3 08/10] phy: qcom-qmp: Add support for sc7180 DP phy

2020-09-09 Thread Stephen Boyd
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 | 124 1 file changed, 124 insertions(+) diff --git a/drivers/phy/qualcomm/phy-qcom-qmp.c b/drivers

[PATCH v3 01/10] dt-bindings: phy: qcom,qmp-usb3-dp: Add DP phy information

2020-09-09 Thread Stephen Boyd
d by the kernel driver. Cc: Jeykumar Sankaran Cc: Chandan Uddaraju Cc: Vara Reddy Cc: Tanmay Shah Cc: Bjorn Andersson Cc: Manu Gautam Cc: Sandeep Maheswaram Cc: Douglas Anderson Cc: Sean Paul Cc: Jonathan Marek Cc: Dmitry Baryshkov Cc: Cc: Rob Herring Cc: Rob Clark Signed-off-b

[PATCH v3 02/10] phy: qcom-qmp: Move phy mode into struct qmp_phy

2020-09-09 Thread Stephen Boyd
mitry Baryshkov Cc: Rob Clark Signed-off-by: Stephen Boyd --- drivers/phy/qualcomm/phy-qcom-qmp.c | 15 +++ 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/drivers/phy/qualcomm/phy-qcom-qmp.c b/drivers/phy/qualcomm/phy-qcom-qmp.c index 562053ce9455..7ee9e966dc6d 100644 --- a

[PATCH v3 04/10] phy: qcom-qmp: Move 'serdes' and 'cfg' into 'struct qcom_phy'

2020-09-09 Thread Stephen Boyd
Cc: Bjorn Andersson Cc: Manu Gautam Cc: Sandeep Maheswaram Cc: Douglas Anderson Cc: Sean Paul Cc: Jonathan Marek Cc: Dmitry Baryshkov Cc: Rob Clark Signed-off-by: Stephen Boyd --- drivers/phy/qualcomm/phy-qcom-qmp.c | 113 ++-- 1 file changed, 56 insertions(+), 57 d

[PATCH v3 05/10] phy: qcom-qmp: Get dp_com I/O resource by index

2020-09-09 Thread Stephen Boyd
n Andersson Cc: Manu Gautam Cc: Sandeep Maheswaram Cc: Douglas Anderson Cc: Sean Paul Cc: Jonathan Marek Cc: Dmitry Baryshkov Cc: Rob Clark Signed-off-by: Stephen Boyd --- drivers/phy/qualcomm/phy-qcom-qmp.c | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/drive

[PATCH v3 10/10] drm/msm/dp: Use qmp phy for DP PLL and PHY

2020-09-09 Thread Stephen Boyd
: Bjorn Andersson Cc: Manu Gautam Cc: Sandeep Maheswaram Cc: Douglas Anderson Cc: Sean Paul Cc: Jonathan Marek Cc: Dmitry Baryshkov Cc: Rob Clark Signed-off-by: Stephen Boyd --- drivers/gpu/drm/msm/Makefile| 4 +- drivers/gpu/drm/msm/dp/dp_aux.c | 7 +- drivers/gpu

[PATCH v3 06/10] phy: qcom-qmp: Use devm_platform_ioremap_resource() to simplify

2020-09-09 Thread Stephen Boyd
eswaram Cc: Douglas Anderson Cc: Sean Paul Cc: Jonathan Marek Cc: Dmitry Baryshkov Cc: Rob Clark Signed-off-by: Stephen Boyd --- drivers/phy/qualcomm/phy-qcom-qmp.c | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/drivers/phy/qualcomm/phy-qcom-qmp.c b/drivers/p

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

2020-09-09 Thread Stephen Boyd
PHY enable sequence. This code is based on a submission of this phy and PLL in the drm subsystem. Cc: Jeykumar Sankaran Cc: Chandan Uddaraju Cc: Vara Reddy Cc: Tanmay Shah Cc: Bjorn Andersson Cc: Manu Gautam Cc: Sandeep Maheswaram Cc: Douglas Anderson Cc: Sean Paul Cc: Stephen Boyd Cc: Jona

[PATCH v2] platform/chrome: Don't populate lightbar device if it isn't there

2020-09-09 Thread Stephen Boyd
Roeck Cc: Lee Jones Signed-off-by: Stephen Boyd --- Changes from v1: * Rebased on linux-next patches to this file drivers/mfd/cros_ec_dev.c | 16 ++- drivers/platform/chrome/cros_ec_lightbar.c | 102 ++-- drivers/platform/chrome/cros_ec_proto.c |

Re: [PATCH] platform/chrome: Don't populate lightbar device if it isn't there

2020-09-09 Thread Stephen Boyd
Quoting Guenter Roeck (2020-09-09 13:48:41) > On Wed, Sep 9, 2020 at 1:26 PM Stephen Boyd wrote: > > -static int get_lightbar_version(struct cros_ec_dev *ec, > > - uint32_t *ver_ptr, uint32_t *flg_ptr) > > -{ > > - struc

[PATCH] platform/chrome: Don't populate lightbar device if it isn't there

2020-09-09 Thread Stephen Boyd
Roeck Cc: Lee Jones Signed-off-by: Stephen Boyd --- drivers/mfd/cros_ec_dev.c | 16 +++- drivers/platform/chrome/cros_ec_lightbar.c | 100 ++-- drivers/platform/chrome/cros_ec_proto.c | 82 include/linux/platform_data/cros_ec_proto.h | 4

[PATCH] docs: stable-ABI: Document /sys/kernel/notes

2020-09-08 Thread Stephen Boyd
le and not testing material. Signed-off-by: Stephen Boyd --- Documentation/ABI/stable/sysfs-kernel-notes | 5 + 1 file changed, 5 insertions(+) create mode 100644 Documentation/ABI/stable/sysfs-kernel-notes diff --git a/Documentation/ABI/stable/sysfs-kernel-notes b/Documentation/ABI/st

Re: [PATCH] dt-bindings: iio: sx9310: Add various settings as DT properties

2020-09-08 Thread Stephen Boyd
Quoting Jonathan Cameron (2020-09-06 07:02:47) > On Thu, 3 Sep 2020 15:18:28 -0700 > Stephen Boyd wrote: > > > We need to set various bits in the hardware registers for this device to > > operate properly depending on how it is installed. Add a handful of DT > > pr

[PATCH] platform/chrome: cros_ec_debugfs: Support pd_info v2 format

2020-09-08 Thread Stephen Boyd
shant Malani Cc: Guenter Roeck Signed-off-by: Stephen Boyd --- Should we move read_buf to the heap? drivers/platform/chrome/cros_ec_debugfs.c | 40 +-- 1 file changed, 30 insertions(+), 10 deletions(-) diff --git a/drivers/platform/chrome/cros_ec_debugfs.c b/drivers/pla

Re: [PATCH] clk: Make kerneldoc consistent

2020-09-08 Thread Stephen Boyd
Quoting Thierry Reding (2020-08-27 08:28:27) > From: Thierry Reding > > The kerneldoc comment for of_parse_clkspec() mentions in one place that > the value of the index parameter dictates how name is used, whereas in > reality it's the name parameter that dictates whether or not the index > param

Re: [PATCH v1 0/3] Add Camera clock controller driver for SC7180

2020-09-08 Thread Stephen Boyd
Quoting Taniya Das (2020-09-08 10:07:25) > [v1] > * Add support for Agera PLL which is used in the camera clock controller. > > * Add driver support for camera clock controller for SC7180 and also >update device tree bindings for the various clocks supported in the >clock controller. I

Re: [PATCH V3] i2c: i2c-qcom-geni: Add shutdown callback for i2c

2020-09-08 Thread Stephen Boyd
Why is dri-devel on here? And linaro-mm-sig? Quoting Roja Rani Yarubandi (2020-09-07 06:07:31) > diff --git a/drivers/i2c/busses/i2c-qcom-geni.c > b/drivers/i2c/busses/i2c-qcom-geni.c > index dead5db3315a..b3609760909f 100644 > --- a/drivers/i2c/busses/i2c-qcom-geni.c > +++ b/drivers/i2c/busses/i

Re: [PATCH v5] drm/msm/dp: Add DP compliance tests on Snapdragon Chipsets

2020-09-08 Thread Stephen Boyd
Quoting Kuogee Hsieh (2020-09-04 12:54:39) > add event thread to execute events serially from event queue. Also > timeout mode is supported which allow an event be deferred to be > executed at later time. Both link and phy compliant tests had been > done successfully. > > Changes in v2: > - Fix p

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

2020-09-08 Thread Stephen Boyd
Quoting Jonathan Marek (2020-09-03 16:26:39) > On 9/2/20 7:02 PM, Stephen Boyd wrote: > > > +static int qcom_qmp_phy_configure_dp_phy(struct qmp_phy *qphy) > > +{ [...] > > + writel(0x05, qphy->pcs + QSERDES_V3_DP_PHY_CFG); > > + writel(0x01,

Re: [PATCH v2 08/10] phy: qcom-qmp: Add support for sc7180 DP phy

2020-09-08 Thread Stephen Boyd
Quoting Jonathan Marek (2020-09-03 16:29:43) > On 9/2/20 7:02 PM, Stephen Boyd wrote: > > ... > > > +static const struct qmp_phy_cfg sc7180_dpphy_cfg = { > > + .type = PHY_TYPE_DP, > > + .nlanes =

Re: [PATCH 2/2] venus: core: vote for video-mem icc path and change avg, peak bw

2020-09-08 Thread Stephen Boyd
Quoting Mansur Alisha Shaik (2020-09-07 20:44:38) > Currently we are voting for venus0-ebi path during buffer processing > with an average bandwidth of all the instances and unvoting during > session release. > > While video streaming when we try to do XO-SD using the command > "echo mem > /sys/po

Re: [PATCH 1/2] venus: core: change clk enable and disable order in resume and suspend

2020-09-08 Thread Stephen Boyd
Quoting Mansur Alisha Shaik (2020-09-07 20:44:05) > Currently video driver is voting after clk enable and un voting > before clk disable. Basically we should vote before clk enable > and un vote after clk disable. > > Corrected this by changing the order of clk enable and clk disable. > > Signed-

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

2020-09-03 Thread Stephen Boyd
Quoting Dmitry Baryshkov (2020-09-03 05:37:02) > 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

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

2020-09-03 Thread Stephen Boyd
Quoting Jonathan Marek (2020-09-03 13:43:10) > On 9/2/20 7:02 PM, Stephen Boyd wrote: > > > > This code is based on a submission of this phy and PLL in the drm > > subsystem. > > I updated my upstream-based sm8150/sm8250 displayport stack [1] to use > these patches

[PATCH] dt-bindings: iio: sx9310: Add various settings as DT properties

2020-09-03 Thread Stephen Boyd
Cc: Gwendal Grignou Cc: Evan Green Signed-off-by: Stephen Boyd --- I haven't written any code to handle these properties yet. I'd rather do that once the binding patch is reviewed. Patch based on iio.git testing branch. .../iio/proximity/semtech,sx9310.yaml

[PATCH v2 03/10] phy: qcom-qmp: Remove 'initialized' in favor of 'init_count'

2020-09-02 Thread Stephen Boyd
iewed-by: Bjorn Andersson Cc: Manu Gautam Cc: Sandeep Maheswaram Cc: Douglas Anderson Cc: Sean Paul Cc: Jonathan Marek Cc: Dmitry Baryshkov Cc: Rob Clark Signed-off-by: Stephen Boyd --- drivers/phy/qualcomm/phy-qcom-qmp.c | 9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) diff

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

2020-09-02 Thread Stephen Boyd
PHY enable sequence. This code is based on a submission of this phy and PLL in the drm subsystem. Cc: Jeykumar Sankaran Cc: Chandan Uddaraju Cc: Vara Reddy Cc: Tanmay Shah Cc: Bjorn Andersson Cc: Manu Gautam Cc: Sandeep Maheswaram Cc: Douglas Anderson Cc: Sean Paul Cc: Stephen Boyd Cc: Jona

[PATCH v2 02/10] phy: qcom-qmp: Move phy mode into struct qmp_phy

2020-09-02 Thread Stephen Boyd
mitry Baryshkov Cc: Rob Clark Signed-off-by: Stephen Boyd --- drivers/phy/qualcomm/phy-qcom-qmp.c | 15 +++ 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/drivers/phy/qualcomm/phy-qcom-qmp.c b/drivers/phy/qualcomm/phy-qcom-qmp.c index 562053ce9455..7ee9e966dc6d 100644 --- a

[PATCH v2 08/10] phy: qcom-qmp: Add support for sc7180 DP phy

2020-09-02 Thread Stephen Boyd
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 | 123 1 file changed, 123 insertions(+) diff --git a/drivers/phy/qualcomm/phy-qcom-qmp.c b/drivers

[PATCH v2 04/10] phy: qcom-qmp: Move 'serdes' and 'cfg' into 'struct qcom_phy'

2020-09-02 Thread Stephen Boyd
Cc: Bjorn Andersson Cc: Manu Gautam Cc: Sandeep Maheswaram Cc: Douglas Anderson Cc: Sean Paul Cc: Jonathan Marek Cc: Dmitry Baryshkov Cc: Rob Clark Signed-off-by: Stephen Boyd --- drivers/phy/qualcomm/phy-qcom-qmp.c | 113 ++-- 1 file changed, 56 insertions(+), 57 d

[PATCH v2 06/10] phy: qcom-qmp: Use devm_platform_ioremap_resource() to simplify

2020-09-02 Thread Stephen Boyd
eswaram Cc: Douglas Anderson Cc: Sean Paul Cc: Jonathan Marek Cc: Dmitry Baryshkov Cc: Rob Clark Signed-off-by: Stephen Boyd --- drivers/phy/qualcomm/phy-qcom-qmp.c | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/drivers/phy/qualcomm/phy-qcom-qmp.c b/drivers/p

[PATCH v2 05/10] phy: qcom-qmp: Get dp_com I/O resource by index

2020-09-02 Thread Stephen Boyd
n Andersson Cc: Manu Gautam Cc: Sandeep Maheswaram Cc: Douglas Anderson Cc: Sean Paul Cc: Jonathan Marek Cc: Dmitry Baryshkov Cc: Rob Clark Signed-off-by: Stephen Boyd --- drivers/phy/qualcomm/phy-qcom-qmp.c | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/drive

[PATCH v2 09/10] clk: qcom: dispcc: Update DP clk ops for phy design

2020-09-02 Thread Stephen Boyd
: Sandeep Maheswaram Cc: Douglas Anderson Cc: Sean Paul Cc: Stephen Boyd Cc: Jonathan Marek Cc: Dmitry Baryshkov Cc: Rob Clark Signed-off-by: Stephen Boyd --- drivers/clk/qcom/clk-rcg2.c | 19 +-- drivers/clk/qcom/dispcc-sc7180.c | 3 --- 2 files changed, 13 insertions

[PATCH v2 01/10] dt-bindings: phy: qcom,qmp-usb3-dp: Add DP phy information

2020-09-02 Thread Stephen Boyd
d by the kernel driver. Cc: Jeykumar Sankaran Cc: Chandan Uddaraju Cc: Vara Reddy Cc: Tanmay Shah Cc: Bjorn Andersson Cc: Manu Gautam Cc: Sandeep Maheswaram Cc: Douglas Anderson Cc: Sean Paul Cc: Jonathan Marek Cc: Dmitry Baryshkov Cc: Cc: Rob Herring Cc: Rob Clark Signed-off-b

[PATCH v2 10/10] drm/msm/dp: Use qmp phy for DP PLL and PHY

2020-09-02 Thread Stephen Boyd
: Bjorn Andersson Cc: Manu Gautam Cc: Sandeep Maheswaram Cc: Douglas Anderson Cc: Sean Paul Cc: Jonathan Marek Cc: Dmitry Baryshkov Cc: Rob Clark Signed-off-by: Stephen Boyd --- drivers/gpu/drm/msm/Makefile| 4 +- drivers/gpu/drm/msm/dp/dp_aux.c | 7 +- drivers/gpu

[PATCH v2 00/10] Support qcom USB3+DP combo phy (or type-c phy)

2020-09-02 Thread Stephen Boyd
RFC (https://lore.kernel.org/r/20200611091919.108018-1-swb...@chromium.org) * New patch for DT binding * Rebased onto latest DP patch series TODO: * Clean up phy power on sequence a bit so that it is done in one place instead of two * Allow link rate to change after phy is powered on?

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

2020-09-01 Thread Stephen Boyd
Quoting Dmitry Baryshkov (2020-09-01 06:36:34) > On 26/08/2020 05:47, Stephen Boyd wrote: > > diff --git a/drivers/phy/qualcomm/phy-qcom-qmp.c > > b/drivers/phy/qualcomm/phy-qcom-qmp.c > > index 76d7a9e80f04..dd77c7dfa310 100644 > > --- a/drivers/phy/qualcomm/phy-qcom-

[PATCH 2/2] drm/msm: Drop debug print in _dpu_crtc_setup_lm_bounds()

2020-09-01 Thread Stephen Boyd
Sean Paul Fixes: 25fdd5933e4c ("drm/msm: Add SDM845 DPU support") Signed-off-by: Stephen Boyd --- drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c ind

[PATCH 1/2] drm/msm: Avoid div-by-zero in dpu_crtc_atomic_check()

2020-09-01 Thread Stephen Boyd
Sankaran Cc: Jordan Crouse Cc: Sean Paul Fixes: 25fdd5933e4c ("drm/msm: Add SDM845 DPU support") Signed-off-by: Stephen Boyd --- drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c

[PATCH 0/2] A couple drm/msm fixes

2020-09-01 Thread Stephen Boyd
Two small fixes for an UBSAN warning and to make debugging a little easier. Stephen Boyd (2): drm/msm: Avoid div-by-zero in dpu_crtc_atomic_check() drm/msm: Drop debug print in _dpu_crtc_setup_lm_bounds() drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c | 10 +- 1 file changed, 5 insertions

Re: [PATCH v2] iio: sx9310: Prefer async probe

2020-09-01 Thread Stephen Boyd
waiting in the polling loop in sx9310_init_compensation() waiting for > the hardware to indicate that it's done. > > There's no reason to block probe of all other devices on our probe. > Turn on async probe. > > Signed-off-by: Douglas Anderson > --- Reviewed-by: Stephen Boyd

Re: [PATCH v3 3/5] ASoC: qcom: Add support for lpass hdmi driver

2020-09-01 Thread Stephen Boyd
Quoting Srinivasa Rao Mandadapu (2020-08-30 23:39:22) > diff --git a/sound/soc/qcom/lpass-hdmi.c b/sound/soc/qcom/lpass-hdmi.c > new file mode 100644 > index 000..7e18113 > --- /dev/null > +++ b/sound/soc/qcom/lpass-hdmi.c > @@ -0,0 +1,684 @@ > +// SPDX-License-Identifier: GPL-2.0-only [...] >

Re: [PATCH v3 4/5] ASoC: qcom: Add support for audio over DP

2020-09-01 Thread Stephen Boyd
Quoting Srinivasa Rao Mandadapu (2020-08-30 23:39:23) > diff --git a/sound/soc/qcom/lpass-sc7180.c b/sound/soc/qcom/lpass-sc7180.c > index 167bf2c..cea7ae7 100644 > --- a/sound/soc/qcom/lpass-sc7180.c > +++ b/sound/soc/qcom/lpass-sc7180.c > @@ -190,15 +232,92 @@ static struct lpass_variant sc7180_d

Re: [PATCH] iio: sx9310: Prefer async probe

2020-09-01 Thread Stephen Boyd
Quoting Doug Anderson (2020-08-31 11:59:37) > On Sat, Aug 29, 2020 at 10:18 AM Jonathan Cameron wrote: > > Agreed. However, I'd like a comment next to the place we turn it on > > saying what delays we are trying to mitigate by enabling it in this > > driver. > > OK, I used function graph to get a

Re: [PATCH v3] arm64: dts: qcom: sc7180-trogdor: add initial trogdor and lazor dt

2020-08-31 Thread Stephen Boyd
n these devices. > > I've tried to add cc tags for all the original authors. > > Cc: Stephen Boyd > Cc: Douglas Anderson > Cc: Matthias Kaehlcke > Cc: Atul Dhudase > Cc: Venkata Lakshmi Narayana Gubba > Cc: Evan Green > Cc: Cheng-Yi Chiang > Cc: Ajit Pandey

Re: [PATCH v2 2/2] soc: qcom: rpmh: Allow RPMH driver to be loaded as a module

2020-08-26 Thread Stephen Boyd
age, send after removing _rcuidle trace] > Signed-off-by: Maulik Shah > --- Reviewed-by: Stephen Boyd

Re: [PATCH v1 5/9] phy: qcom-qmp: Get dp_com I/O resource by index

2020-08-26 Thread Stephen Boyd
Quoting Bjorn Andersson (2020-08-25 21:36:16) > On Tue 25 Aug 21:47 CDT 2020, Stephen Boyd wrote: > > > The dp_com resource is always at index 1 according to the dts files in > > the kernel. Get this resource by index so that we don't need to make > > future additio

[PATCH v1 0/9] Support qcom USB3+DP combo phy (or type-c phy)

2020-08-25 Thread Stephen Boyd
o fixed this aux reset behavior by removing the bit that resets the aux phy. I believe that the aux configuration is broken in the DP driver but I fixed it now I think. Changes from RFC (https://lore.kernel.org/r/20200611091919.108018-1-swb...@chromium.org) * New patch for DT binding * Rebas

[PATCH v1 5/9] phy: qcom-qmp: Get dp_com I/O resource by index

2020-08-25 Thread Stephen Boyd
n Andersson Cc: Manu Gautam Cc: Sandeep Maheswaram Cc: Douglas Anderson Cc: Sean Paul Cc: Jonathan Marek Cc: Dmitry Baryshkov Cc: Rob Clark Signed-off-by: Stephen Boyd --- drivers/phy/qualcomm/phy-qcom-qmp.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/phy/qu

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

2020-08-25 Thread Stephen Boyd
PHY enable sequence. This code is based on a submission of this phy and PLL in the drm subsystem. Cc: Jeykumar Sankaran Cc: Chandan Uddaraju Cc: Vara Reddy Cc: Tanmay Shah Cc: Bjorn Andersson Cc: Manu Gautam Cc: Sandeep Maheswaram Cc: Douglas Anderson Cc: Sean Paul Cc: Stephen Boyd Cc: Jona

[PATCH v1 7/9] phy: qcom-qmp: Add support for sc7180 DP phy

2020-08-25 Thread Stephen Boyd
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 | 47 + 1 file changed, 47 insertions(+) diff --git a/drivers/phy/qualcomm/phy-qcom-qmp.c b/drivers

[PATCH v1 2/9] phy: qcom-qmp: Move phy mode into struct qmp_phy

2020-08-25 Thread Stephen Boyd
Cc: Rob Clark Signed-off-by: Stephen Boyd --- drivers/phy/qualcomm/phy-qcom-qmp.c | 15 +++ 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/drivers/phy/qualcomm/phy-qcom-qmp.c b/drivers/phy/qualcomm/phy-qcom-qmp.c index 562053ce9455..7ee9e966dc6d 100644 --- a/drive

[PATCH v1 3/9] phy: qcom-qmp: Remove 'initialized' in favor of 'init_count'

2020-08-25 Thread Stephen Boyd
Bjorn Andersson Cc: Manu Gautam Cc: Sandeep Maheswaram Cc: Douglas Anderson Cc: Sean Paul Cc: Jonathan Marek Cc: Dmitry Baryshkov Cc: Rob Clark Signed-off-by: Stephen Boyd --- drivers/phy/qualcomm/phy-qcom-qmp.c | 9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) diff --gi

[PATCH v1 4/9] phy: qcom-qmp: Move 'serdes' and 'cfg' into 'struct qcom_phy'

2020-08-25 Thread Stephen Boyd
Cc: Bjorn Andersson Cc: Manu Gautam Cc: Sandeep Maheswaram Cc: Douglas Anderson Cc: Sean Paul Cc: Jonathan Marek Cc: Dmitry Baryshkov Cc: Rob Clark Signed-off-by: Stephen Boyd --- drivers/phy/qualcomm/phy-qcom-qmp.c | 113 ++-- 1 file changed, 56 insertions(+), 57 d

[PATCH v1 8/9] clk: qcom: dispcc: Update DP clk ops for phy design

2020-08-25 Thread Stephen Boyd
: Sandeep Maheswaram Cc: Douglas Anderson Cc: Sean Paul Cc: Stephen Boyd Cc: Jonathan Marek Cc: Dmitry Baryshkov Cc: Rob Clark Signed-off-by: Stephen Boyd --- drivers/clk/qcom/clk-rcg2.c | 19 +-- drivers/clk/qcom/dispcc-sc7180.c | 3 --- 2 files changed, 13 insertions

[PATCH v1 1/9] dt-bindings: phy: qcom,qmp-usb3-dp: Add DP phy information

2020-08-25 Thread Stephen Boyd
d by the kernel driver. Cc: Jeykumar Sankaran Cc: Chandan Uddaraju Cc: Vara Reddy Cc: Tanmay Shah Cc: Bjorn Andersson Cc: Manu Gautam Cc: Sandeep Maheswaram Cc: Douglas Anderson Cc: Sean Paul Cc: Jonathan Marek Cc: Dmitry Baryshkov Cc: Cc: Rob Herring Cc: Rob Clark Signed-off-b

[PATCH v1 9/9] drm/msm/dp: Use qmp phy for DP PLL and PHY

2020-08-25 Thread Stephen Boyd
: Bjorn Andersson Cc: Manu Gautam Cc: Sandeep Maheswaram Cc: Douglas Anderson Cc: Sean Paul Cc: Jonathan Marek Cc: Dmitry Baryshkov Cc: Rob Clark Signed-off-by: Stephen Boyd --- drivers/gpu/drm/msm/Makefile| 4 +- drivers/gpu/drm/msm/dp/dp_aux.c | 7 +- drivers/gpu

Re: [PATCH v5 4/6] pinctrl: qcom: Set IRQCHIP_ENABLE_WAKEUP_ON_SUSPEND flag

2020-08-25 Thread Stephen Boyd
Quoting Maulik Shah (2020-08-22 09:16:59) > Set IRQCHIP_ENABLE_WAKEUP_ON_SUSPEND flag to enable/unmask the > wakeirqs during suspend entry. > > Signed-off-by: Maulik Shah > --- Reviewed-by: Stephen Boyd maybe just squash this with the other patch in this area?

Re: [PATCH v5 5/6] irqchip: qcom-pdc: Set IRQCHIP_ENABLE_WAKEUP_ON_SUSPEND flag

2020-08-25 Thread Stephen Boyd
Quoting Maulik Shah (2020-08-22 09:17:00) > Set IRQCHIP_ENABLE_WAKEUP_ON_SUSPEND flag to enable/unmask the > wakeirqs during suspend entry. > > Signed-off-by: Maulik Shah > --- Reviewed-by: Stephen Boyd

Re: [PATCH v5 6/6] irqchip: qcom-pdc: Reset PDC interrupts during init

2020-08-25 Thread Stephen Boyd
use anymore if the kernel has been kexeced and replaced this one? > > Suggested-by: Stephen Boyd > Signed-off-by: Maulik Shah > --- Reviewed-by: Stephen Boyd

Re: [PATCH v5 3/6] genirq/PM: Introduce IRQCHIP_ENABLE_WAKEUP_ON_SUSPEND flag

2020-08-25 Thread Stephen Boyd
Quoting Maulik Shah (2020-08-22 09:16:58) > diff --git a/kernel/irq/pm.c b/kernel/irq/pm.c > index c6c7e18..2cc800b 100644 > --- a/kernel/irq/pm.c > +++ b/kernel/irq/pm.c > @@ -69,12 +69,17 @@ void irq_pm_remove_action(struct irq_desc *desc, struct > irqaction *action) > > static bool suspend_d

Re: [PATCH] arm64: dts: qcom: sc7180-trogdor: add initial trogdor and lazor dt

2020-08-25 Thread Stephen Boyd
Quoting Rob Clark (2020-08-24 17:33:39) > diff --git a/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi > b/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi > new file mode 100644 > index ..b04987ab6c22 > --- /dev/null > +++ b/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi > @@ -0,0 +1,1364 @@ >

Re: [PATCH v2 1/2] PM / Domains: Add GENPD_FLAG_NO_SUSPEND/RESUME flags

2020-08-25 Thread Stephen Boyd
Quoting Bjorn Andersson (2020-08-24 09:42:12) > On Fri 21 Aug 14:41 PDT 2020, Stephen Boyd wrote: > > > Quoting Sibi Sankar (2020-08-21 13:49:20) > > > Add GENPD_FLAG_NO_SUSPEND/RESUME flags to instruct genpd to keep the > > > status of the PM domain unaltered duri

Re: [PATCH] alarmtimer: convert comma to semicolon

2020-08-24 Thread Stephen Boyd
Quoting Xu Wang (2020-08-17 23:26:51) > Replace a comma between expression statements by a semicolon. > > Signed-off-by: Xu Wang > --- Reviewed-by: Stephen Boyd

Re: [PATCH] drm/msm: enable vblank during atomic commits

2020-08-21 Thread Stephen Boyd
ned-off-by: Rob Clark > --- Tested-by: Stephen Boyd

Re: [PATCH v2 1/2] PM / Domains: Add GENPD_FLAG_NO_SUSPEND/RESUME flags

2020-08-21 Thread Stephen Boyd
Quoting Sibi Sankar (2020-08-21 13:49:20) > Add GENPD_FLAG_NO_SUSPEND/RESUME flags to instruct genpd to keep the > status of the PM domain unaltered during suspend/resume respectively. > The flags are aimed at power domains coupled to co-processors which > enter low-power modes independent to that

Re: [PATCH V2 2/2] i2c: i2c-qcom-geni: Add shutdown callback for i2c

2020-08-20 Thread Stephen Boyd
Quoting Roja Rani Yarubandi (2020-08-20 03:35:22) > If the hardware is still accessing memory after SMMU translation > is disabled (as part of smmu shutdown callback), then the > IOVAs (I/O virtual address) which it was using will go on the bus > as the physical addresses which will result in unkno

Re: [PATCH V2 1/2] i2c: i2c-qcom-geni: Store DMA mapping data in geni_i2c_dev struct

2020-08-20 Thread Stephen Boyd
Quoting Roja Rani Yarubandi (2020-08-20 03:35:21) > Store DMA mapping data in geni_i2c_dev struct to enhance DMA mapping > data scope. For example during shutdown callback to unmap DMA mapping, > this stored DMA mapping data can be used to call geni_se_tx_dma_unprep > and geni_se_rx_dma_unprep func

Re: [PATCH 2/2] Revert "Revert "soc: qcom: rpmh: Allow RPMH driver to be loaded as a module""

2020-08-20 Thread Stephen Boyd
Quoting Maulik Shah (2020-08-19 03:07:50) > The _rcuidle tracepoints are removed from RPMH driver which prevented > to compile it as module. Bring back the change to make it module. > > This reverts commit 1f7a3eb785e4a4e196729cd3d5ec97bd5f9f2940. > > Cc: John Stultz > Cc: Stephen Rothwell > Cc

Re: [PATCH 1/2] Revert "drivers: qcom: rpmh-rsc: Use rcuidle tracepoints for rpmh"

2020-08-19 Thread Stephen Boyd
gt; This reverts commit efde2659b0fe835732047357b2902cca14f054d9. > > Cc: Sai Prakash Ranjan > Cc: John Stultz > Cc: Stephen Rothwell > Signed-off-by: Maulik Shah > --- Otherwise Reviewed-by: Stephen Boyd

Re: [PATCH 2/2] i2c: i2c-qcom-geni: Add shutdown callback for i2c

2020-08-18 Thread Stephen Boyd
Quoting Roja Rani Yarubandi (2020-08-14 02:55:40) > If the hardware is still accessing memory after SMMU translation > is disabled(as part of smmu shutdown callback), then the Put a space before ( > IOVAs(I/O virtual address) which it was using will go on the bus Put a space before ( > as the p

Re: [PATCH 1/2] i2c: i2c-qcom-geni: Add tx_dma, rx_dma and xfer_len to geni_i2c_dev struct

2020-08-18 Thread Stephen Boyd
Quoting Roja Rani Yarubandi (2020-08-14 02:55:39) > Adding tx_dma, rx_dma and xfer length in geni_i2c_dev struct to > store DMA mapping data to enhance its scope. For example during > shutdown callback to unmap DMA mapping, these new struct members > can be used as part of geni_se_tx_dma_unprep and

Re: [clk] a2499eff4b: BUG:kernel_NULL_pointer_dereference,address

2020-08-18 Thread Stephen Boyd
Quoting kernel test robot (2020-08-11 01:49:44) > Greeting, > > FYI, we noticed the following commit (built with gcc-9): > > commit: a2499eff4b30a85d56e4466e6ca4746c72a347c6 ("[PATCH v2] clk: samsung: > Keep top BPLL mux on Exynos542x enabled") > url: > https://github.com/0day-ci/linux/commits/

<    7   8   9   10   11   12   13   14   15   16   >