From: Wojciech Dubowik <Wojciech.Dubowik@mt.com>
To: Krzysztof Kozlowski <krzk@kernel.org>
Cc: linux-kernel@vger.kernel.org, "Rob Herring" <robh@kernel.org>,
"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
"Conor Dooley" <conor+dt@kernel.org>,
"Shawn Guo" <shawnguo@kernel.org>,
"Sascha Hauer" <s.hauer@pengutronix.de>,
"Pengutronix Kernel Team" <kernel@pengutronix.de>,
"Fabio Estevam" <festevam@gmail.com>,
"Alexander Stein" <alexander.stein@ew.tq-group.com>,
"Marek Vasut" <marex@denx.de>,
"Frieder Schrempf" <frieder.schrempf@kontron.de>,
"Markus Niebel" <Markus.Niebel@tq-group.com>,
"Frank Li" <Frank.Li@nxp.com>,
"João Paulo Gonçalves" <joao.goncalves@toradex.com>,
"Michael Walle" <mwalle@kernel.org>,
"Heiko Schocher" <hs@denx.de>,
"Francesco Dolcini" <francesco.dolcini@toradex.com>,
"Max Merchel" <Max.Merchel@ew.tq-group.com>,
"Tim Harvey" <tharvey@gateworks.com>,
"Primoz Fiser" <primoz.fiser@norik.com>,
"Neil Armstrong" <neil.armstrong@linaro.org>,
"Heiko Stuebner" <heiko@sntech.de>,
"Manivannan Sadhasivam" <mani@kernel.org>,
"Kever Yang" <kever.yang@rock-chips.com>,
devicetree@vger.kernel.org, imx@lists.linux.dev,
linux-arm-kernel@lists.infradead.org,
"Tobias Graemer" <Tobias.Graemer@mt.com>
Subject: Re: EXTERNAL - [PATCH v2 3/4] arm64: dts: freescale: Add Mettler-Toledo Snowflake V2 support
Date: Mon, 23 Jun 2025 08:50:54 +0200 [thread overview]
Message-ID: <aFj5Tv_3jVLB5DXB@mt.com> (raw)
In-Reply-To: <47a7209a-5f8b-40d0-9bba-19339fd4fc5b@kernel.org>
On Fri, Jun 20, 2025 at 11:23:43AM +0200, Krzysztof Kozlowski wrote:
> On 20/06/2025 10:41, Wojciech Dubowik wrote:
> > +
> > + ili2511: ili2511@41 {
>
> Node names should be generic. See also an explanation and list of
> examples (not exhaustive) in DT specification:
> https://devicetree-specification.readthedocs.io/en/latest/chapter2-devicetree-basics.html#generic-names-recommendation
>
I will rename it to touchscreen.
>
> > + compatible = "ilitek,ili251x";
> > + reg = <0x41>;
> > + pinctrl-names = "default";
> > + pinctrl-0 = <&pinctrl_touch>;
> > + interrupt-parent = <&gpio1>;
> > + interrupts = <1 IRQ_TYPE_EDGE_FALLING>;
> > + reset-gpios = <&gpio3 16 GPIO_ACTIVE_LOW>;
> > + };
> > +
> > + lvds: lvds@2c {
> > + compatible = "ti,sn65dsi83";
> > + reg = <0x2c>;
> > + vcc-supply = <®_sn65dsi83_1v8>;
> > + pinctrl-names = "default";
> > + pinctrl-0 = <&pinctrl_sn65dsi83>;
> > + status = "okay";
>
> Was it disabled anywhere?
Nope. I will remove the line.
>
> > + ports {
> > + #address-cells = <1>;
> > + #size-cells = <0>;
> > +
> > + port@0 {
> > + reg = <0>;
> > + bridge_in: endpoint {
> > + remote-endpoint = <&mipi_dsi_out>;
> > + data-lanes = <1 2>;
> > + };
> > + };
> > +
> > + port@2 {
> > + reg = <2>;
> > + bridge_out: endpoint {
> > + remote-endpoint = <&panel_in>;
> > + data-lanes = <4 3 2 1>;
> > + };
> > + };
> > + };
> > + };
> > +
> > + usbc-cc-controller@61 {
> > + compatible = "ti,tusb320";
> > + reg = <0x61>;
> > + pinctrl-names = "default";
> > + pinctrl-0 = <&pinctrl_usbc_controller>;
> > + interrupts-extended = <&gpio1 6 IRQ_TYPE_LEVEL_LOW>;
> > + };
> > +};
> > +
> > +&mipi_dsi {
> > + status = "okay";
> > + vddio-supply = <®_sn65dsi83_1v8>;
> > + assigned-clocks = <&clk IMX8MM_CLK_DSI_CORE>,
> > + <&clk IMX8MM_VIDEO_PLL1_OUT>,
> > + <&clk IMX8MM_CLK_DSI_PHY_REF>;
> > + assigned-clock-parents = <&clk IMX8MM_SYS_PLL1_266M>,
> > + <&clk IMX8MM_VIDEO_PLL1_BYPASS>,
> > + <&clk IMX8MM_CLK_24M>;
> > + assigned-clock-rates = <266000000>, <594000000>, <12000000>;
> > + samsung,pll-clock-frequency = <12000000>;
> > + samsung,burst-clock-frequency = <891000000>;
> > + samsung,esc-clock-frequency = <54000000>;
> > +};
> > +
> > +&mipi_dsi_out {
> > + remote-endpoint = <&bridge_in>;
> > +};
> > +
> > +&lcdif {
> > + status = "okay";
> > +};
> > +
> > +&gpu_2d {
> > + status = "okay";
> > +};
> > +
> > +&gpu_3d {
> > + status = "okay";
> > +};
> > +
> > +&ecspi1 {
> > + status = "disabled";
> > +};
> > +
> > +&gpio1 {
> > + bootph-pre-ram;
> > +};
> > +
> > +&gpio2 {
> > + bootph-pre-ram;
> > +};
> > +
> > +&gpio3 {
> > + bootph-pre-ram;
> > +};
> > +
> > +&gpio4 {
> > + bootph-pre-ram;
> > +};
> > +
> > +&gpio5 {
> > + bootph-pre-ram;
> > + status_led_controller_oe: status-led-controller-hog {
> > + gpio-hog;
> > + gpios = <4 GPIO_ACTIVE_HIGH>;
> > + output-low;
> > + pinctrl-names = "default";
> > + pinctrl-0 = <&pinctrl_hog_status_led_controller>;
> > + };
> > +};
> > +
> > +&pca9450 {
> > + bootph-pre-ram;
> > +};
> > +
> > +&{/soc@0/bus@30800000/i2c@30a20000/pmic@25/regulators} {
>
> There is no label to override it? Probably should be added.
This could be merged with previous entry.
>
>
> > + bootph-pre-ram;
> > +};
> > +
>
>
>
>
> > +&usbotg2 {
> > + #address-cells = <1>;
> > + #size-cells = <0>;
> > + disable-over-current;
> > + dr_mode = "host";
> > + status = "okay";
> > +
> > + usb1@1 {
>
> usb@
>
> Why usb1?
Copy and paste from other Kontron device tree. I will rename it to usb@.
>
> > + reg = <1>;
> > + #address-cells = <1>;
> > + #size-cells = <0>;
> > +
> > + usbnet: ethernet@1 {
> > + compatible = "usb424,9500";
> > + reg = <1>;
> > + mac-address = [ 00 00 00 00 00 00 ];
> > + };
> > + };
> > +};
>
>
>
> Best regards,
> Krzysztof
next prev parent reply other threads:[~2025-06-23 6:50 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-20 8:41 [PATCH v2 0/4] Support i.MX8MM Mettler Toledo Snowflake board Wojciech Dubowik
2025-06-20 8:41 ` [PATCH v2 1/4] dt-bindings: vendor-prefixes: Add Mettler-Toledo Wojciech Dubowik
2025-06-20 9:19 ` Krzysztof Kozlowski
2025-06-20 8:41 ` [PATCH v2 2/4] dt-bindings: arm: fsl: Add Mettler-Toledo Snowflake V2 board Wojciech Dubowik
2025-06-20 9:20 ` Krzysztof Kozlowski
2025-06-20 8:41 ` [PATCH v2 3/4] arm64: dts: freescale: Add Mettler-Toledo Snowflake V2 support Wojciech Dubowik
2025-06-20 9:23 ` Krzysztof Kozlowski
2025-06-23 6:50 ` Wojciech Dubowik [this message]
2025-06-20 8:41 ` [PATCH v2 4/4] MAINTAINERS: Add entry for METTLER TOLEDO BOARD SUPPORT Wojciech Dubowik
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=aFj5Tv_3jVLB5DXB@mt.com \
--to=wojciech.dubowik@mt.com \
--cc=Frank.Li@nxp.com \
--cc=Markus.Niebel@tq-group.com \
--cc=Max.Merchel@ew.tq-group.com \
--cc=Tobias.Graemer@mt.com \
--cc=alexander.stein@ew.tq-group.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=festevam@gmail.com \
--cc=francesco.dolcini@toradex.com \
--cc=frieder.schrempf@kontron.de \
--cc=heiko@sntech.de \
--cc=hs@denx.de \
--cc=imx@lists.linux.dev \
--cc=joao.goncalves@toradex.com \
--cc=kernel@pengutronix.de \
--cc=kever.yang@rock-chips.com \
--cc=krzk+dt@kernel.org \
--cc=krzk@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mani@kernel.org \
--cc=marex@denx.de \
--cc=mwalle@kernel.org \
--cc=neil.armstrong@linaro.org \
--cc=primoz.fiser@norik.com \
--cc=robh@kernel.org \
--cc=s.hauer@pengutronix.de \
--cc=shawnguo@kernel.org \
--cc=tharvey@gateworks.com \
/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