* [PATCH 0/3] spicc: meson-axg: add SPICC controller
@ 2017-11-28 13:29 Yixun Lan
2017-11-28 13:29 ` [PATCH 1/3] dt-bindings: spicc: update compatible string for the Meson-AXG Yixun Lan
` (2 more replies)
0 siblings, 3 replies; 10+ messages in thread
From: Yixun Lan @ 2017-11-28 13:29 UTC (permalink / raw)
To: Kevin Hilman, devicetree-u79uwXL29TY76Z2rM5mHXA
Cc: Mark Brown, linux-spi-u79uwXL29TY76Z2rM5mHXA, Neil Armstrong,
Jerome Brunet, Rob Herring, Mark Rutland, Carlo Caione, Yixun Lan,
Sunny Luo, linux-amlogic-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
linux-kernel-u79uwXL29TY76Z2rM5mHXA
Add the SPICC controller driver to the Amlogic's Meson-AXG SoC.
The new compatible string introduced here is aiming for adding
a few new features which found at the Meson-AXG platform.
Sunny Luo (3):
dt-bindings: spicc: update compatible string for the Meson-AXG
spi: meson-axg: add SPICC driver support
ARM64: dts: meson-axg: add the SPICC controller
.../devicetree/bindings/spi/spi-meson.txt | 4 +-
arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 92 ++++++++++++++++++++++
drivers/spi/spi-meson-spicc.c | 1 +
3 files changed, 96 insertions(+), 1 deletion(-)
--
2.15.0
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 10+ messages in thread* [PATCH 1/3] dt-bindings: spicc: update compatible string for the Meson-AXG 2017-11-28 13:29 [PATCH 0/3] spicc: meson-axg: add SPICC controller Yixun Lan @ 2017-11-28 13:29 ` Yixun Lan [not found] ` <20171128132926.19051-2-yixun.lan-LpR1jeaWuhtBDgjK7y7TUQ@public.gmane.org> 2017-11-28 20:22 ` Applied "spi: meson-axg: update compatible string for the Meson-AXG" to the spi tree Mark Brown [not found] ` <20171128132926.19051-1-yixun.lan-LpR1jeaWuhtBDgjK7y7TUQ@public.gmane.org> 2017-11-28 13:29 ` [PATCH 3/3] ARM64: dts: meson-axg: add the SPICC controller Yixun Lan 2 siblings, 2 replies; 10+ messages in thread From: Yixun Lan @ 2017-11-28 13:29 UTC (permalink / raw) To: Kevin Hilman, devicetree Cc: Mark Brown, linux-spi, Neil Armstrong, Jerome Brunet, Rob Herring, Mark Rutland, Carlo Caione, Yixun Lan, Sunny Luo, linux-amlogic, linux-arm-kernel, linux-kernel From: Sunny Luo <sunny.luo@amlogic.com> Update the compatbile string to support Meson-AXG SoCs. Signed-off-by: Sunny Luo <sunny.luo@amlogic.com> Signed-off-by: Yixun Lan <yixun.lan@amlogic.com> --- Documentation/devicetree/bindings/spi/spi-meson.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/spi/spi-meson.txt b/Documentation/devicetree/bindings/spi/spi-meson.txt index 825c39cae74a..b7f5e86fed22 100644 --- a/Documentation/devicetree/bindings/spi/spi-meson.txt +++ b/Documentation/devicetree/bindings/spi/spi-meson.txt @@ -27,7 +27,9 @@ The Meson SPICC is generic SPI controller for general purpose Full-Duplex communications with dedicated 16 words RX/TX PIO FIFOs. Required properties: - - compatible: should be "amlogic,meson-gx-spicc" on Amlogic GX SoCs. + - compatible: should be: + "amlogic,meson-gx-spicc" on Amlogic GX and compatible SoCs. + "amlogic,meson-axg-spicc" on Amlogic AXG and compatible SoCs - reg: physical base address and length of the controller registers - interrupts: The interrupt specifier - clock-names: Must contain "core" -- 2.15.0 ^ permalink raw reply related [flat|nested] 10+ messages in thread
[parent not found: <20171128132926.19051-2-yixun.lan-LpR1jeaWuhtBDgjK7y7TUQ@public.gmane.org>]
* Re: [PATCH 1/3] dt-bindings: spicc: update compatible string for the Meson-AXG [not found] ` <20171128132926.19051-2-yixun.lan-LpR1jeaWuhtBDgjK7y7TUQ@public.gmane.org> @ 2017-11-28 16:38 ` Rob Herring 2017-11-28 20:20 ` Mark Brown 1 sibling, 0 replies; 10+ messages in thread From: Rob Herring @ 2017-11-28 16:38 UTC (permalink / raw) To: Yixun Lan Cc: Kevin Hilman, devicetree-u79uwXL29TY76Z2rM5mHXA, Mark Brown, linux-spi-u79uwXL29TY76Z2rM5mHXA, Neil Armstrong, Jerome Brunet, Mark Rutland, Carlo Caione, Sunny Luo, linux-amlogic-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, linux-kernel-u79uwXL29TY76Z2rM5mHXA On Tue, Nov 28, 2017 at 09:29:24PM +0800, Yixun Lan wrote: > From: Sunny Luo <sunny.luo-LpR1jeaWuhtBDgjK7y7TUQ@public.gmane.org> > > Update the compatbile string to support Meson-AXG SoCs. > > Signed-off-by: Sunny Luo <sunny.luo-LpR1jeaWuhtBDgjK7y7TUQ@public.gmane.org> > Signed-off-by: Yixun Lan <yixun.lan-LpR1jeaWuhtBDgjK7y7TUQ@public.gmane.org> > --- > Documentation/devicetree/bindings/spi/spi-meson.txt | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) Acked-by: Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> -- To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH 1/3] dt-bindings: spicc: update compatible string for the Meson-AXG [not found] ` <20171128132926.19051-2-yixun.lan-LpR1jeaWuhtBDgjK7y7TUQ@public.gmane.org> 2017-11-28 16:38 ` Rob Herring @ 2017-11-28 20:20 ` Mark Brown 1 sibling, 0 replies; 10+ messages in thread From: Mark Brown @ 2017-11-28 20:20 UTC (permalink / raw) To: Yixun Lan Cc: Kevin Hilman, devicetree-u79uwXL29TY76Z2rM5mHXA, linux-spi-u79uwXL29TY76Z2rM5mHXA, Neil Armstrong, Jerome Brunet, Rob Herring, Mark Rutland, Carlo Caione, Sunny Luo, linux-amlogic-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, linux-kernel-u79uwXL29TY76Z2rM5mHXA [-- Attachment #1: Type: text/plain, Size: 486 bytes --] On Tue, Nov 28, 2017 at 09:29:24PM +0800, Yixun Lan wrote: > From: Sunny Luo <sunny.luo-LpR1jeaWuhtBDgjK7y7TUQ@public.gmane.org> > > Update the compatbile string to support Meson-AXG SoCs. Please submit patches using subject lines reflecting the style for the subsystem. This makes it easier for people to identify relevant patches. Look at what existing commits in the area you're changing are doing and make sure your subject lines visually resemble what they're doing. [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 484 bytes --] ^ permalink raw reply [flat|nested] 10+ messages in thread
* Applied "spi: meson-axg: update compatible string for the Meson-AXG" to the spi tree 2017-11-28 13:29 ` [PATCH 1/3] dt-bindings: spicc: update compatible string for the Meson-AXG Yixun Lan [not found] ` <20171128132926.19051-2-yixun.lan-LpR1jeaWuhtBDgjK7y7TUQ@public.gmane.org> @ 2017-11-28 20:22 ` Mark Brown 1 sibling, 0 replies; 10+ messages in thread From: Mark Brown @ 2017-11-28 20:22 UTC (permalink / raw) To: Sunny Luo; +Cc: Yixun Lan, Rob Herring, Mark Brown, Kevin Hilman, devicetree The patch spi: meson-axg: update compatible string for the Meson-AXG has been applied to the spi tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark >From a78841479696efa557a2251c86462c936a208f90 Mon Sep 17 00:00:00 2001 From: Sunny Luo <sunny.luo@amlogic.com> Date: Tue, 28 Nov 2017 21:29:24 +0800 Subject: [PATCH] spi: meson-axg: update compatible string for the Meson-AXG Update the compatbile string to support Meson-AXG SoCs. Signed-off-by: Sunny Luo <sunny.luo@amlogic.com> Signed-off-by: Yixun Lan <yixun.lan@amlogic.com> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Mark Brown <broonie@kernel.org> --- Documentation/devicetree/bindings/spi/spi-meson.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/spi/spi-meson.txt b/Documentation/devicetree/bindings/spi/spi-meson.txt index 825c39cae74a..b7f5e86fed22 100644 --- a/Documentation/devicetree/bindings/spi/spi-meson.txt +++ b/Documentation/devicetree/bindings/spi/spi-meson.txt @@ -27,7 +27,9 @@ The Meson SPICC is generic SPI controller for general purpose Full-Duplex communications with dedicated 16 words RX/TX PIO FIFOs. Required properties: - - compatible: should be "amlogic,meson-gx-spicc" on Amlogic GX SoCs. + - compatible: should be: + "amlogic,meson-gx-spicc" on Amlogic GX and compatible SoCs. + "amlogic,meson-axg-spicc" on Amlogic AXG and compatible SoCs - reg: physical base address and length of the controller registers - interrupts: The interrupt specifier - clock-names: Must contain "core" -- 2.15.0 ^ permalink raw reply related [flat|nested] 10+ messages in thread
[parent not found: <20171128132926.19051-1-yixun.lan-LpR1jeaWuhtBDgjK7y7TUQ@public.gmane.org>]
* [PATCH 2/3] spi: meson-axg: add SPICC driver support [not found] ` <20171128132926.19051-1-yixun.lan-LpR1jeaWuhtBDgjK7y7TUQ@public.gmane.org> @ 2017-11-28 13:29 ` Yixun Lan [not found] ` <20171128132926.19051-3-yixun.lan-LpR1jeaWuhtBDgjK7y7TUQ@public.gmane.org> 0 siblings, 1 reply; 10+ messages in thread From: Yixun Lan @ 2017-11-28 13:29 UTC (permalink / raw) To: Kevin Hilman, devicetree-u79uwXL29TY76Z2rM5mHXA Cc: Mark Brown, linux-spi-u79uwXL29TY76Z2rM5mHXA, Neil Armstrong, Jerome Brunet, Rob Herring, Mark Rutland, Carlo Caione, Yixun Lan, Sunny Luo, linux-amlogic-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, linux-kernel-u79uwXL29TY76Z2rM5mHXA From: Sunny Luo <sunny.luo-LpR1jeaWuhtBDgjK7y7TUQ@public.gmane.org> Add new compatible string to support SPICC controller which found at Amlogic Meson-AXG SoC. This is aiming at adding a couple of enhanced feature patches. Signed-off-by: Sunny Luo <sunny.luo-LpR1jeaWuhtBDgjK7y7TUQ@public.gmane.org> Signed-off-by: Yixun Lan <yixun.lan-LpR1jeaWuhtBDgjK7y7TUQ@public.gmane.org> --- drivers/spi/spi-meson-spicc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/spi/spi-meson-spicc.c b/drivers/spi/spi-meson-spicc.c index 7f8429635502..5c82910e3480 100644 --- a/drivers/spi/spi-meson-spicc.c +++ b/drivers/spi/spi-meson-spicc.c @@ -599,6 +599,7 @@ static int meson_spicc_remove(struct platform_device *pdev) static const struct of_device_id meson_spicc_of_match[] = { { .compatible = "amlogic,meson-gx-spicc", }, + { .compatible = "amlogic,meson-axg-spicc", }, { /* sentinel */ } }; MODULE_DEVICE_TABLE(of, meson_spicc_of_match); -- 2.15.0 -- To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply related [flat|nested] 10+ messages in thread
[parent not found: <20171128132926.19051-3-yixun.lan-LpR1jeaWuhtBDgjK7y7TUQ@public.gmane.org>]
* Applied "spi: meson-axg: add SPICC driver support" to the spi tree [not found] ` <20171128132926.19051-3-yixun.lan-LpR1jeaWuhtBDgjK7y7TUQ@public.gmane.org> @ 2017-11-28 20:22 ` Mark Brown 0 siblings, 0 replies; 10+ messages in thread From: Mark Brown @ 2017-11-28 20:22 UTC (permalink / raw) To: Sunny Luo Cc: Yixun Lan, Mark Brown, Kevin Hilman, devicetree-u79uwXL29TY76Z2rM5mHXA The patch spi: meson-axg: add SPICC driver support has been applied to the spi tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark >From a5db27c00da37654ba518b814925d4e9cd05259c Mon Sep 17 00:00:00 2001 From: Sunny Luo <sunny.luo-LpR1jeaWuhtBDgjK7y7TUQ@public.gmane.org> Date: Tue, 28 Nov 2017 21:29:25 +0800 Subject: [PATCH] spi: meson-axg: add SPICC driver support Add new compatible string to support SPICC controller which found at Amlogic Meson-AXG SoC. This is aiming at adding a couple of enhanced feature patches. Signed-off-by: Sunny Luo <sunny.luo-LpR1jeaWuhtBDgjK7y7TUQ@public.gmane.org> Signed-off-by: Yixun Lan <yixun.lan-LpR1jeaWuhtBDgjK7y7TUQ@public.gmane.org> Signed-off-by: Mark Brown <broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> --- drivers/spi/spi-meson-spicc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/spi/spi-meson-spicc.c b/drivers/spi/spi-meson-spicc.c index 7f8429635502..5c82910e3480 100644 --- a/drivers/spi/spi-meson-spicc.c +++ b/drivers/spi/spi-meson-spicc.c @@ -599,6 +599,7 @@ static int meson_spicc_remove(struct platform_device *pdev) static const struct of_device_id meson_spicc_of_match[] = { { .compatible = "amlogic,meson-gx-spicc", }, + { .compatible = "amlogic,meson-axg-spicc", }, { /* sentinel */ } }; MODULE_DEVICE_TABLE(of, meson_spicc_of_match); -- 2.15.0 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH 3/3] ARM64: dts: meson-axg: add the SPICC controller 2017-11-28 13:29 [PATCH 0/3] spicc: meson-axg: add SPICC controller Yixun Lan 2017-11-28 13:29 ` [PATCH 1/3] dt-bindings: spicc: update compatible string for the Meson-AXG Yixun Lan [not found] ` <20171128132926.19051-1-yixun.lan-LpR1jeaWuhtBDgjK7y7TUQ@public.gmane.org> @ 2017-11-28 13:29 ` Yixun Lan [not found] ` <20171128132926.19051-4-yixun.lan-LpR1jeaWuhtBDgjK7y7TUQ@public.gmane.org> 2 siblings, 1 reply; 10+ messages in thread From: Yixun Lan @ 2017-11-28 13:29 UTC (permalink / raw) To: Kevin Hilman, devicetree Cc: Mark Brown, linux-spi, Neil Armstrong, Jerome Brunet, Rob Herring, Mark Rutland, Carlo Caione, Yixun Lan, Sunny Luo, linux-amlogic, linux-arm-kernel, linux-kernel From: Sunny Luo <sunny.luo@amlogic.com> Add DT info for the SPICC controller which found in the Amlogic's Meson-AXG SoC. Signed-off-by: Sunny Luo <sunny.luo@amlogic.com> Signed-off-by: Yixun Lan <yixun.lan@amlogic.com> --- arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 92 ++++++++++++++++++++++++++++++ 1 file changed, 92 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi index fe3878f7718c..021b929d8d6e 100644 --- a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi @@ -208,6 +208,28 @@ interrupts = <GIC_SPI 75 IRQ_TYPE_EDGE_RISING>; status = "disabled"; }; + + spicc_a: spi@13000 { + compatible = "amlogic,meson-axg-spicc"; + reg = <0x0 0x13000 0x0 0x3c>; + interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&clkc CLKID_SPICC0>; + clock-names = "core"; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + spicc_b: spi@15000 { + compatible = "amlogic,meson-axg-spicc"; + reg = <0x0 0x15000 0x0 0x3c>; + interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&clkc CLKID_SPICC1>; + clock-names = "core"; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; }; gic: interrupt-controller@ffc01000 { @@ -470,6 +492,76 @@ function = "pwm_d"; }; }; + + spi_a_pins: spi_a { + mux { + groups = "spi_miso_a", + "spi_mosi_a", + "spi_clk_a"; + function = "spi_a"; + }; + }; + + spi_ss0_a_pins: spi_ss0_a { + mux { + groups = "spi_ss0_a"; + function = "spi_a"; + }; + }; + + spi_ss1_a_pins: spi_ss1_a { + mux { + groups = "spi_ss1_a"; + function = "spi_a"; + }; + }; + + spi_ss2_a_pins: spi_ss2_a { + mux { + groups = "spi_ss2_a"; + function = "spi_a"; + }; + }; + + + spi_b_a_pins: spi_b_a { + mux { + groups = "spi_miso_b_a", + "spi_mosi_b_a", + "spi_clk_b_a"; + function = "spi_b"; + }; + }; + + spi_ss0_b_a_pins: spi_ss0_b_a { + mux { + groups = "spi_ss0_b_a"; + function = "spi_b"; + }; + }; + + spi_ss1_b_pins: spi_ss1_b { + mux { + groups = "spi_ss1_b"; + function = "spi_b"; + }; + }; + + spi_b_x_pins: spi_b_x { + mux { + groups = "spi_miso_b_x", + "spi_mosi_b_x", + "spi_clk_b_x"; + function = "spi_b"; + }; + }; + + spi_ss0_b_x_pins: spi_ss0_b_x { + mux { + groups = "spi_ss0_b_x"; + function = "spi_b"; + }; + }; }; }; -- 2.15.0 ^ permalink raw reply related [flat|nested] 10+ messages in thread
[parent not found: <20171128132926.19051-4-yixun.lan-LpR1jeaWuhtBDgjK7y7TUQ@public.gmane.org>]
* Re: [PATCH 3/3] ARM64: dts: meson-axg: add the SPICC controller [not found] ` <20171128132926.19051-4-yixun.lan-LpR1jeaWuhtBDgjK7y7TUQ@public.gmane.org> @ 2017-12-06 23:57 ` Kevin Hilman [not found] ` <7hy3mfmmtd.fsf-rdvid1DuHRBWk0Htik3J/w@public.gmane.org> 0 siblings, 1 reply; 10+ messages in thread From: Kevin Hilman @ 2017-12-06 23:57 UTC (permalink / raw) To: Yixun Lan Cc: devicetree-u79uwXL29TY76Z2rM5mHXA, Mark Brown, linux-spi-u79uwXL29TY76Z2rM5mHXA, Neil Armstrong, Jerome Brunet, Rob Herring, Mark Rutland, Carlo Caione, Sunny Luo, linux-amlogic-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, linux-kernel-u79uwXL29TY76Z2rM5mHXA Yixun Lan <yixun.lan-LpR1jeaWuhtBDgjK7y7TUQ@public.gmane.org> writes: > From: Sunny Luo <sunny.luo-LpR1jeaWuhtBDgjK7y7TUQ@public.gmane.org> > > Add DT info for the SPICC controller which found in > the Amlogic's Meson-AXG SoC. > > Signed-off-by: Sunny Luo <sunny.luo-LpR1jeaWuhtBDgjK7y7TUQ@public.gmane.org> > Signed-off-by: Yixun Lan <yixun.lan-LpR1jeaWuhtBDgjK7y7TUQ@public.gmane.org> This patch looks OK but it doesn't apply cleanly. A quick glance suggests that it's becuase it has a dependency on the PWM series, but that dependency was not described here (or in the cover letter.) If the series does not apply directly on mainline, the cover letter should describe the dependencies clearly. In your case, I understand it's difficult because you have many series in parallel at the same time. I would suggest that locally, you keep each series as independent branches based on the latest -rc tag. It's pretty easy for me to resolve simple add-add conflicts when there are two different series adding to the DT, but it can be more time consuming when I have to figure out the dependencies myself, so I generally don't do that and just reject the patches instead so the submitter can work out (and document) the dependencies. Also some questions... > --- > arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 92 ++++++++++++++++++++++++++++++ > 1 file changed, 92 insertions(+) > > diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi > index fe3878f7718c..021b929d8d6e 100644 > --- a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi > +++ b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi > @@ -208,6 +208,28 @@ > interrupts = <GIC_SPI 75 IRQ_TYPE_EDGE_RISING>; > status = "disabled"; > }; > + > + spicc_a: spi@13000 { > + compatible = "amlogic,meson-axg-spicc"; > + reg = <0x0 0x13000 0x0 0x3c>; > + interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>; > + clocks = <&clkc CLKID_SPICC0>; > + clock-names = "core"; > + #address-cells = <1>; > + #size-cells = <0>; > + status = "disabled"; > + }; > + > + spicc_b: spi@15000 { > + compatible = "amlogic,meson-axg-spicc"; > + reg = <0x0 0x15000 0x0 0x3c>; > + interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>; > + clocks = <&clkc CLKID_SPICC1>; > + clock-names = "core"; > + #address-cells = <1>; > + #size-cells = <0>; > + status = "disabled"; > + }; Here you use the labels spicc_a and spicc_b, but the datasheet uses 0 and 1. Why the difference? Hmm, but after looking at the pin definitions those are using A and B. Confusing. Can you clarify which is the right one, and also work with the datasheet team on consistency? Thanks! Kevin > }; > > gic: interrupt-controller@ffc01000 { > @@ -470,6 +492,76 @@ > function = "pwm_d"; > }; > }; > + > + spi_a_pins: spi_a { > + mux { > + groups = "spi_miso_a", > + "spi_mosi_a", > + "spi_clk_a"; > + function = "spi_a"; > + }; > + }; > + > + spi_ss0_a_pins: spi_ss0_a { > + mux { > + groups = "spi_ss0_a"; > + function = "spi_a"; > + }; > + }; > + > + spi_ss1_a_pins: spi_ss1_a { > + mux { > + groups = "spi_ss1_a"; > + function = "spi_a"; > + }; > + }; > + > + spi_ss2_a_pins: spi_ss2_a { > + mux { > + groups = "spi_ss2_a"; > + function = "spi_a"; > + }; > + }; > + > + > + spi_b_a_pins: spi_b_a { > + mux { > + groups = "spi_miso_b_a", > + "spi_mosi_b_a", > + "spi_clk_b_a"; > + function = "spi_b"; > + }; > + }; > + > + spi_ss0_b_a_pins: spi_ss0_b_a { > + mux { > + groups = "spi_ss0_b_a"; > + function = "spi_b"; > + }; > + }; > + > + spi_ss1_b_pins: spi_ss1_b { > + mux { > + groups = "spi_ss1_b"; > + function = "spi_b"; > + }; > + }; > + > + spi_b_x_pins: spi_b_x { > + mux { > + groups = "spi_miso_b_x", > + "spi_mosi_b_x", > + "spi_clk_b_x"; > + function = "spi_b"; > + }; > + }; > + > + spi_ss0_b_x_pins: spi_ss0_b_x { > + mux { > + groups = "spi_ss0_b_x"; > + function = "spi_b"; > + }; > + }; > }; > }; -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <7hy3mfmmtd.fsf-rdvid1DuHRBWk0Htik3J/w@public.gmane.org>]
* Re: [PATCH 3/3] ARM64: dts: meson-axg: add the SPICC controller [not found] ` <7hy3mfmmtd.fsf-rdvid1DuHRBWk0Htik3J/w@public.gmane.org> @ 2017-12-07 0:04 ` Kevin Hilman 0 siblings, 0 replies; 10+ messages in thread From: Kevin Hilman @ 2017-12-07 0:04 UTC (permalink / raw) To: Yixun Lan Cc: devicetree, Mark Brown, open list:SPI SUBSYSTEM, Neil Armstrong, Jerome Brunet, Rob Herring, Mark Rutland, Carlo Caione, Sunny Luo, linux-amlogic, linux-arm-kernel, lkml On Wed, Dec 6, 2017 at 3:57 PM, Kevin Hilman <khilman-rdvid1DuHRBWk0Htik3J/w@public.gmane.org> wrote: > Yixun Lan <yixun.lan-LpR1jeaWuhtBDgjK7y7TUQ@public.gmane.org> writes: > >> From: Sunny Luo <sunny.luo-LpR1jeaWuhtBDgjK7y7TUQ@public.gmane.org> >> >> Add DT info for the SPICC controller which found in >> the Amlogic's Meson-AXG SoC. >> >> Signed-off-by: Sunny Luo <sunny.luo-LpR1jeaWuhtBDgjK7y7TUQ@public.gmane.org> >> Signed-off-by: Yixun Lan <yixun.lan-LpR1jeaWuhtBDgjK7y7TUQ@public.gmane.org> > > This patch looks OK but it doesn't apply cleanly. > > A quick glance suggests that it's becuase it has a dependency on the PWM > series, but that dependency was not described here (or in the cover > letter.) > > If the series does not apply directly on mainline, the cover letter > should describe the dependencies clearly. > > In your case, I understand it's difficult because you have many series > in parallel at the same time. I would suggest that locally, you keep > each series as independent branches based on the latest -rc tag. Correction: while in general it's best to keep things based on the latest -rc tag, for DT patches, it's even better if you base things on my current <version>/dt64 branch (currently v4.16/dt64) Kevin -- To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2017-12-07 0:04 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-28 13:29 [PATCH 0/3] spicc: meson-axg: add SPICC controller Yixun Lan
2017-11-28 13:29 ` [PATCH 1/3] dt-bindings: spicc: update compatible string for the Meson-AXG Yixun Lan
[not found] ` <20171128132926.19051-2-yixun.lan-LpR1jeaWuhtBDgjK7y7TUQ@public.gmane.org>
2017-11-28 16:38 ` Rob Herring
2017-11-28 20:20 ` Mark Brown
2017-11-28 20:22 ` Applied "spi: meson-axg: update compatible string for the Meson-AXG" to the spi tree Mark Brown
[not found] ` <20171128132926.19051-1-yixun.lan-LpR1jeaWuhtBDgjK7y7TUQ@public.gmane.org>
2017-11-28 13:29 ` [PATCH 2/3] spi: meson-axg: add SPICC driver support Yixun Lan
[not found] ` <20171128132926.19051-3-yixun.lan-LpR1jeaWuhtBDgjK7y7TUQ@public.gmane.org>
2017-11-28 20:22 ` Applied "spi: meson-axg: add SPICC driver support" to the spi tree Mark Brown
2017-11-28 13:29 ` [PATCH 3/3] ARM64: dts: meson-axg: add the SPICC controller Yixun Lan
[not found] ` <20171128132926.19051-4-yixun.lan-LpR1jeaWuhtBDgjK7y7TUQ@public.gmane.org>
2017-12-06 23:57 ` Kevin Hilman
[not found] ` <7hy3mfmmtd.fsf-rdvid1DuHRBWk0Htik3J/w@public.gmane.org>
2017-12-07 0:04 ` Kevin Hilman
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).