spi: s3c64xx: let device core setup the default pin configuration
Subsystems (4)
PATCH 1/1 spi: s3c64xx: let device core setup the default pin configuration
With device core now able to setup the default pin configuration, the pin configuration code based on the deprecated Samsung specific gpio bindings is removed.
--- .../devicetree/bindings/spi/spi-samsung.txt | 8 +-- drivers/spi/spi-s3c64xx.c | 66 +------------------ 2 files changed, 6 insertions(+), 68 deletions(-)
Documentation/devicetree/bindings/spi/spi-samsung.txt +2 -6
@@ -31,9 +31,6 @@ Required Board Specific Properties: - #address-cells: should be 1. - #size-cells: should be 0. -- gpios: The gpio specifier for clock, mosi and miso interface lines (in the - order specified). The format of the gpio specifier depends on the gpio - controller. Optional Board Specific Properties:
@@ -86,9 +83,8 @@ Example: spi_0: spi@12d20000 { #address-cells = <1>; #size-cells = <0>; - gpios = <&gpa2 4 2 3 0>, - <&gpa2 6 2 3 0>, - <&gpa2 7 2 3 0>; + pinctrl-names = "default"; + pinctrl-0 = <&spi0_bus>; w25q80bw@0 { #address-cells = <1>;
drivers/spi/spi-s3c64xx.c +4 -62
119 lines not on this page · raw message
Signature · 1 line
1.6.6.rc2
PATCH 1/1 spi: s3c64xx: let device core setup the default pin configuration
Quoted 5 lines · Thomas Abraham
With device core now able to setup the default pin configuration, the pin configuration code based on the deprecated Samsung specific gpio bindings is removed.
Signed-off-by Thomas Abraham <[email protected]>
Yours,
Linus Walleij
PATCH 1/1 spi: s3c64xx: let device core setup the default pin configuration
In reply to Thomas AbrahamThomas,
Quoted 9 lines · Thomas Abraham
With device core now able to setup the default pin configuration, the pin configuration code based on the deprecated Samsung specific gpio bindings is removed.
Signed-off-by Thomas Abraham <[email protected]>--- .../devicetree/bindings/spi/spi-samsung.txt | 8 +-- drivers/spi/spi-s3c64xx.c | 66 +------------------ 2 files changed, 6 insertions(+), 68 deletions(-)
With <https://patchwork.kernel.org/patch/2225151/> on exynos5250-snow (ARM Chromebook):
-Doug
PATCH 1/1 spi: s3c64xx: let device core setup the default pin configuration
Mark,
Quoted 13 lines · Doug Anderson
Thomas,
Quoted 9 lines · Thomas Abraham
With device core now able to setup the default pin configuration, the pin configuration code based on the deprecated Samsung specific gpio bindings is removed.
Signed-off-by Thomas Abraham <[email protected]>--- .../devicetree/bindings/spi/spi-samsung.txt | 8 +-- drivers/spi/spi-s3c64xx.c | 66 +------------------ 2 files changed, 6 insertions(+), 68 deletions(-)
Is this something you would pick up? It looks like you weren't copied on the original email thread, unfortunately.
Without this (or some equivalent) patch we can't use the SPI driver on any SoCs that have switched over to the proper pinmux support.
Thanks!
-Doug
PATCH 1/1 spi: s3c64xx: let device core setup the default pin configuration
Quoted 1 line · Doug Anderson
Mark,
(...)
Quoted 2 lines
Is this something you would pick up? It looks like you weren't copied on the original email thread, unfortunately.
Resend the patch with collected ACKs and Mark+Grant explitly on the
To: line and I think it'll be picked up.
Yours,
Linus Walleij
PATCH 1/1 spi: s3c64xx: let device core setup the default pin configuration
In reply to Thomas AbrahamFrom: Thomas Abraham <[email protected]>
With device core now able to setup the default pin configuration, the pin configuration code based on the deprecated Samsung specific gpio bindings is removed.
--- .../devicetree/bindings/spi/spi-samsung.txt | 8 +-- drivers/spi/spi-s3c64xx.c | 66 ++-------------------- 2 files changed, 6 insertions(+), 68 deletions(-)
Documentation/devicetree/bindings/spi/spi-samsung.txt +2 -6
@@ -31,9 +31,6 @@ Required Board Specific Properties: - #address-cells: should be 1. - #size-cells: should be 0. -- gpios: The gpio specifier for clock, mosi and miso interface lines (in the - order specified). The format of the gpio specifier depends on the gpio - controller. Optional Board Specific Properties:
@@ -86,9 +83,8 @@ Example: spi_0: spi at 12d20000 { #address-cells = <1>; #size-cells = <0>; - gpios = <&gpa2 4 2 3 0>, - <&gpa2 6 2 3 0>, - <&gpa2 7 2 3 0>; + pinctrl-names = "default"; + pinctrl-0 = <&spi0_bus>; w25q80bw at 0 { #address-cells = <1>;
drivers/spi/spi-s3c64xx.c +4 -62
119 lines not on this page · raw message
Signature · 1 line
1.8.1.3
Grant Likely
AppliedQuoted 11 lines · Doug Anderson
From: Thomas Abraham <[email protected]>
With device core now able to setup the default pin configuration, the pin configuration code based on the deprecated Samsung specific gpio bindings is removed.
Signed-off-by Thomas Abraham <[email protected]>Signed-off-by Doug Anderson <[email protected]>Acked-by Linus Walleij <[email protected]>Reviewed-by Doug Anderson <[email protected]>Tested-by Doug Anderson <[email protected]>
Applied, thanks.
g.