* [PATCH] ARM64: dts: exynos: Add support for S3FWRN5 NFC chip to TM2(e) boards [not found] <CGME20171129111327eucas1p2ddc03a0352a7bf2b3e1b9d4f9db99511@eucas1p2.samsung.com> @ 2017-11-29 11:13 ` Marek Szyprowski 2017-11-30 6:57 ` Chanwoo Choi 2017-12-01 16:48 ` Krzysztof Kozlowski 0 siblings, 2 replies; 3+ messages in thread From: Marek Szyprowski @ 2017-11-29 11:13 UTC (permalink / raw) To: linux-samsung-soc Cc: Marek Szyprowski, Krzysztof Kozlowski, Bartlomiej Zolnierkiewicz Add device tree node with S3FWRN5 NFC chip to TM2(e) boards. The chip is connected through HS-I2C bus #4. Signed-off-by: Robert Baldyga <r.baldyga@samsung.com> [mszyprow: rebased onto v4.15-rc1, moved node to exynos5433-tm2-common.dtsi, rephrased commit message] Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> --- arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi b/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi index 297597442c44..5028d7352856 100644 --- a/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi @@ -741,6 +741,19 @@ }; }; +&hsi2c_4 { + status = "okay"; + + s3fwrn5: nfc@27 { + compatible = "samsung,s3fwrn5-i2c"; + reg = <0x27>; + interrupt-parent = <&gpa1>; + interrupts = <3 IRQ_TYPE_LEVEL_HIGH>; + s3fwrn5,en-gpios = <&gpf1 4 GPIO_ACTIVE_HIGH>; + s3fwrn5,fw-gpios = <&gpj0 2 GPIO_ACTIVE_HIGH>; + }; +}; + &hsi2c_5 { status = "okay"; -- 2.15.0 ^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] ARM64: dts: exynos: Add support for S3FWRN5 NFC chip to TM2(e) boards 2017-11-29 11:13 ` [PATCH] ARM64: dts: exynos: Add support for S3FWRN5 NFC chip to TM2(e) boards Marek Szyprowski @ 2017-11-30 6:57 ` Chanwoo Choi 2017-12-01 16:48 ` Krzysztof Kozlowski 1 sibling, 0 replies; 3+ messages in thread From: Chanwoo Choi @ 2017-11-30 6:57 UTC (permalink / raw) To: Marek Szyprowski, linux-samsung-soc Cc: Krzysztof Kozlowski, Bartlomiej Zolnierkiewicz On 2017년 11월 29일 20:13, Marek Szyprowski wrote: > Add device tree node with S3FWRN5 NFC chip to TM2(e) boards. The chip is > connected through HS-I2C bus #4. > > Signed-off-by: Robert Baldyga <r.baldyga@samsung.com> > [mszyprow: rebased onto v4.15-rc1, moved node to exynos5433-tm2-common.dtsi, > rephrased commit message] > Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> > --- > arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi | 13 +++++++++++++ > 1 file changed, 13 insertions(+) > > diff --git a/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi b/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi > index 297597442c44..5028d7352856 100644 > --- a/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi > +++ b/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi > @@ -741,6 +741,19 @@ > }; > }; > > +&hsi2c_4 { > + status = "okay"; > + > + s3fwrn5: nfc@27 { > + compatible = "samsung,s3fwrn5-i2c"; > + reg = <0x27>; > + interrupt-parent = <&gpa1>; > + interrupts = <3 IRQ_TYPE_LEVEL_HIGH>; > + s3fwrn5,en-gpios = <&gpf1 4 GPIO_ACTIVE_HIGH>; > + s3fwrn5,fw-gpios = <&gpj0 2 GPIO_ACTIVE_HIGH>; > + }; > +}; > + > &hsi2c_5 { > status = "okay"; > > I tested it by using neard daemon. The NFC device on TM2 detects the external NFC id card. Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com> Tested-by: Chanwoo Choi <cw00.choi@samsung.com> -- Best Regards, Chanwoo Choi Samsung Electronics ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] ARM64: dts: exynos: Add support for S3FWRN5 NFC chip to TM2(e) boards 2017-11-29 11:13 ` [PATCH] ARM64: dts: exynos: Add support for S3FWRN5 NFC chip to TM2(e) boards Marek Szyprowski 2017-11-30 6:57 ` Chanwoo Choi @ 2017-12-01 16:48 ` Krzysztof Kozlowski 1 sibling, 0 replies; 3+ messages in thread From: Krzysztof Kozlowski @ 2017-12-01 16:48 UTC (permalink / raw) To: Marek Szyprowski; +Cc: linux-samsung-soc, Bartlomiej Zolnierkiewicz On Wed, Nov 29, 2017 at 12:13:20PM +0100, Marek Szyprowski wrote: > Add device tree node with S3FWRN5 NFC chip to TM2(e) boards. The chip is > connected through HS-I2C bus #4. > > Signed-off-by: Robert Baldyga <r.baldyga@samsung.com> > [mszyprow: rebased onto v4.15-rc1, moved node to exynos5433-tm2-common.dtsi, > rephrased commit message] > Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> > --- > arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi | 13 +++++++++++++ > 1 file changed, 13 insertions(+) > Thanks, applied. Best regards, Krzysztof ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-12-01 16:48 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <CGME20171129111327eucas1p2ddc03a0352a7bf2b3e1b9d4f9db99511@eucas1p2.samsung.com>
2017-11-29 11:13 ` [PATCH] ARM64: dts: exynos: Add support for S3FWRN5 NFC chip to TM2(e) boards Marek Szyprowski
2017-11-30 6:57 ` Chanwoo Choi
2017-12-01 16:48 ` Krzysztof Kozlowski
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.