[PATCH v2 0/2] rockchip: emmc: rk3399 add vendor prefix

2020-12-14 Thread Chris Ruehl
lay dt property") Signed-off-by: Chris Ruehl --- v2 drop changes for ABI property driver-impedence-ohm no modification needed for dtsi files add commits follow up in commit messages Documentation/devicetree/bindings/phy/rockchip-emmc-phy.txt | 10 +- drivers/phy/rockchip

[PATCH v2 1/2] devicetree: phy: rockchip-emmc optional add vendor prefix

2020-12-14 Thread Chris Ruehl
Update the documentation and add the vendor prefix to the optional properties referred in vendor-prefixes.yaml. Follow up with commit 8b5c2b45b8f0a ("phy: rockchip: set pulldown for strobe line in dts") commit a8cef928276bb ("phy: rockchip-emmc: output tap delay dt property")

[PATCH v2 2/2] phy: rockchip: emmc, add vendor prefix to dts properties

2020-12-14 Thread Chris Ruehl
put tap delay dt property") Signed-off-by: Chris Ruehl --- drivers/phy/rockchip/phy-rockchip-emmc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/phy/rockchip/phy-rockchip-emmc.c b/drivers/phy/rockchip/phy-rockchip-emmc.c index 1e424f263e7a..860b2fbbb092 100

[PATCH v1 4/4] devicetree: dtsi: rk3399-puma.dtsi, add "rockchip," vendor prefix

2020-12-13 Thread Chris Ruehl
Update rk3399-puma.dtsi with the vendor prefix referred in vendor-prefixes.yaml. Optional property: rockchip,drive-impedance-ohm Signed-off-by: Chris Ruehl --- arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts

[PATCH v1 2/4] phy: rockchip: emmc, add vendor prefix to optional dts properties

2020-12-13 Thread Chris Ruehl
Update the implementation add "rockchip," vendor prefix for the optional dts properties. Prefix referred from vendor-prefixes.yaml Signed-off-by: Chris Ruehl --- drivers/phy/rockchip/phy-rockchip-emmc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/d

[PATCH v1 3/4] devicetree: dtsi: rk3399.dtsi, add "rockchip," vendor prefix

2020-12-13 Thread Chris Ruehl
Update rk3399.dtsi with the vendor prefix referred in vendor-prefixes.yaml. Optional property: rockchip,drive-impedance-ohm Signed-off-by: Chris Ruehl --- arch/arm64/boot/dts/rockchip/rk3399.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/rockchip

[PATCH v1 0/4] rockchip: emmc: rk3399 add vendor prefix

2020-12-13 Thread Chris Ruehl
This patchset follow up with commit 8b5c2b45b8f0a and a8cef928276bb Following the reference in vendor-prefixes.yaml, update implementation, devicetree binding dtsi and documentation for the phy-rockchip-emmc. Signed-off-by: Chris Ruehl --- Documentation/devicetree/bindings/phy/rockchip-emmc

[PATCH v1 1/4] devicetree: phy: rockchip-emmc optional add vendor prefix

2020-12-13 Thread Chris Ruehl
Update the documentation and add the vendor prefix to the optional properties referred in vendor-prefixes.yaml. Signed-off-by: Chris Ruehl --- .../bindings/phy/rockchip-emmc-phy.txt| 19 ++- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/Documentation

Re: [PATCH 0/3] rockchip: emmc: rk3399 add vendor prefix

2020-12-13 Thread Chris Ruehl
On 14/12/2020 10:47 am, Chris Ruehl wrote: This patchset follow up with commit Following the reference in vendor-prefixes.yaml, update implementation, devicetree binding dtsi and documentation for the phy-rockchip-emmc. Signed-off-by: Chris Ruehl --- Documentation/devicetree/bindings/phy

[PATCH 3/3] devicetree: dtsi: rk3399-puma.dtsi, add "rockchip," vendor prefix

2020-12-13 Thread Chris Ruehl
Update rk3399-puma.dtsi with the vendor prefix referred in vendor-prefixes.yaml. Optional property: rockchip,drive-impedance-ohm Signed-off-by: Chris Ruehl --- arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts

[PATCH 2/3] devicetree: dtsi: rk3399.dtsi, add "rockchip," vendor prefix

2020-12-13 Thread Chris Ruehl
Update rk3399.dtsi with the vendor prefix referred in vendor-prefixes.yaml. Optional property: rockchip,drive-impedance-ohm Signed-off-by: Chris Ruehl --- arch/arm64/boot/dts/rockchip/rk3399.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/rockchip

[PATCH 0/3] rockchip: emmc: rk3399 add vendor prefix

2020-12-13 Thread Chris Ruehl
This patchset follow up with commit Following the reference in vendor-prefixes.yaml, update implementation, devicetree binding dtsi and documentation for the phy-rockchip-emmc. Signed-off-by: Chris Ruehl --- Documentation/devicetree/bindings/phy/rockchip-emmc-phy.txt | 19

[PATCH 1/3] phy: rockchip: emmc, add vendor prefix to optional dts properties

2020-12-13 Thread Chris Ruehl
Update the implementation add "rockchip," vendor prefix for the optional dts properties. Prefix referred from vendor-prefixes.yaml Signed-off-by: Chris Ruehl --- drivers/phy/rockchip/phy-rockchip-emmc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/d

Re: [PATCH 0/6] mmc: core: hs400(es) fix probe/init

2020-12-11 Thread Chris Ruehl
No Comments ? Chris On 8/12/2020 2:18 pm, Chris Ruehl wrote: Fix the probe if hs400-1_8v / hs400-1_2v is used in the dts and mmc-hs400-enhanced-strobe isn't set. That was the first attemped, but it turns out that some more cleanups and simplifications can be done. * move mmc_select_hs400

[PATCH v3] phy: rockchip-emmc: emmc_phy_init() always return 0

2020-12-10 Thread Chris Ruehl
based on card clock Signed-off-by: Chris Ruehl Reviewed-by: Douglas Anderson --- v3 - IS_ERROR() already return false if rk_phy->emmcclk == NULL add Reviewed tag v2 - use clk_get_optional drivers/phy/rockchip/phy-rockchip-emmc.c | 8 +--- 1 file changed, 5 insertions(+), 3 deleti

[PATCH v2] phy: rockchip-emmc: emmc_phy_init() always return 0

2020-12-08 Thread Chris Ruehl
based on card clock Signed-off-by: Chris Ruehl --- drivers/phy/rockchip/phy-rockchip-emmc.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/drivers/phy/rockchip/phy-rockchip-emmc.c b/drivers/phy/rockchip/phy-rockchip-emmc.c index 48e2d75b1004..a23034416481 100644

[PATCH 5/6] mmc: core: simplify hs200 tuning

2020-12-07 Thread Chris Ruehl
Since the host->ops->prepare_hs400_tuning had been moved to mmc_select_hs400() the tuning for hs200 can simplify and the function mmc_hs200_tuning() can be removed. Signed-off-by: Chris Ruehl --- drivers/mmc/core/mmc.c | 22 +- 1 file changed, 1 insertion(+), 21 del

[PATCH 3/6] mmc: core: add enhanced strobe to mmc_select_hs400()

2020-12-07 Thread Chris Ruehl
and can be removed. Signed-off-by: Chris Ruehl --- drivers/mmc/core/mmc.c | 20 +++- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/drivers/mmc/core/mmc.c b/drivers/mmc/core/mmc.c index e7b4de3d4f47..84c09d9e0317 100644 --- a/drivers/mmc/core/mmc.c +++ b/drivers/mmc

[PATCH 2/6] mmc: core: make hs400 independent from hs200 init

2020-12-07 Thread Chris Ruehl
ardev (242:0) Tested with rk3399 customized board. Signed-off-by: Chris Ruehl --- drivers/mmc/core/mmc.c | 61 +++--- 1 file changed, 52 insertions(+), 9 deletions(-) diff --git a/drivers/mmc/core/mmc.c b/drivers/mmc/core/mmc.c index 5477786aded8..e7b4de3d4f47 100644

[PATCH 4/6] mmc: core: remove mmc_select_hs400es()

2020-12-07 Thread Chris Ruehl
Enhanced strobe function had been merged in mmc_select_hs400(); mmc_select_hs400es() is obsolate and removed. Signed-off-by: Chris Ruehl --- drivers/mmc/core/mmc.c | 94 -- 1 file changed, 94 deletions(-) diff --git a/drivers/mmc/core/mmc.c b/drivers/mmc

[PATCH 0/6] mmc: core: hs400(es) fix probe/init

2020-12-07 Thread Chris Ruehl
s400() independent and move it out of the hs200. Run hs400 tuning inside mmc_select_hs400(); * merge hs400 with hs400es function * remove mmc_select_hs400es function * remove mmc_hs200_tuning() * cleanup host->caps2 for hs400-1_8(2)v Signed-off-by: Chris Ruehl --- Replace patch set [PATCH 0

[PATCH 1/6] mmc: core: prepare hs400 update, code order

2020-12-07 Thread Chris Ruehl
This patch didn't change functionality just move mmc_select_hs400() and mmc_hs200_to_hs400() between mmc_select_hs400es() and mmc_select_hs200. fix checkpatch --script warings. Signed-off-by: Chris Ruehl --- drivers/mmc/core/mmc.c | 184 - 1 file changed

[PATCH 6/6] mmc: core: with mmc-hs400-1_8(2)v not add MMC_CAP2_HS200* to host->caps2

2020-12-07 Thread Chris Ruehl
When set mmc-hs400-1_8(2)v in dts, hs200 capabilities are not checked in the mmc logic. Thus cleanup and remove MMC_CAP2_HS200_1_8V_SDR / MMC_CAP2_HS200_1_2V_SDR from host->caps2. Signed-off-by: Chris Ruehl --- drivers/mmc/core/host.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deleti

Re: [PATCH 2/3] mmc: core: make hs400 independent from hs200 init

2020-12-07 Thread Chris Ruehl
On 3/12/2020 5:33 pm, Chris Ruehl wrote: Move mmc_select_hs400() out from hs200 init path and make hs400 independent. The patch makes quite some changes and needs to be reviewed carefully. In function mmc_select_timing() call for mmc_select_hs400(). HS400 requires a host bus with of 8bit

Re: [PATCH] phy: rockchip-emmc: emmc_phy_init() always return 0

2020-12-03 Thread Chris Ruehl
Hi, On 2/12/2020 4:36 pm, Chris Ruehl wrote: On 2/12/2020 12:05 am, Doug Anderson wrote: Hi, On Mon, Nov 30, 2020 at 7:10 PM Chris Ruehl wrote: rockchip_emmc_phy_init() return variable is not set with the error value if clk_get() failed. The debug message print 0 on error and the function

[PATCH 3/3] mmc: core: MMC_CAP2_HS200_1_8V_SDR with mmc-hs400-1_8v

2020-12-03 Thread Chris Ruehl
off-by: Chris Ruehl --- drivers/mmc/core/host.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/core/host.c b/drivers/mmc/core/host.c index 96b2ca1f1b06..46fde60a2372 100644 --- a/drivers/mmc/core/host.c +++ b/drivers/mmc/core/host.c @@ -295,9 +295,9 @@ int mmc_of_pa

[PATCH 2/3] mmc: core: make hs400 independent from hs200 init

2020-12-03 Thread Chris Ruehl
ardev (242:0) Tested with rk3399 customized board. Note: We had 20% failure rate in the current production "not boot" or "reboot issues" this patch solved it. Some boards had been cooled down to -20C have boot failures, after apply the patch they pass the QC. Signed-off-by: Chr

[PATCH 0/3] mmc: core: hs400 fix probe errors

2020-12-03 Thread Chris Ruehl
ps2 when mmc-hs400-1_8v or mmc-hs400-1_2v is used in the dts. Signed-off-by: Chris Ruehl ---

[PATCH 1/3] mmc: core: prepare hs400 update, code order

2020-12-03 Thread Chris Ruehl
This patch didn't change functionality just move mmc_select_hs400() and mmc_hs200_to_hs400() between mmc_select_hs400es() and mmc_select_hs200 and fix checkpatch --script warings. Signed-off-by: Chris Ruehl --- drivers/mmc/core/mmc.c | 184 - 1 file

Re: [PATCH] phy: rockchip-emmc: emmc_phy_init() always return 0

2020-12-02 Thread Chris Ruehl
On 2/12/2020 12:05 am, Doug Anderson wrote: Hi, On Mon, Nov 30, 2020 at 7:10 PM Chris Ruehl wrote: rockchip_emmc_phy_init() return variable is not set with the error value if clk_get() failed. The debug message print 0 on error and the function always return 0. Fix it using PTR_ERR

[PATCH 2/2] devicetree: phy: rockchip-emmc add output-tapdelay-select

2020-12-02 Thread Chris Ruehl
Update the rockchip-emmc-phy.txt and add the u32 property 'output-tapdelay-select'. This allow to set the otapdlysec register. Tested with our customized rk3399 board to tune eMMC. Signed-off-by: Chris Ruehl --- Documentation/devicetree/bindings/phy/rockchip-emmc-phy.txt | 3 +++ 1 file

[PATCH 1/2] phy: rockchip-emmc: output tap delay dt property

2020-12-02 Thread Chris Ruehl
default 0x4 applies. Tested with our customized rk3399 to tune the eMMC. Signed-off-by: Chris Ruehl --- drivers/phy/rockchip/phy-rockchip-emmc.c | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/drivers/phy/rockchip/phy-rockchip-emmc.c b/drivers/phy/rockchip/phy

[PATCH 0/2] phy: rockchip: set otapdlysec for in dts

2020-12-02 Thread Chris Ruehl
This patchset add support to set output-tapdelay-selec via dt property 2 files modified: drivers/phy/rockchip/phy-rockchip-emmc.c Documentation/devicetree/bindings/phy/rockchip-emmc-phy.txt Signed-off-by: Chris Ruehl ---

Re: [PATCH] mmc: core: MMC_CAP2_HS200_1_8V_SDR with mmc-hs400-1_8v

2020-12-01 Thread Chris Ruehl
core: add DT bindings for eMMC HS400 1.8/1.2V Signed-off-by: Chris Ruehl Acked-by: Avri Altman -- GTSYS Limited RFID Technology 9/F, Unit E, R07, Kwai Shing Industrial Building Phase 2, 42-46 Tai Lin Pai Road, Kwai Chung, N.T., Hong Kong Tel (852) 9079 9521 Disclaimer: https://www.gtsys.com

[PATCH] phy: rockchip-emmc: emmc_phy_init() always return 0

2020-11-30 Thread Chris Ruehl
rockchip_emmc_phy_init() return variable is not set with the error value if clk_get() failed. The debug message print 0 on error and the function always return 0. Fix it using PTR_ERR(). Fixes: 52c0624a10cce phy: rockchip-emmc: Set phyctrl_frqsel based on card clock Signed-off-by: Chris Ruehl

[PATCH v2] phy: rockchip: set pulldown for strobe line in dts

2020-11-28 Thread Chris Ruehl
This patchset add support to set the strobe line pulldown via dt property 2 files modified: drivers/phy/rockchip/phy-rockchip-emmc.c Documentation/devicetree/bindings/phy/rockchip-emmc-phy.txt Signed-off-by: Chris Ruehl --- v2: - Fix issues show with checkpatch --strict - Add patch to update

[PATCH v2 1/2] phy: rockchip: set pulldown for strobe line in dts

2020-11-28 Thread Chris Ruehl
had been tested with our rk3399 customized board. Signed-off-by: Chris Ruehl --- drivers/phy/rockchip/phy-rockchip-emmc.c | 16 1 file changed, 16 insertions(+) diff --git a/drivers/phy/rockchip/phy-rockchip-emmc.c b/drivers/phy/rockchip/phy-rockchip-emmc.c index 2dc19ddd120f

[PATCH v2 2/2] devicetree: phy: rockchip-emmc: pulldown property

2020-11-28 Thread Chris Ruehl
Update the documentation and add the bool property enable-strobe-pulldown used to enable the internal pull-down for the strobe line. Signed-off-by: Chris Ruehl --- Documentation/devicetree/bindings/phy/rockchip-emmc-phy.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation

[PATCH] mmc: core: MMC_CAP2_HS200_1_8V_SDR with mmc-hs400-1_8v

2020-11-26 Thread Chris Ruehl
1.8/1.2V Signed-off-by: Chris Ruehl --- drivers/mmc/core/host.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/core/host.c b/drivers/mmc/core/host.c index 96b2ca1f1b06..f55113e24c68 100644 --- a/drivers/mmc/core/host.c +++ b/drivers/mmc/core/host.c @@ -295,7 +295

[PATCH 2/2] mmc: core: MMC_CAP2_HS200_1_8V_SDR with mmc-hs400-1_8v

2020-11-26 Thread Chris Ruehl
1.8/1.2V Signed-off-by: Chris Ruehl --- drivers/mmc/core/host.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/core/host.c b/drivers/mmc/core/host.c index 96b2ca1f1b06..f55113e24c68 100644 --- a/drivers/mmc/core/host.c +++ b/drivers/mmc/core/host.c @@ -295,7 +295

[PATCH 1/2] phy: rockchip: set pulldown for strobe line in dts

2020-11-26 Thread Chris Ruehl
had been tested with our rk3399 customized board. Signed-off-by: Chris Ruehl --- drivers/phy/rockchip/phy-rockchip-emmc.c | 16 1 file changed, 16 insertions(+) diff --git a/drivers/phy/rockchip/phy-rockchip-emmc.c b/drivers/phy/rockchip/phy-rockchip-emmc.c index 2dc19ddd120f

Re: v4.9.234, WARNING: CPU: 1 PID: 166 at kernel/locking/lockdep.c:3326

2020-09-02 Thread Chris Ruehl
Hi, after investigate, the eMMC of the board is damaged and triggers all kind of funny exceptions. If you not see any urgent bug, you might want to ignore this oops. Chris On 2/9/2020 1:39 pm, Chris Ruehl wrote: Hi, have a reproachable kernel crash oops after update to 4.9.234 IMX6DL boot

v4.9.234, WARNING: CPU: 1 PID: 166 at kernel/locking/lockdep.c:3326

2020-09-01 Thread Chris Ruehl
Hi, have a reproachable kernel crash oops after update to 4.9.234 IMX6DL boot process. Regards Chris [ OK ] Started Various fixups to make systemd work better on Debian. [3.635568] [ cut here ] [3.640597] WARNING: CPU: 1 PID: 166 at

Re: [PATCH] iio/dac: convert ltc2632.txt to lltc,ltc2632.yaml

2020-08-17 Thread Chris Ruehl
Hi Jonathan On 16/8/2020 5:27 pm, Jonathan Cameron wrote: On Mon, 10 Aug 2020 11:37:52 +0800 Chris Ruehl wrote: Hi Chris, This will need a dt-binding maintainer review, but in the meantime... Look at the title for dt-bindings patches and match that format. One question for Rob inline

[PATCH v8 2/2] devicetree: hwmon: shtc1: add sensirion,shtc1.yaml

2020-08-15 Thread Chris Ruehl
Add documentation for the newly added DTS support in the shtc1 driver. To align with the drivers logic to have high precision by default a boolean sensirion,low-precision is used to switch to low precision. Signed-off-by: Chris Ruehl --- .../bindings/hwmon/sensirion,shtc1.yaml | 61

[PATCH v8 1/2] hwmon: shtc1: add support for device tree bindings

2020-08-15 Thread Chris Ruehl
Add support for DTS bindings for the sensirion shtc1,shtw1 and shtc3. Signed-off-by: Chris Ruehl Reviewed-by: Guenter Roeck --- v8: no change drivers/hwmon/shtc1.c | 25 ++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/drivers/hwmon/shtc1.c b/drivers

[PATCH v8 0/2] shtc1: add support for device tree bindings

2020-08-15 Thread Chris Ruehl
Add support for DTS bindings to the shtc driver The patches add the compatible table and of_property_read_bool to the shtc1.c. Newly created Yaml document has been released to the Documentation/devicetree/hwmon/sensirion,shtc1.yaml Signed-off-by: Chris Ruehl --- Version 8 sensirion

[PATCH] iio/dac: convert ltc2632.txt to lltc,ltc2632.yaml

2020-08-09 Thread Chris Ruehl
Conversion of the ltc2632 to yaml format and name the file to 'lltc,ltc2632.yaml'. Signed-off-by: Chris Ruehl --- v6: Remove tab and drop unused label Related patches already in linux-next. [PATCH v5 1/3] iio: documentation ltc2632_chip_info add num_channels linux-next commit

Re: [PATCH v5 3/3] iio/dac: convert ltc2632.txt to lltc,ltc2632.yaml

2020-08-09 Thread Chris Ruehl
Rob, On 30/4/2020 11:24 pm, Rob Herring wrote: On Mon, Apr 20, 2020 at 12:26:08PM +0800, Chris Ruehl wrote: Conversion of the ltc2632 to yaml format and name the file 'lltc,ltc2632.yaml'. Signed-off-by: Chris Ruehl --- v5: correct require section set maintainer of analog.com v4..v2

[PATCH v7 1/2] hwmon: shtc1: add support for device tree bindings

2020-08-07 Thread Chris Ruehl
Add support for DTS bindings for the sensirion shtc1,shtw1 and shtc3. Signed-off-by: Chris Ruehl Reviewed-by: Guenter Roeck --- drivers/hwmon/shtc1.c | 25 ++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/drivers/hwmon/shtc1.c b/drivers/hwmon/shtc1.c

[PATCH v7 2/2] devicetree: hwmon: shtc1: add sensirion,shtc1.yaml

2020-08-07 Thread Chris Ruehl
Add documentation for the newly added DTS support in the shtc1 driver. To align with the drivers logic to have high precision by default a boolean sensirion,low_precision is used to switch to low precision. Signed-off-by: Chris Ruehl --- .../bindings/hwmon/sensirion,shtc1.yaml | 59

[PATCH v7 0/2] shtc1: add support for device tree bindings

2020-08-07 Thread Chris Ruehl
Add support for DTS bindings to the shtc driver The patches add the compatible table and of_property_read_bool to the shtc1.c. Newly created Yaml document has been released to the Documentation/devicetree/hwmon/sensirion,shtc1.yaml Signed-off-by: Chris Ruehl --- Version 7 make

Re: [PATCH v6 2/2] devicetree: hwmon: shtc1: Add sensirion,shtc1.yaml

2020-08-07 Thread Chris Ruehl
Rob, sorry for late reply, I have my head in setup production install the dt-schema and rerun the check, with 2020-6 no warnings lets fix it. Chris On 13/7/2020 11:00 pm, Rob Herring wrote: On Sun, 12 Jul 2020 12:44:10 +0800, Chris Ruehl wrote: Add documentation for the newly added DTS

Re: [PATCH v6 1/2] hwmon: shtc1: add support for device tree bindings

2020-07-12 Thread Chris Ruehl
On 12/7/2020 12:44 pm, Chris Ruehl wrote: Add support for DTS bindings for the sensirion shtc1,shtw1 and shtc3. Signed-off-by: Chris Ruehl Reviewed-by: Guenter Roeck Received new PCBA from the factory today, with the chip installed. Probe working, the measurement of temperature

[PATCH v6 2/2] devicetree: hwmon: shtc1: Add sensirion,shtc1.yaml

2020-07-11 Thread Chris Ruehl
Add documentation for the newly added DTS support in the shtc1 driver. To align with the drivers logic to have high precision by default a boolean sensirion,low_precision is used to switch to low precision. Signed-off-by: Chris Ruehl --- .../bindings/hwmon/sensirion,shtc1.yaml | 57

[PATCH v6 1/2] hwmon: shtc1: add support for device tree bindings

2020-07-11 Thread Chris Ruehl
Add support for DTS bindings for the sensirion shtc1,shtw1 and shtc3. Signed-off-by: Chris Ruehl Reviewed-by: Guenter Roeck --- drivers/hwmon/shtc1.c | 25 ++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/drivers/hwmon/shtc1.c b/drivers/hwmon/shtc1.c

[PATCH v6 0/2] shtc1: add support for device tree bindings

2020-07-11 Thread Chris Ruehl
Add support for DTS bindings to the shtc driver The patches add the compatible table and of_property_read_bool to the shtc1.c. Newly created Yaml document has been released to the Documentation/devicetree/hwmon/sensirion,shtc1.yaml Signed-off-by: Chris Ruehl --- Version 6 fix

Re: [PATCH v5 2/2] devicetree: hwmon: shtc1: Add sensirion,shtc1.yaml

2020-07-11 Thread Chris Ruehl
Morning, On 11/7/2020 6:05 pm, Chris Ruehl wrote: On 11/7/2020 12:31 am, Rob Herring wrote: On Fri, 10 Jul 2020 10:15:35 +0800, Chris Ruehl wrote: Add documentation for the newly added DTS support in the shtc1 driver. To align with the drivers logic to have high precision by default

Re: [PATCH v5 2/2] devicetree: hwmon: shtc1: Add sensirion,shtc1.yaml

2020-07-11 Thread Chris Ruehl
On 11/7/2020 12:31 am, Rob Herring wrote: On Fri, 10 Jul 2020 10:15:35 +0800, Chris Ruehl wrote: Add documentation for the newly added DTS support in the shtc1 driver. To align with the drivers logic to have high precision by default a boolean sensirion,low_precision is used to switch to low

[PATCH v5 0/2] shtc1: add support for device tree bindings

2020-07-09 Thread Chris Ruehl
Add support for DTS bindings to the shtc driver The patches add the compatible table and of_property_read_bool to the shtc1.c. Newly created Yaml document has been released to the Documentation/devicetree/hwmon/sensirion,shtc1.yaml Signed-off-by: Chris Ruehl --- Version 5 devicetree/driver

[PATCH v5 2/2] devicetree: hwmon: shtc1: Add sensirion,shtc1.yaml

2020-07-09 Thread Chris Ruehl
Add documentation for the newly added DTS support in the shtc1 driver. To align with the drivers logic to have high precision by default a boolean sensirion,low_precision is used to switch to low precision. Signed-off-by: Chris Ruehl --- .../bindings/hwmon/sensirion,shtc1.yaml | 57

[PATCH v5 1/2] hwmon: shtc1: add support for device tree bindings

2020-07-09 Thread Chris Ruehl
Add support for DTS bindings for the sensirion shtc1,shtw1 and shtc3. Signed-off-by: Chris Ruehl Reviewed-by: Guenter Roeck --- drivers/hwmon/shtc1.c | 25 ++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/drivers/hwmon/shtc1.c b/drivers/hwmon/shtc1.c

Re: [PATCH v4 2/2] devicetree: hwmon: shtc1: Add sensirion,shtc1.yaml

2020-07-09 Thread Chris Ruehl
Hi Rob, On 10/7/2020 12:51 am, Rob Herring wrote: On Wed, Jul 08, 2020 at 12:07:47PM +0800, Chris Ruehl wrote: Add documentation for the newly added DTS support in the shtc1 driver. To align with the drivers logic to have high precision by default If 0x70 is the only address, then do: reg

[PATCH v4 2/2] devicetree: hwmon: shtc1: Add sensirion,shtc1.yaml

2020-07-07 Thread Chris Ruehl
Add documentation for the newly added DTS support in the shtc1 driver. To align with the drivers logic to have high precision by default a boolean sensirion,low_precision is used to switch to low precision. Signed-off-by: Chris Ruehl --- .../bindings/hwmon/sensirion,shtc1.yaml | 60

[PATCH v4 1/2] hwmon: shtc1: add support for device tree bindings

2020-07-07 Thread Chris Ruehl
Add support for DTS bindings for the sensirion shtc1,shtw1 and shtc3. Signed-off-by: Chris Ruehl Reviewed-by: Guenter Roeck --- drivers/hwmon/shtc1.c | 25 ++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/drivers/hwmon/shtc1.c b/drivers/hwmon/shtc1.c

[PATCH v4 0/2] shtc1: add support for device tree bindings

2020-07-07 Thread Chris Ruehl
Add support for DTS bindings to the shtc driver The patches add the compatible table and of_property_read_bool to the shtc1.c. Newly created Yaml document has been released to the Documentation/devicetree/hwmon/sensirion,shtc1.yaml Signed-off-by: Chris Ruehl --- Version 4 Fix errors

Re: [PATCH v3 2/2] devicetree: hwmon: shtc1: Add sensirion,shtc1.yaml

2020-07-07 Thread Chris Ruehl
Hi Guenter, On 7/7/2020 9:35 pm, Guenter Roeck wrote: On Tue, Jul 07, 2020 at 04:01:03PM +0800, Chris Ruehl wrote: Add documentation for the newly added DTS support in the shtc1 driver. To align with the drivers logic to have high precision by default a boolean sensirion,low_precision is used

Re: [PATCH v2 2/2] devicetree: hwmon: shtc1: Add sensirion,shtc1.yaml

2020-07-07 Thread Chris Ruehl
On 8/7/2020 4:15 am, Rob Herring wrote: On Sun, 05 Jul 2020 11:47:26 +0800, Chris Ruehl wrote: Add documentation for the newly added DTS support in the shtc1 driver. To align with the drivers logic to have high precision by default a boolean sensirion,low_precision is used to switch to low

Re: [PATCH v3 0/2] shtc1: add support for device tree bindings

2020-07-07 Thread Chris Ruehl
On 7/7/2020 4:01 pm, Chris Ruehl wrote: Add support for DTS bindings to the shtc driver The patches add the compatible table and of_property_read_bool to the shtc1.c. Newly created Yaml document has been released to the Documentation/devicetree/hwmon/sensirion,shtc1.yaml Signed-off-by: Chris

[PATCH v3 1/2] hwmon: shtc1: add support for device tree bindings

2020-07-07 Thread Chris Ruehl
Add support for DTS bindings for the sensirion shtc1,shtw1 and shtc3. Signed-off-by: Chris Ruehl --- drivers/hwmon/shtc1.c | 25 ++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/drivers/hwmon/shtc1.c b/drivers/hwmon/shtc1.c index a0078ccede03

[PATCH v3 0/2] shtc1: add support for device tree bindings

2020-07-07 Thread Chris Ruehl
Add support for DTS bindings to the shtc driver The patches add the compatible table and of_property_read_bool to the shtc1.c. Newly created Yaml document has been released to the Documentation/devicetree/hwmon/sensirion,shtc1.yaml Signed-off-by: Chris Ruehl --- Version 3 Fix errors

[PATCH v3 2/2] devicetree: hwmon: shtc1: Add sensirion,shtc1.yaml

2020-07-07 Thread Chris Ruehl
Add documentation for the newly added DTS support in the shtc1 driver. To align with the drivers logic to have high precision by default a boolean sensirion,low_precision is used to switch to low precision. Signed-off-by: Chris Ruehl --- .../bindings/hwmon/sensirion,shtc1.yaml | 53

Re: [PATCH v2 1/2] hwmon: shtc1: add support for device tree bindings

2020-07-05 Thread Chris Ruehl
Hi On 5/7/2020 10:25 pm, Guenter Roeck wrote: On Sun, Jul 05, 2020 at 11:47:25AM +0800, Chris Ruehl wrote: Add support for DTS bindings for the sensirion shtc1,shtw1 and shtc3. Signed-off-by: Chris Ruehl --- drivers/hwmon/shtc1.c | 22 -- 1 file changed, 20 insertions

[PATCH v2 0/2] shtc1: add support for device tree bindings

2020-07-04 Thread Chris Ruehl
Add support for DTS bindings to the shtc driver The patches add the compatible table and of_property_read_bool to the shtc1.c. Newly created Yaml document has been released to the Documentation/devicetree/hwmon/sensirion,shtc1.yaml Signed-off-by: Chris Ruehl --- Version 2 remove

[PATCH v2 1/2] hwmon: shtc1: add support for device tree bindings

2020-07-04 Thread Chris Ruehl
Add support for DTS bindings for the sensirion shtc1,shtw1 and shtc3. Signed-off-by: Chris Ruehl --- drivers/hwmon/shtc1.c | 22 -- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/drivers/hwmon/shtc1.c b/drivers/hwmon/shtc1.c index a0078ccede03..61e9275eb666

[PATCH v2 2/2] devicetree: hwmon: shtc1: Add sensirion,shtc1.yaml

2020-07-04 Thread Chris Ruehl
Add documentation for the newly added DTS support in the shtc1 driver. To align with the drivers logic to have high precision by default a boolean sensirion,low_precision is used to switch to low precision. Signed-off-by: Chris Ruehl --- .../bindings/hwmon/sensirion,shtc1.yaml | 53

Re: [PATCH 1/2] hwmon: shtc1: add support for device tree bindings

2020-07-04 Thread Chris Ruehl
Hi Guenter, On 3/7/2020 1:48 pm, Guenter Roeck wrote: On 7/2/20 8:48 PM, Chris Ruehl wrote: Add support for DTS bindings to the shtc driver, use CONFIG_OF to compile in the code if needed. Ah, here it is. The introducing patch should say something like "[PATCH 0/2]". Signed-off

Re: [PATCH 2/2] devicetree: hwmon: shtc1: Add sensirion,shtc1.yaml

2020-07-04 Thread Chris Ruehl
Hi Guenter, On 3/7/2020 1:49 pm, Guenter Roeck wrote: On 7/2/20 8:48 PM, Chris Ruehl wrote: Add documentation for the newly added DTS support in the shtc1 driver. Signed-off-by: Chris Ruehl --- .../bindings/hwmon/sensirion,shtc1.yaml | 53 +++ 1 file changed, 53

[PATCH 1/2] hwmon: shtc1: add support for device tree bindings

2020-07-02 Thread Chris Ruehl
Add support for DTS bindings to the shtc driver, use CONFIG_OF to compile in the code if needed. Signed-off-by: Chris Ruehl --- drivers/hwmon/shtc1.c | 30 ++ 1 file changed, 30 insertions(+) diff --git a/drivers/hwmon/shtc1.c b/drivers/hwmon/shtc1.c index

[PATCH] shtc1: add support for device tree bindings

2020-07-02 Thread Chris Ruehl
Add support for DTS bindings to the shtc driver The patches add the compatible table and of_property_read* to the shtc1.c. Newly created Yaml document has been released to the Documentation/devicetree/hwmon/sensirion,shtc1.yaml Signed-off-by: Chris Ruehl --- Version 1

[PATCH 2/2] devicetree: hwmon: shtc1: Add sensirion,shtc1.yaml

2020-07-02 Thread Chris Ruehl
Add documentation for the newly added DTS support in the shtc1 driver. Signed-off-by: Chris Ruehl --- .../bindings/hwmon/sensirion,shtc1.yaml | 53 +++ 1 file changed, 53 insertions(+) create mode 100644 Documentation/devicetree/bindings/hwmon/sensirion,shtc1.yaml diff

[PATCH v1 3/3] spi: spi-rockchip: use num-cs property and ctlr->enable_gpiods

2020-05-11 Thread Chris Ruehl
-cs is missing the default set to num_chipselect = 1. Signed-off-by: Chris Ruehl --- drivers/spi/spi-rockchip.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/drivers/spi/spi-rockchip.c b/drivers/spi/spi-rockchip.c index f57a8faa6f31..9b8a5e1233c0 100644 --- a/drivers

[PATCH v1 1/3] spi: spi-rockchip: cleanup use struct spi_controller

2020-05-11 Thread Chris Ruehl
Cleanup, move from the compatibily layer struct spi_master over to struct spi_controller, and rename the related function calls. Signed-off-by: Chris Ruehl --- drivers/spi/spi-rockchip.c | 182 ++--- 1 file changed, 91 insertions(+), 91 deletions(-) diff --git

[PATCH v1 2/3] spi: spi-rockchip: add support for spi slave mode

2020-05-11 Thread Chris Ruehl
Add support for spi slave mode in spi-rockchip. The register map has an entry for it. If spi-slave is set in dts, set this corresponding bit and add to mode_bits the SPI_NO_CS, allow slave mode without explicit CS use. Slave abort function had been added. Signed-off-by: Chris Ruehl --- drivers

[PATCH v1 0/3] spi: spi-rockchip spi slave mode

2020-05-11 Thread Chris Ruehl
struct with ROCKCHIP_SPI_MAX_CS_NUM seems the correct way to do and let num-cs the OF / dts config set the CS count for the boards. Patch against next-20200508 Thanks for review! Happy hacking Chris Signed-off-by: Chris Ruehl ---

Re: [PATCH v0 1/1] spi: spi-rockchip: add support for spi slave_mode

2020-05-09 Thread Chris Ruehl
Emil, + if (rs->slavemode) here is a mistake  it is :  rs->slave_mode and the use of rs->slave_mode in the rockchip_spi_config()

Re: [PATCH v0 1/1] spi: spi-rockchip: add support for spi slave_mode

2020-05-08 Thread Chris Ruehl
Hi Emil, thanks for the review and your comments On 8/5/2020 9:13 pm, Emil Renner Berthing wrote: Hi Chris, On Fri, 8 May 2020 at 10:47, Chris Ruehl wrote: This patch aim to add spi slave mode support to the rockchip driver. Fix the wrong usage of num_cs set fix to ROCKCHIP_SPI_MAX_CS_NUM

[PATCH v0 1/1] spi: spi-rockchip: add support for spi slave_mode

2020-05-08 Thread Chris Ruehl
-by: Chris Ruehl --- drivers/spi/spi-rockchip.c | 46 +- 1 file changed, 41 insertions(+), 5 deletions(-) diff --git a/drivers/spi/spi-rockchip.c b/drivers/spi/spi-rockchip.c index 70ef63e0b6b8..9c1ff52c0f85 100644 --- a/drivers/spi/spi-rockchip.c +++ b/drivers/spi

[PATCH v0] spi: spi-rockchip spi slave mode

2020-05-08 Thread Chris Ruehl
against next-20200505 Thanks for review! Happy hacking Chris Signed-off-by: Chris Ruehl ---

Re: [PATCH] serial: imx: enable IMX21_UCR3_RXDMUXSEL for non-dte-mode

2018-05-03 Thread Chris Ruehl
The IMX serial driver is broken in the 4.9.x tree since 4.9.89. Uwe's patch 6df765dca378bddf994cfd2044acafa501bd800f please apply to clear the situation. I know you very busy! - It's best to email sta...@vger.kernel.org for stuff like this, as I almost missed it... Now queued up. greg k-h

Re: [PATCH] serial: imx: enable IMX21_UCR3_RXDMUXSEL for non-dte-mode

2018-05-03 Thread Chris Ruehl
The IMX serial driver is broken in the 4.9.x tree since 4.9.89. Uwe's patch 6df765dca378bddf994cfd2044acafa501bd800f please apply to clear the situation. I know you very busy! - It's best to email sta...@vger.kernel.org for stuff like this, as I almost missed it... Now queued up. greg k-h

Re: [PATCH] serial: imx: enable IMX21_UCR3_RXDMUXSEL for non-dte-mode

2018-05-03 Thread Chris Ruehl
Hi Greg, On Friday, April 20, 2018 02:13 PM, Uwe Kleine-König wrote: Hello Chris, On Fri, Apr 20, 2018 at 09:07:59AM +0800, Chris Ruehl wrote: Fix a problem introduced with commit e61c38d85b73 ("serial: imx: setup DCEDTE early and ensure DCD and RI irqs to be off") result in non dt

Re: [PATCH] serial: imx: enable IMX21_UCR3_RXDMUXSEL for non-dte-mode

2018-05-03 Thread Chris Ruehl
Hi Greg, On Friday, April 20, 2018 02:13 PM, Uwe Kleine-König wrote: Hello Chris, On Fri, Apr 20, 2018 at 09:07:59AM +0800, Chris Ruehl wrote: Fix a problem introduced with commit e61c38d85b73 ("serial: imx: setup DCEDTE early and ensure DCD and RI irqs to be off") result in non dt

Re: [PATCH] serial: imx: enable IMX21_UCR3_RXDMUXSEL for non-dte-mode

2018-04-20 Thread Chris Ruehl
On Friday, April 20, 2018 02:13 PM, Uwe Kleine-König wrote: Hello Chris, On Fri, Apr 20, 2018 at 09:07:59AM +0800, Chris Ruehl wrote: Fix a problem introduced with commit e61c38d85b73 ("serial: imx: setup DCEDTE early and ensure DCD and RI irqs to be off") result in non dte-mode imx

Re: [PATCH] serial: imx: enable IMX21_UCR3_RXDMUXSEL for non-dte-mode

2018-04-20 Thread Chris Ruehl
On Friday, April 20, 2018 02:13 PM, Uwe Kleine-König wrote: Hello Chris, On Fri, Apr 20, 2018 at 09:07:59AM +0800, Chris Ruehl wrote: Fix a problem introduced with commit e61c38d85b73 ("serial: imx: setup DCEDTE early and ensure DCD and RI irqs to be off") result in non dte-mode imx

[PATCH] serial: imx: enable IMX21_UCR3_RXDMUXSEL for non-dte-mode

2018-04-19 Thread Chris Ruehl
Fix a problem introduced with commit e61c38d85b73 ("serial: imx: setup DCEDTE early and ensure DCD and RI irqs to be off") result in non dte-mode imx-uart fail receive data. By add back IMX21_UCR3_RXDMUXSEL the serial port works as expected. Signed-off-by: Chris Ruehl <chris.ru...

[PATCH] serial: imx: enable IMX21_UCR3_RXDMUXSEL for non-dte-mode

2018-04-19 Thread Chris Ruehl
Fix a problem introduced with commit e61c38d85b73 ("serial: imx: setup DCEDTE early and ensure DCD and RI irqs to be off") result in non dte-mode imx-uart fail receive data. By add back IMX21_UCR3_RXDMUXSEL the serial port works as expected. Signed-off-by: Chris Ruehl --- drivers/

Re: [PATCH 1/1] spi: imx: fix issue when tx_buf or rx_buf is NULL

2017-05-19 Thread Chris Ruehl
On Thursday, May 18, 2017 06:01 PM, jiada_w...@mentor.com wrote: From: Jiada Wang In case either transfer->tx_buf or transfer->rx_buf is NULL, manipulation of buffer in spi_imx_u32_swap_u[8|16]() will cause NULL pointer dereference crash. Add buffer check at very

Re: [PATCH 1/1] spi: imx: fix issue when tx_buf or rx_buf is NULL

2017-05-19 Thread Chris Ruehl
On Thursday, May 18, 2017 06:01 PM, jiada_w...@mentor.com wrote: From: Jiada Wang In case either transfer->tx_buf or transfer->rx_buf is NULL, manipulation of buffer in spi_imx_u32_swap_u[8|16]() will cause NULL pointer dereference crash. Add buffer check at very beginning of

Re: Regression on next-20140116 [Was: [PATCH 3/3 v4] usb: chipidea: hw_phymode_configure moved before ci_usb_phy_init]

2014-01-22 Thread Chris Ruehl
On Thursday, January 23, 2014 09:22 AM, Peter Chen wrote: On Wed, Jan 22, 2014 at 10:41:33PM +0100, Uwe Kleine-König wrote: Hello, On Wed, Jan 22, 2014 at 10:49:51AM +0100, Uwe Kleine-König wrote: On Tue, Dec 03, 2013 at 04:01:50PM +0800, Chris Ruehl wrote: usb: chipidea

  1   2   >