[PATCH 4/5] arm64: dts : ls1088a-qds: remove useless property of rtc

2020-09-15 Thread Biwen Li
From: Biwen Li Remove useless property interrupts of rtc Signed-off-by: Biwen Li --- arch/arm64/boot/dts/freescale/fsl-ls1088a-qds.dts | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1088a-qds.dts b/arch/arm64/boot/dts/freescale/fsl-ls1088a-qds.dts

[PATCH 5/5] arm64: dts: ls1046a-qds: remove useless property of rtc

2020-09-15 Thread Biwen Li
From: Biwen Li Remove useless property interrupts of rtc Signed-off-by: Biwen Li --- arch/arm64/boot/dts/freescale/fsl-ls1046a-qds.dts | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a-qds.dts b/arch/arm64/boot/dts/freescale/fsl-ls1046a-qds.dts

[RESEND v2] arm64: dts: lx2160a-rdb: fix shunt-resistor value

2020-07-14 Thread Biwen Li
From: Biwen Li Fix value of shunt-resistor property. The LX2160A-RDB has 500 uOhm shunt for the INA220, not 1000 uOhm. Unless it will get wrong power consumption(1/2) Signed-off-by: Biwen Li --- arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts | 2 +- 1 file changed, 1 insertion(+), 1

[v2 PATCH] dts: arm64: lx2160a-rdb: fix shunt-resistor value

2020-07-14 Thread Biwen Li
From: Biwen Li Fix value of shunt-resistor property. The LX2160A-RDB has 500 uOhm shunt for the INA220, not 1000 uOhm. Unless it will get wrong power consumption(1/2) Signed-off-by: Biwen Li --- v2: - update description arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts | 2 +- 1 file

RE: [PATCH] dts: arm64: lx2160a-rdb: fix shunt-resistor

2020-07-14 Thread Biwen Li (OSS)
> On Fri, Jun 19, 2020 at 04:46:07PM +0800, Biwen Li wrote: > > From: Biwen Li > > > > Fix value of shunt-resistor property > > > > Signed-off-by: Biwen Li > > 'arm64: dts: ...' as subject prefix please. > > Also can you improve commit log to bett

[v3 4/4] arm: dts: ls1021a: add ftm_alarm0 DT node

2020-06-23 Thread Biwen Li
From: Biwen Li The patch add ftm_alarm0 DT node - add rcpm node - add ftm_alarm0 node - aliases ftm_alarm0 as rtc1 Signed-off-by: Biwen Li --- Change in v3: - sort alphabetically Change in v2: - use generic name arch/arm/boot/dts/ls1021a.dtsi | 15

[v3 2/4] arm64: dts: ls1028a: Add ftm_alarm0 DT node

2020-06-23 Thread Biwen Li
From: Biwen Li The patch adds ftm_alarm0 DT node for LS1028ARDB board FlexTimer1 module is used to wakeup the system Signed-off-by: Biwen Li --- Change in v3: - none Change in v2: - use generic name - use definition arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 17

[v3 3/4] arm64: dts: ls1012a/ls1043a/ls1046a/ls1088a/ls208xa: add ftm_alarm0 node

2020-06-23 Thread Biwen Li
From: Biwen Li The patch adds ftm_alarm0 DT node - add new rcpm node - add ftm_alarm0 node - aliases ftm_alarm0 as rtc1 Signed-off-by: Biwen Li --- Change in v3: - sort alphabetically Change in v2: - use generic name - use definition arch

[v3 1/4] arm64: dts: lx2160a: add ftm_alarm0 DT node

2020-06-23 Thread Biwen Li
From: Biwen Li The patch adds ftm_alarm0 DT node for Soc LX2160A FlexTimer1 module is used to wakeup the system in deep sleep Signed-off-by: Biwen Li --- Change in v3: - none Change in v2: - use generic name - use definition arch/arm64/boot/dts/freescale/fsl

RE: [v2 3/4] arm64: dts: ls1012a/ls1043a/ls1046a/ls1088a/ls208xa: add ftm_alarm0 node

2020-06-23 Thread Biwen Li (OSS)
> > Signed-off-by: Biwen Li > > --- > > Change in v2: > > - use generic name > > - use definition > > > > arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi | 15 +++ > > arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 14

[PATCH] dts: arm64: lx2160a-rdb: fix shunt-resistor

2020-06-19 Thread Biwen Li
From: Biwen Li Fix value of shunt-resistor property Signed-off-by: Biwen Li --- arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-lx2160a

[v2 4/4] arm: dts: ls1021a: add ftm_alarm0 DT node

2020-06-14 Thread Biwen Li
From: Biwen Li The patch add ftm_alarm0 DT node - add rcpm node - add ftm_alarm0 node - aliases ftm_alarm0 as rtc1 Signed-off-by: Biwen Li --- Change in v2: - use generic name arch/arm/boot/dts/ls1021a.dtsi | 15 +++ 1 file changed, 15 insertions

[v2 1/4] arm64: dts: lx2160a: add ftm_alarm0 DT node

2020-06-14 Thread Biwen Li
From: Biwen Li The patch adds ftm_alarm0 DT node for Soc LX2160A FlexTimer1 module is used to wakeup the system in deep sleep Signed-off-by: Biwen Li --- Change in v2: - use generic name - use definition arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 18

[v2 3/4] arm64: dts: ls1012a/ls1043a/ls1046a/ls1088a/ls208xa: add ftm_alarm0 node

2020-06-14 Thread Biwen Li
From: Biwen Li The patch adds ftm_alarm0 DT node - add new rcpm node - add ftm_alarm0 node - aliases ftm_alarm0 as rtc1 Signed-off-by: Biwen Li --- Change in v2: - use generic name - use definition arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi | 15

[v2 2/4] arm64: dts: ls1028a: Add ftm_alarm0 DT node

2020-06-14 Thread Biwen Li
From: Biwen Li The patch adds ftm_alarm0 DT node for LS1028ARDB board FlexTimer1 module is used to wakeup the system Signed-off-by: Biwen Li --- Change in v2: - use generic name - use definition arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 17 + 1 file

[v3 2/2] dts: ppc: t1024rdb: remove interrupts property

2020-05-26 Thread Biwen Li
From: Biwen Li Since the interrupt pin for RTC DS1339 is not connected to the CPU on T1024RDB, remove the interrupt property from the device tree. This also fix the following warning for hwclock.util-linux: $ hwclock.util-linux hwclock.util-linux: select() to /dev/rtc0 to wait for clock tick

[v3 1/2] dts: ppc: t4240rdb: remove interrupts property

2020-05-26 Thread Biwen Li
From: Biwen Li Since the interrupt pin for RTC DS1374 is not connected to the CPU on T4240RDB, remove the interrupt property from the device tree. This also fix the following warning for hwclock.util-linux: $ hwclock.util-linux hwclock.util-linux: select() to /dev/rtc0 to wait for clock tick

[v2 1/2] dts: ppc: t4240rdb: remove interrupts property

2020-05-20 Thread Biwen Li
From: Biwen Li This removes interrupts property to drop warning as follows: - $ hwclock.util-linux hwclock.util-linux: select() to /dev/rtc0 to wait for clock tick timed out My case: - RTC ds1374's INT pin is connected to VCC on T4240RDB, then the RTC cannot inform cpu

[v2 2/2] dts: ppc: t1024rdb: remove interrupts property

2020-05-20 Thread Biwen Li
From: Biwen Li This removes interrupts property to drop warning as follows: - $ hwclock.util-linux hwclock.util-linux: select() to /dev/rtc0 to wait for clock tick timed out My case: - RTC ds1339s INT pin isn't connected to cpus INT pin on T1024RDB, then the RTC cannot

RE: [RESEND 1/4] arm64: dts: lx2160a: add ftm_alarm0 DT node

2020-05-20 Thread Biwen Li (OSS)
> > > > diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi > > > > b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi > > > > index e5ee5591e52b..e0d8d68ce070 100644 > > > > --- a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi > > > > +++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi

RE: [PATCH 2/3] dts: ppc: t4240rdb: add uie_unsupported property to drop warning

2020-05-08 Thread Biwen Li (OSS)
> > On 08/05/2020 13:49:24+0800, Biwen Li wrote: > > From: Biwen Li > > > > This adds uie_unsupported property to drop warning as follows: > > - $ hwclock.util-linux > > hwclock.util-linux: select() to /dev/rtc0 > > to wait for clock tic

RE: [PATCH 1/3] rtc: ds1374: add uie_unsupported property to drop warning

2020-05-08 Thread Biwen Li (OSS)
> > Hi, > > On 08/05/2020 13:49:23+0800, Biwen Li wrote: > > From: Biwen Li > > > > Add uie_unsupported property to drop warning as follows: > > - $ hwclock.util-linux > > hwclock.util-liux: select() /dev/rtc0 > > to wait for clo

RE: [RESEND 1/4] arm64: dts: lx2160a: add ftm_alarm0 DT node

2020-05-08 Thread Biwen Li (OSS)
> > On Tue, Apr 07, 2020 at 02:42:48PM +0800, Biwen Li wrote: > > From: Biwen Li > > > > The patch adds ftm_alarm0 DT node for Soc LX2160A > > FlexTimer1 module is used to wakeup the system in deep sleep > > > > Signed-off-by: Biwen Li > > --- >

[PATCH 2/3] dts: ppc: t4240rdb: add uie_unsupported property to drop warning

2020-05-07 Thread Biwen Li
From: Biwen Li This adds uie_unsupported property to drop warning as follows: - $ hwclock.util-linux hwclock.util-linux: select() to /dev/rtc0 to wait for clock tick timed out My case: - RTC ds1374's INT pin is connected to VCC on T4240RDB, then the RTC cannot inform

[PATCH 3/3] dts: ppc: t1024rdb: add wakeup-source property to drop warning

2020-05-07 Thread Biwen Li
From: Biwen Li This adds wakeup-source property to drop warning as follows: - $ hwclock.util-linux hwclock.util-linux: select() to /dev/rtc0 to wait for clock tick timed out My case: - RTC ds1339s INT pin isn't connected to cpus INT pin on T1024RDB, then the RTC cannot

[PATCH 1/3] rtc: ds1374: add uie_unsupported property to drop warning

2020-05-07 Thread Biwen Li
From: Biwen Li Add uie_unsupported property to drop warning as follows: - $ hwclock.util-linux hwclock.util-liux: select() /dev/rtc0 to wait for clock tick timed out My case: - RTC ds1374's INT pin is connected to VCC on T4240RDB, then the RTC cannot inform cpu about

[v5,1/3] dt-bindings: i2c: support property idle-state

2019-10-21 Thread Biwen Li
This supports property idle-state Signed-off-by: Biwen Li --- Change in v5: - none Change in v4: - none Change in v3: - update subject and description - add some information for property idle-state Change in v2: - update subject and description

[v5,2/3] i2c: mux: pca954x: support property idle-state

2019-10-21 Thread Biwen Li
). Signed-off-by: Biwen Li --- Change in v5: - add extra precaution for pca954x_init Change in v4: - rename function pca954x_calculate_chan -> pca954x_regval Change in v3: - update subject and description - add a helper function pca954x_calculate_c

[v5,3/3] arm64: dts: fsl-ls208xa-rdb: fix an errata E-00013

2019-10-21 Thread Biwen Li
a channel zero in dts to fix the errata E-00013). Signed-off-by: Biwen Li --- Change in v5: - specify a channel zero when pca9547 in idle state. arch/arm64/boot/dts/freescale/fsl-ls208xa-rdb.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/freescale/fsl

RE: [EXT] Re: [v4,2/2] i2c: mux: pca954x: support property idle-state

2019-10-21 Thread Biwen Li
> Caution: EXT Email > > On 2019-10-21 10:00, Biwen Li wrote: > > This supports property idle-state > > > > You should expand this a little bit to explain that idle-state, if present, > overrides > i2c-mux-idle-disconnect. You could also mention your u

[v4,2/2] i2c: mux: pca954x: support property idle-state

2019-10-21 Thread Biwen Li
This supports property idle-state Signed-off-by: Biwen Li --- Change in v4: - rename function pca954x_calculate_chan -> pca954x_regval Change in v3: - update subject and description - add a helper function pca954x_calculate_chan() Change in

[v4,1/2] dt-bindings: i2c: support property idle-state

2019-10-21 Thread Biwen Li
This supports property idle-state Signed-off-by: Biwen Li --- Change in v4: - none Change in v3: - update subject and description - add some information for property idle-state Change in v2: - update subject and description - add property idle-state

RE: [EXT] Re: [v3,2/2] i2c: mux: pca954x: support property idle-state

2019-10-21 Thread Biwen Li
> On 2019-10-16 06:09, Biwen Li wrote: > > This supports property idle-state > > > > Signed-off-by: Biwen Li > > --- > > Change in v3: > > - update subject and description > > - add a helper function pca954x_calculate_chan() >

[v3,1/2] dt-bindings: i2c: support property idle-state

2019-10-15 Thread Biwen Li
This supports property idle-state Signed-off-by: Biwen Li --- Change in v3: - update subject and description - add some information for property idle-state Change in v2: - update subject and description - add property idle-state Documentation/devicetree

[v3,2/2] i2c: mux: pca954x: support property idle-state

2019-10-15 Thread Biwen Li
This supports property idle-state Signed-off-by: Biwen Li --- Change in v3: - update subject and description - add a helper function pca954x_calculate_chan() Change in v2: - update subject and description - add property idle-state drivers/i2c/muxes/i2c-mux

RE: [EXT] Re: [v2,2/2] i2c: mux: pca954x: add property idle-state

2019-10-15 Thread Biwen Li
> > On 2019-10-15 06:48, Biwen Li wrote: > > This adds property idle-state > > > > Signed-off-by: Biwen Li > > --- > > Change in v2: > > - update subject and description > > - add property idle-state &

RE: [EXT] Re: [v2,1/2] dt-bindings: i2c: add property idle-state

2019-10-15 Thread Biwen Li
> > On 2019-10-15 06:48, Biwen Li wrote: > > This adds property idle-state > > > > Signed-off-by: Biwen Li > > --- > > Change in v2: > > - update subject and description > > - add property idle-state > > > > Documentation/d

[v2,1/2] dt-bindings: i2c: add property idle-state

2019-10-14 Thread Biwen Li
This adds property idle-state Signed-off-by: Biwen Li --- Change in v2: - update subject and description - add property idle-state Documentation/devicetree/bindings/i2c/i2c-mux-pca954x.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/i2c

[v2,2/2] i2c: mux: pca954x: add property idle-state

2019-10-14 Thread Biwen Li
This adds property idle-state Signed-off-by: Biwen Li --- Change in v2: - update subject and description - add property idle-state drivers/i2c/muxes/i2c-mux-pca954x.c | 47 ++--- 1 file changed, 30 insertions(+), 17 deletions(-) diff --git a/drivers/i2c

RE: [EXT] Re: [PATCH 1/2] dt-bindings: i2c: replace property i2c-mux-idle-disconnect

2019-10-14 Thread Biwen Li
> Caution: EXT Email > > On 2019-10-14 13:25, Biwen Li wrote: > > This replaces property i2c-mux-idle-disconnect with idle-state > > > > Signed-off-by: Biwen Li > > --- > > Documentation/devicetree/bindings/i2c/i2c-mux-pca954x.txt | 4 +--- > >

RE: [EXT] Re: [PATCH 2/2] i2c: mux: pca954x: replace property i2c-mux-idle-disconnect

2019-10-14 Thread Biwen Li
> > Caution: EXT Email > > On 2019-10-14 13:25, Biwen Li wrote: > > This replaces property i2c-mux-idle-disconnect with idle-state > > > > Signed-off-by: Biwen Li > > --- > > drivers/i2c/muxes/i2c-mux-pca954x.c | 44 > > ---

RE: [PATCH 1/2] dt-bindings: i2c: replace property i2c-mux-idle-disconnect

2019-10-14 Thread Biwen Li
Hi Peter, Rob This patch is a new method for https://lore.kernel.org/patchwork/patch/1132445/ Best Regards, Biwen Li > > This replaces property i2c-mux-idle-disconnect with idle-state > > Signed-off-by: Biwen Li > --- > Documentation/devicetree/bindings/i2c/i2c-mux-pca954x

[PATCH 1/2] dt-bindings: i2c: replace property i2c-mux-idle-disconnect

2019-10-14 Thread Biwen Li
This replaces property i2c-mux-idle-disconnect with idle-state Signed-off-by: Biwen Li --- Documentation/devicetree/bindings/i2c/i2c-mux-pca954x.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/i2c/i2c-mux-pca954x.txt b/Documentation

[PATCH 2/2] i2c: mux: pca954x: replace property i2c-mux-idle-disconnect

2019-10-14 Thread Biwen Li
This replaces property i2c-mux-idle-disconnect with idle-state Signed-off-by: Biwen Li --- drivers/i2c/muxes/i2c-mux-pca954x.c | 44 - 1 file changed, 31 insertions(+), 13 deletions(-) diff --git a/drivers/i2c/muxes/i2c-mux-pca954x.c b/drivers/i2c/muxes/i2c-mux

RE: [EXT] Re: [v2,2/2] dt-bindings: i2c-mux-pca954x: Add optional property i2c-mux-never-disable

2019-10-14 Thread Biwen Li
> > On 2019-10-14 06:16, Biwen Li wrote: > >> > >>> > >>> On Mon, Sep 30, 2019 at 11:25:03AM +0800, Biwen Li wrote: > >>>> The patch adds an optional property i2c-mux-never-disable > >>>> > >>>> Signed-o

RE: [EXT] Re: [v2,2/2] dt-bindings: i2c-mux-pca954x: Add optional property i2c-mux-never-disable

2019-10-13 Thread Biwen Li
> > > > > On Mon, Sep 30, 2019 at 11:25:03AM +0800, Biwen Li wrote: > > > The patch adds an optional property i2c-mux-never-disable > > > > > > Signed-off-by: Biwen Li > > > --- > > > Change in v2: > > > - update doc

RE: [EXT] Re: [v2,2/2] dt-bindings: i2c-mux-pca954x: Add optional property i2c-mux-never-disable

2019-10-13 Thread Biwen Li
> > On Mon, Sep 30, 2019 at 11:25:03AM +0800, Biwen Li wrote: > > The patch adds an optional property i2c-mux-never-disable > > > > Signed-off-by: Biwen Li > > --- > > Change in v2: > > - update documentation > > > > Documentation/de

[RESEND v2] i2c: imx: support slave mode for imx I2C driver

2019-10-09 Thread Biwen Li
The patch supports slave mode for imx I2C driver Signed-off-by: Biwen Li --- Change in v2: - remove MACRO CONFIG_I2C_SLAVE drivers/i2c/busses/i2c-imx.c | 180 --- 1 file changed, 166 insertions(+), 14 deletions(-) diff --git a/drivers/i2c/busses/i2c

[v2] i2c: imx: support slave mode for imx I2C driver

2019-10-09 Thread Biwen Li
The patch supports slave mode for imx I2C driver Signed-off-by: Biwen Li --- Change in v2: - remove MACRO CONFIG_I2C_SLAVE drivers/i2c/busses/i2c-imx.c | 180 --- 1 file changed, 166 insertions(+), 14 deletions(-) diff --git a/drivers/i2c/busses/i2c

RE: [EXT] Re: [v4,3/3] Documentation: dt: binding: fsl: Add 'fsl,ippdexpcr1-alt-addr' property

2019-10-09 Thread Biwen Li
> > On Thu, Sep 26, 2019 at 10:41:18AM +0800, Biwen Li wrote: > > The 'fsl,ippdexpcr1-alt-addr' property is used to handle an errata > > A-008646 on LS1021A > > > > Signed-off-by: Biwen Li > > --- > > Change in v4: > > - rename propert

[v2,2/2] dt-bindings: i2c-mux-pca954x: Add optional property i2c-mux-never-disable

2019-09-29 Thread Biwen Li
The patch adds an optional property i2c-mux-never-disable Signed-off-by: Biwen Li --- Change in v2: - update documentation Documentation/devicetree/bindings/i2c/i2c-mux-pca954x.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/i2c/i2c-mux

[v2,1/2] i2c: pca954x: Add property to skip disabling PCA954x MUX device

2019-09-29 Thread Biwen Li
-on. Add property to skip disabling PCA954x MUX device if device tree contains "i2c-mux-never-disable" for PCA954x device node. Errata ID: E-00013 on board LS2085ARDB and LS2088ARDB (The hardware bug found on board revision Rev.B, Rev.C and Rev.D) Signed-off-by: Biwen Li --- Ch

RE: [EXT] Re: [PATCH] i2c: pca954x: Add property to skip disabling PCA954x MUX device

2019-09-29 Thread Biwen Li
> > Hello Biwen, > > > + /* Errata ID E-00013 on board LS2088ARDB and LS2088ARDB: > > +* The point here is that you must not disable a mux if there > > +* are no pullups on the input or you mess up the I2C. This > > +* needs to be put into the DTS really as the

RE: [EXT] Re: [PATCH] i2c: pca954x: Add property to skip disabling PCA954x MUX device

2019-09-29 Thread Biwen Li
> > On 2019-09-29 12:36, Biwen Li wrote: > > On some Layerscape boards like LS2085ARDB and LS2088ARDB, input > > pull-up resistors on PCA954x MUX device are missing on board, So, if > > MUX are disabled after powered-on, input lines will float leading to > > in

[PATCH] i2c: pca954x: Add property to skip disabling PCA954x MUX device

2019-09-29 Thread Biwen Li
-on. Add property to skip disabling PCA954x MUX device if device tree contains "i2c-mux-never-disable" for PCA954x device node. Errata ID: E-00013 on board LS2085ARDB and LS2088ARDB (Board revision found on Rev.B, Rev.C and Rev.D) Signed-off-by: Biwen Li --- drivers/i2c/muxes/i2c-mux-pca9

RE: [v4,1/3] soc: fsl: handle RCPM errata A-008646 on SoC LS1021A

2019-09-26 Thread Biwen Li
IPPDEXPCR1's value to > register SCFG_SPARECR8.(uboot's psci also > need reading value from the register SCFG_SPARECR8 > to set register RCPM_IPPDEXPCR1) > > Impact: > - FlexTimer module will cannot wakeup system in > deep sleep on SoC LS1021A >

[v4,2/3] arm: dts: ls1021a: fix that FlexTimer cannot wakeup system in deep sleep

2019-09-25 Thread Biwen Li
The patch fixes a bug that FlexTimer cannot wakeup system in deep sleep. Signed-off-by: Biwen Li --- Change in v4: - update property name fsl,ippdexpcr-alt-addr -> fsl,ippdexpcr1-alt-addr Change in v3: - update property name fsl,rcpm-scfg -> fsl,ippdexp

[v4,1/3] soc: fsl: handle RCPM errata A-008646 on SoC LS1021A

2019-09-25 Thread Biwen Li
register RCPM_IPPDEXPCR1) Impact: - FlexTimer module will cannot wakeup system in deep sleep on SoC LS1021A Signed-off-by: Biwen Li --- Change in v4: - rename property name fsl,ippdexpcr-alt-addr -> fsl,ippdexpcr1-alt-addr Change in v3: - update com

[v4,3/3] Documentation: dt: binding: fsl: Add 'fsl,ippdexpcr1-alt-addr' property

2019-09-25 Thread Biwen Li
The 'fsl,ippdexpcr1-alt-addr' property is used to handle an errata A-008646 on LS1021A Signed-off-by: Biwen Li --- Change in v4: - rename property name fsl,ippdexpcr-alt-addr -> fsl,ippdexpcr1-alt-addr Change in v3: - rename property name fsl,rcpm-scfg -&g

RE: [EXT] Re: [v3,3/3] Documentation: dt: binding: fsl: Add 'fsl,ippdexpcr-alt-addr' property

2019-09-25 Thread Biwen Li
> Caution: EXT Email > > On Tue, Sep 24, 2019 at 11:27 PM Biwen Li wrote: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > The 'fsl,ippdexpcr-alt-addr' prop

RE: [v3,3/3] Documentation: dt: binding: fsl: Add 'fsl,ippdexpcr-alt-addr' property

2019-09-24 Thread Biwen Li
> > > > > > > > > > > > > > > > > > > > > The 'fsl,ippdexpcr-alt-addr' property is used to handle > > > > > > > > > an errata > > > > > > > > > A-008646 on LS10

RE: [v3,3/3] Documentation: dt: binding: fsl: Add 'fsl,ippdexpcr-alt-addr' property

2019-09-24 Thread Biwen Li
> > > > > > > > > > > > > > > > > > The 'fsl,ippdexpcr-alt-addr' property is used to handle an > > > > > > > > errata > > > > > > > > A-008646 on LS1021A > > > > > > > &g

RE: [v3,3/3] Documentation: dt: binding: fsl: Add 'fsl,ippdexpcr-alt-addr' property

2019-09-24 Thread Biwen Li
> > > > > > > > > > > > The 'fsl,ippdexpcr-alt-addr' property is used to handle an > > > > > > errata > > > > > > A-008646 on LS1021A > > > > > > > > > > > > Signed-off-by: Biwen Li >

RE: [v3,3/3] Documentation: dt: binding: fsl: Add 'fsl,ippdexpcr-alt-addr' property

2019-09-24 Thread Biwen Li
> > > > > > > > The 'fsl,ippdexpcr-alt-addr' property is used to handle an errata > > > > A-008646 on LS1021A > > > > > > > > Signed-off-by: Biwen Li > > > > --- > > > > Change in v3: > > &g

RE: [v3,3/3] Documentation: dt: binding: fsl: Add 'fsl,ippdexpcr-alt-addr' property

2019-09-24 Thread Biwen Li
> > > > The 'fsl,ippdexpcr-alt-addr' property is used to handle an errata > > A-008646 on LS1021A > > > > Signed-off-by: Biwen Li > > --- > > Change in v3: > > - rename property name > > fsl,rcpm-scfg -> fsl,ippdexpcr-alt-addr &g

[v3,2/3] arm: dts: ls1021a: fix that FlexTimer cannot wakeup system in deep sleep

2019-09-23 Thread Biwen Li
The patch fix a bug that FlexTimer cannot wakeup system in deep sleep. Signed-off-by: Biwen Li --- Change in v3: - update property name fsl,rcpm-scfg -> fsl,ippdexpcr-alt-addr Change in v2: - None arch/arm/boot/dts/ls1021a.dtsi | 1 + 1 f

[v3,3/3] Documentation: dt: binding: fsl: Add 'fsl,ippdexpcr-alt-addr' property

2019-09-23 Thread Biwen Li
The 'fsl,ippdexpcr-alt-addr' property is used to handle an errata A-008646 on LS1021A Signed-off-by: Biwen Li --- Change in v3: - rename property name fsl,rcpm-scfg -> fsl,ippdexpcr-alt-addr Change in v2: - update desc of the property 'fsl,rcpm-scfg' Documentat

[v3,1/3] soc: fsl: handle RCPM errata A-008646 on SoC LS1021A

2019-09-23 Thread Biwen Li
register RCPM_IPPDEXPCR1) Impact: - FlexTimer module will cannot wakeup system in deep sleep on SoC LS1021A Signed-off-by: Biwen Li --- Change in v3: - update commit message - rename property name fsl,rcpm-scfg -> fsl,ippdexpcr-alt-addr Change in

[v5,2/2] rtc: pcf85263/pcf85363: support PM, wakeup device, improve performance

2019-09-18 Thread Biwen Li
: - https://www.nxp.com/docs/en/data-sheet/PCF85263A.pdf - https://www.nxp.com/docs/en/data-sheet/PCF85363A.pdf Signed-off-by: Martin Fuzzey Signed-off-by: Biwen Li --- Change in v5: - Replace nxp,quartz-drive-strength with quartz-drive-strength-ohms - Select ohm unit

[v5,1/2] dt-bindings: rtc: pcf85263/pcf85363: add some properties

2019-09-18 Thread Biwen Li
Signed-off-by: Martin Fuzzey Signed-off-by: Biwen Li --- Change in v5: - Replace nxp,quartz-drive-strength with quartz-drive-strength-ohms - Select ohm unit for quartz drive strength Change in v4: - Drop robust defines in include/dt-bindings/rtc/pcf85363.h

RE: [EXT] Re: [v4,1/2] dt-bindings: rtc: pcf85263/pcf85363: add some properties

2019-09-17 Thread Biwen Li
> > Caution: EXT Email > > On 10/09/2019 18:42:46+0800, Biwen Li wrote: > > Add some properties for pcf85263/pcf85363 as follows: > > - nxp,rtc-interrupt-type: integer type > > - nxp,rtc-interrupt-output-pin: string type > > - quartz-load-femtofarads: i

RE: [EXT] Re: [PATCH] devicetree: property-units: Add kohms unit

2019-09-17 Thread Biwen Li
> > Caution: EXT Email > > Hi Biwen, > > On Tue, Sep 17, 2019 at 10:09 AM Biwen Li wrote: > > The patch adds kohms unit > > > > Signed-off-by: Biwen Li > > Thanks for your patch! > > > --- a/Documentation/devicetree/bindings/property-un

RE: [EXT] Re: [v4,1/2] dt-bindings: rtc: pcf85263/pcf85363: add some properties

2019-09-17 Thread Biwen Li
> > Caution: EXT Email > > On Tue, Sep 10, 2019 at 5:53 AM Biwen Li wrote: > > > > Add some properties for pcf85263/pcf85363 as follows: > > - nxp,rtc-interrupt-type: integer type > > - nxp,rtc-interrupt-output-pin: string type > > - quartz-

[PATCH] devicetree: property-units: Add kohms unit

2019-09-17 Thread Biwen Li
The patch adds kohms unit Signed-off-by: Biwen Li --- Documentation/devicetree/bindings/property-units.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/property-units.txt b/Documentation/devicetree/bindings/property-units.txt index e9b8360b3288

RE: [v2,1/3] soc: fsl: fix that flextimer cannot wakeup system in deep sleep on LS1021A

2019-09-16 Thread Biwen Li
> need reading value from the register SCFG_SPARECR8 > to set register RCPM_IPPDEXPCR1) > > Signed-off-by: Biwen Li > --- > Change in v2: > - fix stype problems > > drivers/soc/fsl/rcpm.c | 27 +++ > 1 file changed, 27 inserti

[v2,3/3] Documentation: dt: binding: fsl: Add 'fsl,rcpm-scfg' property

2019-09-16 Thread Biwen Li
The 'fsl,rcpm-scfg' property is used to fix a bug that FlexTimer cannot wakeup system in deep sleep on LS1021A Signed-off-by: Biwen Li --- Change in v2: - update desc of the property 'fsl,rcpm-scfg' Documentation/devicetree/bindings/soc/fsl/rcpm.txt | 13 + 1 file changed

[v2,1/3] soc: fsl: fix that flextimer cannot wakeup system in deep sleep on LS1021A

2019-09-16 Thread Biwen Li
.(uboot's psci also need reading value from the register SCFG_SPARECR8 to set register RCPM_IPPDEXPCR1) Signed-off-by: Biwen Li --- Change in v2: - fix stype problems drivers/soc/fsl/rcpm.c | 27 +++ 1 file changed, 27 insertions(+) diff --git a/drivers/soc

[v2,2/3] arm: dts: ls1021a: fix that FlexTimer cannot wakeup system in deep sleep

2019-09-16 Thread Biwen Li
The patch fix a bug that FlexTimer cannot wakeup system in deep sleep. Signed-off-by: Biwen Li --- Change in v2: - None arch/arm/boot/dts/ls1021a.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi

RE: [1/3] soc: fsl: fix that flextimer cannot wakeup system in deep sleep on LS1021A

2019-09-16 Thread Biwen Li
r SCFG_SPARECR8 > to set register RCPM_IPPDEXPCR1) > > Signed-off-by: Biwen Li > --- > drivers/soc/fsl/rcpm.c | 29 + > 1 file changed, 29 insertions(+) > > diff --git a/drivers/soc/fsl/rcpm.c b/drivers/soc/fsl/rcpm.c index > 82c0ad5e663e..2

[3/3] Documentation: dt: binding: fsl: Add 'fsl,rcpm-scfg' property

2019-09-16 Thread Biwen Li
The 'fsl,rcpm-scfg' property is used to fix a bug that FlexTimer cannot wakeup system in deep sleep on LS1021A Signed-off-by: Biwen Li --- .../devicetree/bindings/soc/fsl/rcpm.txt | 15 +++ 1 file changed, 15 insertions(+) diff --git a/Documentation/devicetree/bindings/soc

[1/3] soc: fsl: fix that flextimer cannot wakeup system in deep sleep on LS1021A

2019-09-16 Thread Biwen Li
.(uboot's psci also need reading value from the register SCFG_SPARECR8 to set register RCPM_IPPDEXPCR1) Signed-off-by: Biwen Li --- drivers/soc/fsl/rcpm.c | 29 + 1 file changed, 29 insertions(+) diff --git a/drivers/soc/fsl/rcpm.c b/drivers/soc/fsl/rcpm.c index

[2/3] arm: dts: ls1021a: fix that FlexTimer cannot wakeup system in deep sleep

2019-09-16 Thread Biwen Li
The patch fix a bug that FlexTimer cannot wakeup system in deep sleep. Signed-off-by: Biwen Li --- arch/arm/boot/dts/ls1021a.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi index e3973b611c3a

RE: [v2] ACPI: support for NXP i2c controller

2019-09-11 Thread Biwen Li
Hi rafael, wolfram Any comments about this? > > Enable NXP i2c controller to boot with ACPI > > Signed-off-by: Meenakshi Aggarwal > Signed-off-by: Udit Kumar > Signed-off-by: Chuanhua Han > Signed-off-by: Biwen Li > --- > Change in v2: > - Simplif

RE: [EXT] Re: [v2] ACPI: support for NXP i2c controller

2019-09-11 Thread Biwen Li
、> > Caution: EXT Email > > On Fri, Sep 6, 2019 at 11:03 AM Biwen Li wrote: > > > > From: Chuanhua Han > > > > Enable NXP i2c controller to boot with ACPI > > > > Thanks, the code looks good to me, > Reviewed-by: Andy Shevchenko >

[v4,1/2] dt-bindings: rtc: pcf85263/pcf85363: add some properties

2019-09-10 Thread Biwen Li
Signed-off-by: Martin Fuzzey Signed-off-by: Biwen Li --- Change in v4: - Drop robust defines in include/dt-bindings/rtc/pcf85363.h - Add nxp,rtc-interrupt-type property - Replace interrupt-output-pin with nxp,rtc-interrupt-output-pin Change in v3: - None Change in v2

[v4,2/2] rtc: pcf85263/pcf85363: support PM, wakeup device, improve performance

2019-09-10 Thread Biwen Li
: - https://www.nxp.com/docs/en/data-sheet/PCF85263A.pdf - https://www.nxp.com/docs/en/data-sheet/PCF85363A.pdf Signed-off-by: Martin Fuzzey Signed-off-by: Biwen Li --- Change in v4: - Add nxp,rtc-interrupt-type property - Interrupt output pin Cooperate with interrupt type Change

RE: [EXT] Re: [v3,1/2] dt-bindings: rtc: pcf85263/pcf85363: add some properties

2019-09-10 Thread Biwen Li
> Caution: EXT Email > > On Tue, Sep 03, 2019 at 11:37:01AM +0200, Martin Fuzzey wrote: > > On 03/09/2019 08:18, Biwen Li wrote: > > > diff --git a/Documentation/devicetree/bindings/rtc/pcf85363.txt > > > b/Documentation/devicetree/bindings/rtc/pcf85363.txt >

RE: [EXT] Re: [v3,1/2] dt-bindings: rtc: pcf85263/pcf85363: add some properties

2019-09-09 Thread Biwen Li
> > On 03/09/2019 08:18, Biwen Li wrote: > > diff --git a/Documentation/devicetree/bindings/rtc/pcf85363.txt > > b/Documentation/devicetree/bindings/rtc/pcf85363.txt > > index 94adc1cf93d9..588f688b30d1 100644 > > --- a/Documentation/devicetree/bindings/rtc/pcf853

[v2] ACPI: support for NXP i2c controller

2019-09-06 Thread Biwen Li
From: Chuanhua Han Enable NXP i2c controller to boot with ACPI Signed-off-by: Meenakshi Aggarwal Signed-off-by: Udit Kumar Signed-off-by: Chuanhua Han Signed-off-by: Biwen Li --- Change in v2: - Simplify code - Adjust header file order - Not use ACPI_PTR() drivers

RE: [PATCH] ACPI: support for NXP i2c controller

2019-09-05 Thread Biwen Li
> > > Hi, > > > > On 02.09.19 23:16, Andy Shevchenko wrote: > > > On Mon, Sep 2, 2019 at 11:58 PM Rafael J. Wysocki > > > > > wrote: > > >> > > >> On Thu, Jul 11, 2019 at 12:35 PM Chuanhua Han > > >> > > wrote: > > >>> > > >>> Enable NXP i2c controller to boot with ACPI > > >>> > > >>>

RE: [PATCH] ACPI: support for NXP i2c controller

2019-09-04 Thread Biwen Li
> Hi, > > On 02.09.19 23:16, Andy Shevchenko wrote: > > On Mon, Sep 2, 2019 at 11:58 PM Rafael J. Wysocki > wrote: > >> > >> On Thu, Jul 11, 2019 at 12:35 PM Chuanhua Han > wrote: > >>> > >>> Enable NXP i2c controller to boot with ACPI > >>> > >>> Signed-off-by: Meenakshi Aggarwal > >>>

arm64: ls1028a-qds: correct bus of rtc

2019-09-04 Thread Biwen Li
The rtc is on i2c2 bus(hardware), not on i2c1 channel 3, so correct it Signed-off-by: Biwen Li --- arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts | 13 - 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts b/arch/arm64

[v3,1/2] dt-bindings: rtc: pcf85263/pcf85363: add some properties

2019-09-03 Thread Biwen Li
Add some properties for pcf85263/pcf85363 as follows: - interrupt-output-pin: string type - quartz-load-femtofarads: integer type - nxp,quartz-drive-strength: integer type - nxp,quartz-low-jitter: bool type - wakeup-source: bool type Signed-off-by: Martin Fuzzey Signed-off-by: Biwen Li

[v3,2/2] rtc: pcf85263/pcf85363: support PM, wakeup device, improve performance

2019-09-03 Thread Biwen Li
/PCF85263A.pdf - https://www.nxp.com/docs/en/data-sheet/PCF85363A.pdf Signed-off-by: Martin Fuzzey Signed-off-by: Biwen Li --- Change in v3: - Fix compilation error Change in v2: - Replace properties name quartz-load-capacitance -> quartz-load-femtofar

[v2,2/2] rtc: pcf85263/pcf85363: support PM, wakeup device, improve performance

2019-09-02 Thread Biwen Li
/PCF85263A.pdf - https://www.nxp.com/docs/en/data-sheet/PCF85363A.pdf Signed-off-by: Martin Fuzzey Signed-off-by: Biwen Li --- Change in v2: - Replace properties name quartz-load-capacitance -> quartz-load-femtofarads quartz-drive-strength -> nxp,quartz

[v2,1/2] dt-bindings: rtc: pcf85263/pcf85363: add some properties

2019-09-02 Thread Biwen Li
Add some properties for pcf85263/pcf85363 as follows: - interrupt-output-pin: string type - quartz-load-femtofarads: integer type - nxp,quartz-drive-strength: integer type - nxp,quartz-low-jitter: bool type - wakeup-source: bool type Signed-off-by: Martin Fuzzey Signed-off-by: Biwen Li

RE: [EXT] Re: [1/2] dt-bindings: rtc: pcf85263/pcf85363: add some properties

2019-09-02 Thread Biwen Li
> > Caution: EXT Email > > On Fri, Aug 30, 2019 at 05:17:19PM +0800, Biwen Li wrote: > > Add some properties for pcf85263/pcf85363 as follows: > > - interrupt-output-pin: string type > > - quartz-load-capacitance: integer type > > - quartz-drive-stren

RE: [EXT] Re: [1/2] dt-bindings: rtc: pcf85263/pcf85363: add some properties

2019-08-30 Thread Biwen Li
> > On 30/08/2019 17:17:19+0800, Biwen Li wrote: > > Add some properties for pcf85263/pcf85363 as follows: > > - interrupt-output-pin: string type > > - quartz-load-capacitance: integer type > > - quartz-drive-strength: integer type > > - quartz-low-jit

[1/2] dt-bindings: rtc: pcf85263/pcf85363: add some properties

2019-08-30 Thread Biwen Li
Add some properties for pcf85263/pcf85363 as follows: - interrupt-output-pin: string type - quartz-load-capacitance: integer type - quartz-drive-strength: integer type - quartz-low-jitter: bool type - wakeup-source: bool type Signed-off-by: Martin Fuzzey Signed-off-by: Biwen Li

[2/2] rtc: pcf85263/pcf85363: support PM, wakeup device, improve performance

2019-08-30 Thread Biwen Li
-sheet/PCF85263A.pdf - https://www.nxp.com/docs/en/data-sheet/PCF85363A.pdf Signed-off-by: Martin Fuzzey Signed-off-by: Biwen Li --- drivers/rtc/rtc-pcf85363.c | 287 +++-- 1 file changed, 274 insertions(+), 13 deletions(-) diff --git a/drivers/rtc/rtc

<    1   2   3   >