From: Rob Herring <robh@kernel•org>
To: "Angus Ainslie (Purism)" <angus@akkea•ca>
Cc: "Mark Rutland" <mark.rutland@arm•com>,
"Jacky Bai" <ping.bai@nxp•com>,
"Palmer Dabbelt" <palmer@sifive•com>,
"Bruno Thomsen" <bruno.thomsen@gmail•com>,
m.felsch@pengutronix•de, "Guo Ren" <guoren@kernel•org>,
"Manivannan Sadhasivam" <manivannan.sadhasivam@linaro•org>,
linux-riscv@lists•infradead.org,
"Fabio Estevam" <festevam@gmail•com>,
"Andrey Smirnov" <andrew.smirnov@gmail•com>,
"Kevin Hilman" <khilman@baylibre•com>,
"NXP Linux Team" <linux-imx@nxp•com>,
"Thierry Reding" <treding@nvidia•com>,
devicetree@vger•kernel.org, "Albert Ou" <aou@eecs•berkeley.edu>,
"Sascha Hauer" <s.hauer@pengutronix•de>,
"Jonathan Neuschäfer" <j.neuschaefer@gmx•net>,
linux-mediatek@lists•infradead.org,
"Paul Walmsley" <paul.walmsley@sifive•com>,
"Jonathan Cameron" <Jonathan.Cameron@huawei•com>,
"Matthias Brugger" <matthias.bgg@gmail•com>,
linux-arm-kernel@lists•infradead.org,
"Aisheng Dong" <aisheng.dong@nxp•com>,
linux-kernel@vger•kernel.org,
"Pengutronix Kernel Team" <kernel@pengutronix•de>,
angus.ainslie@puri•sm, "Shawn Guo" <shawnguo@kernel•org>
Subject: Re: [PATCH v5 1/3] arm64: dts: fsl: librem5: Add a device tree for the Librem5 devkit
Date: Thu, 18 Apr 2019 10:13:50 -0500 [thread overview]
Message-ID: <20190418151350.GC32345@bogus> (raw)
In-Reply-To: <20190417165514.18689-2-angus@akkea.ca>
On Wed, Apr 17, 2019 at 09:55:12AM -0700, Angus Ainslie (Purism) wrote:
> This is the development kit board for the Librem 5. The current level of
> support yields a working console and is able to boot userspace from the
> Network or eMMC.
>
> Additional subsystems that are active :
>
> - Both USB ports
> - SD card socket
> - WiFi usdhc
> - WWAN modem
> - GNSS
> - GPIO keys
> - LEDs
> - gyro
> - magnetometer
> - touchscreen
> - pwm
> - backlight
> - haptic motor
>
> Signed-off-by: Angus Ainslie (Purism) <angus@akkea•ca>
> ---
> arch/arm64/boot/dts/freescale/Makefile | 1 +
> .../dts/freescale/imx8mq-librem5-devkit.dts | 833 ++++++++++++++++++
> 2 files changed, 834 insertions(+)
> create mode 100644 arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts
>
> diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dts/freescale/Makefile
> index 0bd122f60549..c043aca66572 100644
> --- a/arch/arm64/boot/dts/freescale/Makefile
> +++ b/arch/arm64/boot/dts/freescale/Makefile
> @@ -22,6 +22,7 @@ dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-lx2160a-rdb.dtb
>
> dtb-$(CONFIG_ARCH_MXC) += imx8mm-evk.dtb
> dtb-$(CONFIG_ARCH_MXC) += imx8mq-evk.dtb
> +dtb-$(CONFIG_ARCH_MXC) += imx8mq-librem5-devkit.dtb
> dtb-$(CONFIG_ARCH_MXC) += imx8mq-zii-ultra-rmb3.dtb
> dtb-$(CONFIG_ARCH_MXC) += imx8mq-zii-ultra-zest.dtb
> dtb-$(CONFIG_ARCH_MXC) += imx8qxp-mek.dtb
> diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts b/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts
> new file mode 100644
> index 000000000000..846a72dc7640
> --- /dev/null
> +++ b/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts
> +&usb3_phy0 {
> + #address-cells = <1>;
> + #size-cells = <0>;
> + status = "okay";
> +
> + port@0 {
> + reg = <0>;
> +
> + typec_hs: endpoint {
> + remote-endpoint = <&usb_con_hs>;
> + };
> + };
> +
> + port@1 {
> + reg = <1>;
> +
> + typec_ss: endpoint {
> + remote-endpoint = <&usb_con_ss>;
> + };
> + };
This is wrong. The graph should be between the USB controller and the
connector. The phy is not involved.
> +};
> +
> +&usb3_phy1 {
> + status = "okay";
> +};
> +
> +&usb_dwc3_0 {
> + extcon = <&typec_ptn5100>;
extcon is deprecated and you should only have the usb-connector binding.
From the controller, you can walk the graph to the connector.
> + dr_mode = "otg";
> + status = "okay";
> +};
_______________________________________________
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:[~2019-04-18 15:14 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-17 16:55 [PATCH v5 0/3] Add support for the Purism Librem5 devkit Angus Ainslie (Purism)
2019-04-17 16:55 ` [PATCH v5 1/3] arm64: dts: fsl: librem5: Add a device tree for the " Angus Ainslie (Purism)
2019-04-18 15:13 ` Rob Herring [this message]
2019-04-18 17:44 ` Angus Ainslie
2019-04-22 13:39 ` Rob Herring
2019-04-17 16:55 ` [PATCH v5 2/3] dt-bindings: Add an entry for Purism SPC Angus Ainslie (Purism)
2019-04-18 15:05 ` Rob Herring
2019-04-17 16:55 ` [PATCH v5 3/3] dt-bindings: arm: fsl: Add the imx8mq boards Angus Ainslie (Purism)
2019-04-18 15:04 ` Rob Herring
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=20190418151350.GC32345@bogus \
--to=robh@kernel$(echo .)org \
--cc=Jonathan.Cameron@huawei$(echo .)com \
--cc=aisheng.dong@nxp$(echo .)com \
--cc=andrew.smirnov@gmail$(echo .)com \
--cc=angus.ainslie@puri$(echo .)sm \
--cc=angus@akkea$(echo .)ca \
--cc=aou@eecs$(echo .)berkeley.edu \
--cc=bruno.thomsen@gmail$(echo .)com \
--cc=devicetree@vger$(echo .)kernel.org \
--cc=festevam@gmail$(echo .)com \
--cc=guoren@kernel$(echo .)org \
--cc=j.neuschaefer@gmx$(echo .)net \
--cc=kernel@pengutronix$(echo .)de \
--cc=khilman@baylibre$(echo .)com \
--cc=linux-arm-kernel@lists$(echo .)infradead.org \
--cc=linux-imx@nxp$(echo .)com \
--cc=linux-kernel@vger$(echo .)kernel.org \
--cc=linux-mediatek@lists$(echo .)infradead.org \
--cc=linux-riscv@lists$(echo .)infradead.org \
--cc=m.felsch@pengutronix$(echo .)de \
--cc=manivannan.sadhasivam@linaro$(echo .)org \
--cc=mark.rutland@arm$(echo .)com \
--cc=matthias.bgg@gmail$(echo .)com \
--cc=palmer@sifive$(echo .)com \
--cc=paul.walmsley@sifive$(echo .)com \
--cc=ping.bai@nxp$(echo .)com \
--cc=s.hauer@pengutronix$(echo .)de \
--cc=shawnguo@kernel$(echo .)org \
--cc=treding@nvidia$(echo .)com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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