All of lore.kernel.org
 help / color / mirror / Atom feed
From: Shawn Guo <shawnguo@kernel.org>
To: Ariel D'Alessandro <ariel.dalessandro@collabora.com>
Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, aisheng.dong@nxp.com,
	festevam@gmail.com, ioana.ciornei@nxp.com,
	jagan@amarulasolutions.com, kernel@pengutronix.de,
	krzk@kernel.org, linux-imx@nxp.com, matt@traverse.com.au,
	matteo.lisi@engicam.com, meenakshi.aggarwal@nxp.com,
	michael@amarulasolutions.com, nathan@kernel.org,
	robh+dt@kernel.org, s.hauer@pengutronix.de,
	tharvey@gateworks.com
Subject: Re: [PATCH v2 5/5] arm: dts: imx8ulz-bsh-smm-m2: Add BSH SMM-M2 IMX6ULZ SystemMaster
Date: Tue, 14 Dec 2021 10:04:28 +0800	[thread overview]
Message-ID: <20211214020427.GL4216@dragon> (raw)
In-Reply-To: <4dbe2516-3a72-8c01-d0c9-fa4cfdddf4f6@collabora.com>

On Wed, Dec 08, 2021 at 03:15:52PM -0300, Ariel D'Alessandro wrote:
> Hi Shawn,
> 
> On 12/5/21 10:35 PM, Shawn Guo wrote:
> > On Tue, Nov 23, 2021 at 12:12:52PM -0300, Ariel D'Alessandro wrote:
> >> From: Michael Trimarchi <michael@amarulasolutions.com>
> >>
> >> Add DTS of BSH SMM-M2 SystemMaster.
> >>
> >> This version comes with:
> >> - 128 MiB DDR3 RAM
> >> - 256 MiB Nand
> >> - wifi
> >> - bluetooth
> >>
> >> Signed-off-by: Ariel D'Alessandro <ariel.dalessandro@collabora.com>
> >> Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
> >> ---
> >>  arch/arm/boot/dts/Makefile               |   3 +-
> >>  arch/arm/boot/dts/imx6ulz-bsh-smm-m2.dts | 153 +++++++++++++++++++++++
> >>  2 files changed, 155 insertions(+), 1 deletion(-)
> >>  create mode 100644 arch/arm/boot/dts/imx6ulz-bsh-smm-m2.dts
> >>
> >> diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
> >> index 0de64f237cd8..e6d4ad497985 100644
> >> --- a/arch/arm/boot/dts/Makefile
> >> +++ b/arch/arm/boot/dts/Makefile
> >> @@ -693,7 +693,8 @@ dtb-$(CONFIG_SOC_IMX6UL) += \
> >>  	imx6ull-phytec-segin-ff-rdk-nand.dtb \
> >>  	imx6ull-phytec-segin-ff-rdk-emmc.dtb \
> >>  	imx6ull-phytec-segin-lc-rdk-nand.dtb \
> >> -	imx6ulz-14x14-evk.dtb
> >> +	imx6ulz-14x14-evk.dtb \
> >> +	imx6ulz-bsh-smm-m2.dts
> >>  dtb-$(CONFIG_SOC_IMX7D) += \
> >>  	imx7d-cl-som-imx7.dtb \
> >>  	imx7d-colibri-aster.dtb \
> >> diff --git a/arch/arm/boot/dts/imx6ulz-bsh-smm-m2.dts b/arch/arm/boot/dts/imx6ulz-bsh-smm-m2.dts
> >> new file mode 100644
> >> index 000000000000..9e82860469e3
> >> --- /dev/null
> >> +++ b/arch/arm/boot/dts/imx6ulz-bsh-smm-m2.dts
> >> @@ -0,0 +1,153 @@
> >> +// SPDX-License-Identifier: (GPL-2.0 OR MIT)
> >> +/*
> >> + * Copyright (C) 2021 BSH Hausgeraete GmbH
> >> + */
> >> +
> >> +/dts-v1/;
> >> +
> >> +#include <dt-bindings/input/input.h>
> >> +#include "imx6ulz.dtsi"
> >> +
> >> +/ {
> >> +	model = "BSH SMM M2";
> >> +	compatible = "bsh,imx6ulz-bsh-smm-m2", "fsl,imx6ull";
> >> +
> >> +	chosen {
> >> +		stdout-path = &uart4;
> >> +	};
> >> +
> >> +	usdhc2_pwrseq: usdhc2_pwrseq {
> >> +		compatible = "mmc-pwrseq-simple";
> >> +		reset-gpios = <&gpio2 21 GPIO_ACTIVE_LOW>;
> >> +		status = "okay";
> > 
> > "okay" status is generally used to flip "disabled" devices.
> 
> Fixed in v3.
> 
> > 
> >> +	};
> >> +
> >> +};
> >> +
> >> +&uart3 {
> >> +	pinctrl-names = "default";
> >> +	pinctrl-0 = <&pinctrl_bluetooth_uart>;
> >> +	uart-has-rtscts;
> >> +
> > 
> > Unneeded newline.
> 
> Fixed in v3.
> 
> > 
> >> +	status = "okay";
> >> +
> >> +	bluetooth {
> >> +		compatible = "brcm,bcm4330-bt";
> >> +		max-speed = <3000000>;
> >> +		shutdown-gpios = <&gpio1 1 GPIO_ACTIVE_HIGH>;
> >> +		device-wakeup-gpios = <&gpio2 17 GPIO_ACTIVE_HIGH>;
> >> +		host-wakeup-gpios = <&gpio2 13 GPIO_ACTIVE_HIGH>;
> >> +	};
> >> +};
> >> +
> >> +&uart4 {
> >> +	pinctrl-names = "default";
> >> +	pinctrl-0 = <&pinctrl_debug_uart>;
> >> +	status = "okay";
> >> +};
> >> +
> >> +&usbotg1 {
> >> +	dr_mode = "peripheral";
> >> +	srp-disable;
> >> +	hnp-disable;
> >> +	adp-disable;
> >> +	status = "okay";
> >> +};
> >> +
> >> +&usbphy1 {
> >> +	fsl,tx-d-cal = <106>;
> >> +};
> >> +
> >> +&usdhc2 {
> >> +	#address-cells = <1>;
> >> +	#size-cells = <0>;
> >> +	pinctrl-names = "default";
> >> +	pinctrl-0 = <&pinctrl_wlan>;
> >> +	bus-width = <4>;
> >> +	no-1-8-v;
> >> +	non-removable;
> >> +	cap-power-off-card;
> >> +	pm-ignore-notify;
> > 
> > What is this?
> 
> Wrong vendor property, removed in v3.
> 
> Interesting there're other cases as well:
> 
> $ git grep -w pm-ignore-notify
> arch/arm/boot/dts/imx6ulz-bsh-smm-m2.dts:       pm-ignore-notify;
> arch/arm64/boot/dts/freescale/imx8mm-beacon-som.dtsi:   pm-ignore-notify;
> arch/arm64/boot/dts/freescale/imx8mm-icore-mx8mm-ctouch2.dts:
> pm-ignore-notify;
> arch/arm64/boot/dts/freescale/imx8mm-icore-mx8mm-edimm2.2.dts:
> pm-ignore-notify;
> arch/arm64/boot/dts/freescale/imx8mn-beacon-som.dtsi:   pm-ignore-notify;
> arch/arm64/boot/dts/renesas/beacon-renesom-som.dtsi:    pm-ignore-notify;

Thanks for the reminding!  I will fix them.

Shawn

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

WARNING: multiple messages have this Message-ID (diff)
From: Shawn Guo <shawnguo@kernel.org>
To: Ariel D'Alessandro <ariel.dalessandro@collabora.com>
Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, aisheng.dong@nxp.com,
	festevam@gmail.com, ioana.ciornei@nxp.com,
	jagan@amarulasolutions.com, kernel@pengutronix.de,
	krzk@kernel.org, linux-imx@nxp.com, matt@traverse.com.au,
	matteo.lisi@engicam.com, meenakshi.aggarwal@nxp.com,
	michael@amarulasolutions.com, nathan@kernel.org,
	robh+dt@kernel.org, s.hauer@pengutronix.de,
	tharvey@gateworks.com
Subject: Re: [PATCH v2 5/5] arm: dts: imx8ulz-bsh-smm-m2: Add BSH SMM-M2 IMX6ULZ SystemMaster
Date: Tue, 14 Dec 2021 10:04:28 +0800	[thread overview]
Message-ID: <20211214020427.GL4216@dragon> (raw)
In-Reply-To: <4dbe2516-3a72-8c01-d0c9-fa4cfdddf4f6@collabora.com>

On Wed, Dec 08, 2021 at 03:15:52PM -0300, Ariel D'Alessandro wrote:
> Hi Shawn,
> 
> On 12/5/21 10:35 PM, Shawn Guo wrote:
> > On Tue, Nov 23, 2021 at 12:12:52PM -0300, Ariel D'Alessandro wrote:
> >> From: Michael Trimarchi <michael@amarulasolutions.com>
> >>
> >> Add DTS of BSH SMM-M2 SystemMaster.
> >>
> >> This version comes with:
> >> - 128 MiB DDR3 RAM
> >> - 256 MiB Nand
> >> - wifi
> >> - bluetooth
> >>
> >> Signed-off-by: Ariel D'Alessandro <ariel.dalessandro@collabora.com>
> >> Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
> >> ---
> >>  arch/arm/boot/dts/Makefile               |   3 +-
> >>  arch/arm/boot/dts/imx6ulz-bsh-smm-m2.dts | 153 +++++++++++++++++++++++
> >>  2 files changed, 155 insertions(+), 1 deletion(-)
> >>  create mode 100644 arch/arm/boot/dts/imx6ulz-bsh-smm-m2.dts
> >>
> >> diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
> >> index 0de64f237cd8..e6d4ad497985 100644
> >> --- a/arch/arm/boot/dts/Makefile
> >> +++ b/arch/arm/boot/dts/Makefile
> >> @@ -693,7 +693,8 @@ dtb-$(CONFIG_SOC_IMX6UL) += \
> >>  	imx6ull-phytec-segin-ff-rdk-nand.dtb \
> >>  	imx6ull-phytec-segin-ff-rdk-emmc.dtb \
> >>  	imx6ull-phytec-segin-lc-rdk-nand.dtb \
> >> -	imx6ulz-14x14-evk.dtb
> >> +	imx6ulz-14x14-evk.dtb \
> >> +	imx6ulz-bsh-smm-m2.dts
> >>  dtb-$(CONFIG_SOC_IMX7D) += \
> >>  	imx7d-cl-som-imx7.dtb \
> >>  	imx7d-colibri-aster.dtb \
> >> diff --git a/arch/arm/boot/dts/imx6ulz-bsh-smm-m2.dts b/arch/arm/boot/dts/imx6ulz-bsh-smm-m2.dts
> >> new file mode 100644
> >> index 000000000000..9e82860469e3
> >> --- /dev/null
> >> +++ b/arch/arm/boot/dts/imx6ulz-bsh-smm-m2.dts
> >> @@ -0,0 +1,153 @@
> >> +// SPDX-License-Identifier: (GPL-2.0 OR MIT)
> >> +/*
> >> + * Copyright (C) 2021 BSH Hausgeraete GmbH
> >> + */
> >> +
> >> +/dts-v1/;
> >> +
> >> +#include <dt-bindings/input/input.h>
> >> +#include "imx6ulz.dtsi"
> >> +
> >> +/ {
> >> +	model = "BSH SMM M2";
> >> +	compatible = "bsh,imx6ulz-bsh-smm-m2", "fsl,imx6ull";
> >> +
> >> +	chosen {
> >> +		stdout-path = &uart4;
> >> +	};
> >> +
> >> +	usdhc2_pwrseq: usdhc2_pwrseq {
> >> +		compatible = "mmc-pwrseq-simple";
> >> +		reset-gpios = <&gpio2 21 GPIO_ACTIVE_LOW>;
> >> +		status = "okay";
> > 
> > "okay" status is generally used to flip "disabled" devices.
> 
> Fixed in v3.
> 
> > 
> >> +	};
> >> +
> >> +};
> >> +
> >> +&uart3 {
> >> +	pinctrl-names = "default";
> >> +	pinctrl-0 = <&pinctrl_bluetooth_uart>;
> >> +	uart-has-rtscts;
> >> +
> > 
> > Unneeded newline.
> 
> Fixed in v3.
> 
> > 
> >> +	status = "okay";
> >> +
> >> +	bluetooth {
> >> +		compatible = "brcm,bcm4330-bt";
> >> +		max-speed = <3000000>;
> >> +		shutdown-gpios = <&gpio1 1 GPIO_ACTIVE_HIGH>;
> >> +		device-wakeup-gpios = <&gpio2 17 GPIO_ACTIVE_HIGH>;
> >> +		host-wakeup-gpios = <&gpio2 13 GPIO_ACTIVE_HIGH>;
> >> +	};
> >> +};
> >> +
> >> +&uart4 {
> >> +	pinctrl-names = "default";
> >> +	pinctrl-0 = <&pinctrl_debug_uart>;
> >> +	status = "okay";
> >> +};
> >> +
> >> +&usbotg1 {
> >> +	dr_mode = "peripheral";
> >> +	srp-disable;
> >> +	hnp-disable;
> >> +	adp-disable;
> >> +	status = "okay";
> >> +};
> >> +
> >> +&usbphy1 {
> >> +	fsl,tx-d-cal = <106>;
> >> +};
> >> +
> >> +&usdhc2 {
> >> +	#address-cells = <1>;
> >> +	#size-cells = <0>;
> >> +	pinctrl-names = "default";
> >> +	pinctrl-0 = <&pinctrl_wlan>;
> >> +	bus-width = <4>;
> >> +	no-1-8-v;
> >> +	non-removable;
> >> +	cap-power-off-card;
> >> +	pm-ignore-notify;
> > 
> > What is this?
> 
> Wrong vendor property, removed in v3.
> 
> Interesting there're other cases as well:
> 
> $ git grep -w pm-ignore-notify
> arch/arm/boot/dts/imx6ulz-bsh-smm-m2.dts:       pm-ignore-notify;
> arch/arm64/boot/dts/freescale/imx8mm-beacon-som.dtsi:   pm-ignore-notify;
> arch/arm64/boot/dts/freescale/imx8mm-icore-mx8mm-ctouch2.dts:
> pm-ignore-notify;
> arch/arm64/boot/dts/freescale/imx8mm-icore-mx8mm-edimm2.2.dts:
> pm-ignore-notify;
> arch/arm64/boot/dts/freescale/imx8mn-beacon-som.dtsi:   pm-ignore-notify;
> arch/arm64/boot/dts/renesas/beacon-renesom-som.dtsi:    pm-ignore-notify;

Thanks for the reminding!  I will fix them.

Shawn

  reply	other threads:[~2021-12-14  2:06 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-23 15:12 [PATCH v2 0/5] Add support for BSH SMM M2 and S2 boards Ariel D'Alessandro
2021-11-23 15:12 ` Ariel D'Alessandro
2021-11-23 15:12 ` [PATCH v2 1/5] dt-bindings: Add vendor prefix for BSH Hausgeraete GmbH Ariel D'Alessandro
2021-11-23 15:12   ` Ariel D'Alessandro
2021-11-30 22:25   ` Rob Herring
2021-11-30 22:25     ` Rob Herring
2021-11-23 15:12 ` [PATCH v2 2/5] dt-bindings: arm: fsl: Add iMX8MN BSH SMM S2 boards Ariel D'Alessandro
2021-11-23 15:12   ` Ariel D'Alessandro
2021-11-30 22:25   ` Rob Herring
2021-11-30 22:25     ` Rob Herring
2021-11-23 15:12 ` [PATCH v2 3/5] arm64: dts: imx8mn-bsh-smm-s2/pro: " Ariel D'Alessandro
2021-11-23 15:12   ` Ariel D'Alessandro
2021-12-06  1:29   ` Shawn Guo
2021-12-06  1:29     ` Shawn Guo
2021-12-08 18:00     ` Ariel D'Alessandro
2021-12-08 18:00       ` Ariel D'Alessandro
2021-11-23 15:12 ` [PATCH v2 4/5] dt-bindings: arm: fsl: Add BSH SMM-M2 IMX6ULZ SystemMaster board Ariel D'Alessandro
2021-11-23 15:12   ` Ariel D'Alessandro
2021-11-30 22:26   ` Rob Herring
2021-11-30 22:26     ` Rob Herring
2021-11-23 15:12 ` [PATCH v2 5/5] arm: dts: imx8ulz-bsh-smm-m2: Add BSH SMM-M2 IMX6ULZ SystemMaster Ariel D'Alessandro
2021-11-23 15:12   ` Ariel D'Alessandro
2021-12-06  1:35   ` Shawn Guo
2021-12-06  1:35     ` Shawn Guo
2021-12-08 18:15     ` Ariel D'Alessandro
2021-12-08 18:15       ` Ariel D'Alessandro
2021-12-14  2:04       ` Shawn Guo [this message]
2021-12-14  2:04         ` Shawn Guo
2021-12-14 11:53   ` Fabio Estevam
2021-12-14 11:53     ` Fabio Estevam

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=20211214020427.GL4216@dragon \
    --to=shawnguo@kernel.org \
    --cc=aisheng.dong@nxp.com \
    --cc=ariel.dalessandro@collabora.com \
    --cc=devicetree@vger.kernel.org \
    --cc=festevam@gmail.com \
    --cc=ioana.ciornei@nxp.com \
    --cc=jagan@amarulasolutions.com \
    --cc=kernel@pengutronix.de \
    --cc=krzk@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-imx@nxp.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=matt@traverse.com.au \
    --cc=matteo.lisi@engicam.com \
    --cc=meenakshi.aggarwal@nxp.com \
    --cc=michael@amarulasolutions.com \
    --cc=nathan@kernel.org \
    --cc=robh+dt@kernel.org \
    --cc=s.hauer@pengutronix.de \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.