From: Shawn Guo <shawnguo@kernel.org>
To: Christoph Niedermaier <cniedermaier@dh-electronics.com>
Cc: linux-arm-kernel@lists.infradead.org,
Fabio Estevam <festevam@gmail.com>, Marek Vasut <marex@denx.de>,
NXP Linux Team <linux-imx@nxp.com>,
kernel@dh-electronics.com
Subject: Re: [PATCH 06/20] ARM: dts: imx6q-dhcom: Add the parallel system bus
Date: Sat, 12 Jun 2021 12:19:57 +0800 [thread overview]
Message-ID: <20210612041956.GT29138@dragon> (raw)
In-Reply-To: <20210526105417.52996-7-cniedermaier@dh-electronics.com>
On Wed, May 26, 2021 at 12:54:03PM +0200, Christoph Niedermaier wrote:
> Add the parallel system bus provided by the i.MX6 weim interface
> via an address latch.
>
> Signed-off-by: Christoph Niedermaier <cniedermaier@dh-electronics.com>
> Cc: Shawn Guo <shawnguo@kernel.org>
> Cc: Fabio Estevam <festevam@gmail.com>
> Cc: Marek Vasut <marex@denx.de>
> Cc: NXP Linux Team <linux-imx@nxp.com>
> Cc: kernel@dh-electronics.com
> To: linux-arm-kernel@lists.infradead.org
> ---
> arch/arm/boot/dts/imx6q-dhcom-som.dtsi | 56 ++++++++++++++++++++++++++++++++++
> 1 file changed, 56 insertions(+)
>
> diff --git a/arch/arm/boot/dts/imx6q-dhcom-som.dtsi b/arch/arm/boot/dts/imx6q-dhcom-som.dtsi
> index 4bf51f3ce003..ad9cb50cdd0e 100644
> --- a/arch/arm/boot/dts/imx6q-dhcom-som.dtsi
> +++ b/arch/arm/boot/dts/imx6q-dhcom-som.dtsi
> @@ -46,6 +46,13 @@
> vin-supply = <&sw2_reg>;
> };
>
> + reg_latch_oe_on: regulator-latch-oe-on {
> + compatible = "regulator-fixed";
> + gpio = <&gpio3 22 GPIO_ACTIVE_HIGH>;
enable-active-high is missing?
Shawn
> + regulator-always-on;
> + regulator-name = "latch_oe_on";
> + };
> +
> reg_usb_otg_vbus: regulator-usb-otg-vbus {
> compatible = "regulator-fixed";
> regulator-name = "usb_otg_vbus";
> @@ -455,6 +462,43 @@
> MX6QDL_PAD_SD4_DAT7__SD4_DATA7 0x17059
> >;
> };
> +
> + pinctrl_weim: weim-grp {
> + fsl,pins = <
> + MX6QDL_PAD_EIM_OE__EIM_OE_B 0xb0a6
> + MX6QDL_PAD_EIM_RW__EIM_RW 0xb0a6 /* WE */
> + MX6QDL_PAD_EIM_LBA__EIM_LBA_B 0xb060 /* LE */
> + MX6QDL_PAD_EIM_D22__GPIO3_IO22 0x130b0
> + MX6QDL_PAD_EIM_DA15__EIM_AD15 0xb0a6
> + MX6QDL_PAD_EIM_DA14__EIM_AD14 0xb0a6
> + MX6QDL_PAD_EIM_DA13__EIM_AD13 0xb0a6
> + MX6QDL_PAD_EIM_DA12__EIM_AD12 0xb0a6
> + MX6QDL_PAD_EIM_DA11__EIM_AD11 0xb0a6
> + MX6QDL_PAD_EIM_DA10__EIM_AD10 0xb0a6
> + MX6QDL_PAD_EIM_DA9__EIM_AD09 0xb0a6
> + MX6QDL_PAD_EIM_DA8__EIM_AD08 0xb0a6
> + MX6QDL_PAD_EIM_DA7__EIM_AD07 0xb0a6
> + MX6QDL_PAD_EIM_DA6__EIM_AD06 0xb0a6
> + MX6QDL_PAD_EIM_DA5__EIM_AD05 0xb0a6
> + MX6QDL_PAD_EIM_DA4__EIM_AD04 0xb0a6
> + MX6QDL_PAD_EIM_DA3__EIM_AD03 0xb0a6
> + MX6QDL_PAD_EIM_DA2__EIM_AD02 0xb0a6
> + MX6QDL_PAD_EIM_DA1__EIM_AD01 0xb0a6
> + MX6QDL_PAD_EIM_DA0__EIM_AD00 0xb0a6
> + >;
> + };
> +
> + pinctrl_weim_cs0: weim-cs0-grp {
> + fsl,pins = <
> + MX6QDL_PAD_EIM_CS0__EIM_CS0_B 0xb0b1
> + >;
> + };
> +
> + pinctrl_weim_cs1: weim-cs1-grp {
> + fsl,pins = <
> + MX6QDL_PAD_EIM_CS1__EIM_CS1_B 0xb0b1
> + >;
> + };
> };
>
> ®_arm {
> @@ -544,3 +588,15 @@
> keep-power-in-suspend;
> status = "okay";
> };
> +
> +&weim {
> + #address-cells = <2>;
> + #size-cells = <1>;
> + fsl,weim-cs-gpr = <&gpr>;
> + pinctrl-names = "default";
> + pinctrl-0 = <&pinctrl_weim &pinctrl_weim_cs0 &pinctrl_weim_cs1>;
> + /* It is necessary to setup 2x 64MB otherwise setting gpr fails */
> + ranges = <0 0 0x08000000 0x04000000>, /* CS0 */
> + <1 0 0x0c000000 0x04000000>; /* CS1 */
> + status = "disabled";
> +};
> --
> 2.11.0
>
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2021-06-12 4:23 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-26 10:53 [PATCH 00/20] ARM: dts: imx6q-dhcom: Fix/update PDK2 board and adding PicoITX and DRC02 board Christoph Niedermaier
2021-05-26 10:53 ` [PATCH 01/20] ARM: dts: imx6q-dhcom: Fix ethernet reset time properties Christoph Niedermaier
2021-06-12 4:14 ` Shawn Guo
2021-05-26 10:53 ` [PATCH 02/20] ARM: dts: imx6q-dhcom: Fix ethernet plugin detection problems Christoph Niedermaier
2021-06-12 4:14 ` Shawn Guo
2021-05-26 10:54 ` [PATCH 03/20] ARM: dts: imx6q-dhcom: Add gpios pinctrl for i2c bus recovery Christoph Niedermaier
2021-06-12 4:15 ` Shawn Guo
2021-05-26 10:54 ` [PATCH 04/20] ARM: dts: imx6q-dhcom: Add aliases for i2c, serial and rtc Christoph Niedermaier
2021-06-12 4:16 ` Shawn Guo
2021-05-26 10:54 ` [PATCH 05/20] ARM: dts: imx6q-dhcom: Add ethernet VIO regulator Christoph Niedermaier
2021-06-12 4:17 ` Shawn Guo
2021-05-26 10:54 ` [PATCH 06/20] ARM: dts: imx6q-dhcom: Add the parallel system bus Christoph Niedermaier
2021-06-12 4:19 ` Shawn Guo [this message]
2021-06-16 13:20 ` Christoph Niedermaier
2021-05-26 10:54 ` [PATCH 07/20] ARM: dts: imx6q-dhcom: Add interrupt and compatible to the ethernet PHY Christoph Niedermaier
2021-05-26 10:54 ` [PATCH 08/20] ARM: dts: imx6q-dhcom: Fill GPIO line names on DHCOM SoM Christoph Niedermaier
2021-05-26 10:54 ` [PATCH 09/20] ARM: dts: imx6q-dhcom: Adding Wake pin to the PCIe pinctrl Christoph Niedermaier
2021-05-26 10:54 ` [PATCH 10/20] ARM: dts: imx6q-dhcom: Align stdout-path with other DHCOM SoMs Christoph Niedermaier
2021-05-26 10:54 ` [PATCH 11/20] ARM: dts: imx6q-dhcom: Add keys and leds to the PDK2 board Christoph Niedermaier
2021-05-26 10:54 ` [PATCH 12/20] ARM: dts: imx6q-dhcom: Use 1G ethernet on " Christoph Niedermaier
2021-05-26 10:54 ` [PATCH 13/20] ARM: dts: imx6q-dhcom: Rework of the DHCOM GPIO pinctrls Christoph Niedermaier
2021-05-26 10:54 ` [PATCH 14/20] ARM: dts: imx6q-dhcom: Remove ddc-i2c-bus property Christoph Niedermaier
2021-05-26 10:54 ` [PATCH 15/20] ARM: dts: imx6q-dhcom: Set minimum memory size of all DHCOM i.MX6 variants Christoph Niedermaier
2021-05-26 10:54 ` [PATCH 16/20] ARM: dts: imx6q-dhcom: Rearrange of iomux Christoph Niedermaier
2021-05-26 10:54 ` [PATCH 17/20] ARM: dts: imx6q-dhcom: Cleanup of the devicetrees Christoph Niedermaier
2021-05-26 10:54 ` [PATCH 18/20] ARM: dts: imx6qdl-dhcom: Split SoC-independent parts of DHCOM SOM and PDK2 Christoph Niedermaier
2021-05-26 10:54 ` [PATCH 19/20] ARM: dts: imx6qdl-dhcom: Add DHCOM based PicoITX board Christoph Niedermaier
2021-05-26 10:54 ` [PATCH 20/20] ARM: dts: imx6qdl-dhcom: Add DHSOM based DRC02 board Christoph Niedermaier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210612041956.GT29138@dragon \
--to=shawnguo@kernel.org \
--cc=cniedermaier@dh-electronics.com \
--cc=festevam@gmail.com \
--cc=kernel@dh-electronics.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-imx@nxp.com \
--cc=marex@denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).