From: Frieder Schrempf <frieder.schrempf@kontron.de>
To: Krzysztof Kozlowski <krzk@kernel.org>
Cc: "Andreas Kemnade" <andreas@kemnade.info>,
"Anson Huang" <Anson.Huang@nxp.com>,
"Fabio Estevam" <festevam@gmail.com>,
"Li Yang" <leoyang.li@nxp.com>,
"Marcel Ziswiler" <marcel.ziswiler@toradex.com>,
"Marco Felsch" <m.felsch@pengutronix.de>,
"Michael Walle" <michael@walle.cc>,
"NXP Linux Team" <linux-imx@nxp.com>,
"Pengutronix Kernel Team" <kernel@pengutronix.de>,
"Robert Jones" <rjones@gateworks.com>,
"Rob Herring" <robh@kernel.org>,
"Sascha Hauer" <s.hauer@pengutronix.de>,
"Sébastien Szymanski" <sebastien.szymanski@armadeus.com>,
"Shawn Guo" <shawnguo@kernel.org>,
devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3 1/2] arm64: dts: Add the Kontron i.MX8M Mini SoMs and baseboards
Date: Thu, 1 Oct 2020 16:23:51 +0200 [thread overview]
Message-ID: <6f2b294f-9f28-fe1b-bd1a-d32cbdb86e00@kontron.de> (raw)
In-Reply-To: <985c5eb3-3f8a-2b70-8831-b7b52671ee4f@kontron.de>
On 01.10.20 15:30, Frieder Schrempf wrote:
> On 01.10.20 14:57, Krzysztof Kozlowski wrote:
>> On Thu, Oct 01, 2020 at 02:06:58PM +0200, Schrempf Frieder wrote:
>>> From: Frieder Schrempf <frieder.schrempf@kontron.de>
>>>
>>> Kontron Electronics GmbH offers small and powerful SoMs based on the
>>> i.MX8M Mini SoC including PMIC, LPDDR4-RAM, eMMC and SPI NOR.
>>>
>>> The matching baseboards have the same form factor and similar interfaces
>>> as the other boards from the Kontron "Board-Line" family, including
>>> SD card, 1G Ethernet, 100M Ethernet, USB Host/OTG, digital IOs, RS232,
>>> RS485, CAN, LVDS or HDMI, RTC and much more.
>>>
>>> Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
>>> ---
>>> Changes for v3:
>>> * Remove needless status properties
>>> * Remove needless regulator properties for reg_vdd_5v
>>> * Use proper PHY reset properties in PHY node
>>> * Use phy-connection-type instead of phy-mode
>>> * Adjust PMIC node name and label
>>> * Add over-current-active-low to usbotg1 node
>>> * Remove redundant bus-width property from usdhc2 node
>>> * Remove needless regulator-compatible from reg_vdd_snvs
>>> * Set minimum voltage to 85mV for reg_vdd_snvs
>>>
>>> Changes for v2:
>>> * Make the licensing less strict (GPL-2.0+ OR MIT)
>>> * Merge the SoM and baseboard DTs for N8010 and N8011 into one as
>>> they only differ in DDR and eMMC size.
>>> * Change compatibles and model strings to "n810x" and "N8010X".
>>> * Only use a common memory node that will be updated by the
>>> bootloader reflecting the detected DDR size.
>>> * Improve naming for 16MHz CAN fixed oscillator and set
>>> "clock-output-names".
>>> * Consistently use "reg_" prefix for regulators.
>>> * Remove "userspi" node.
>>> * Slightly improve commit message.
>>> ---
>>> .../dts/freescale/imx8mm-kontron-n801x-s.dts | 323 ++++++++++++++++++
>>> .../freescale/imx8mm-kontron-n801x-som.dtsi | 293 ++++++++++++++++
>>> 2 files changed, 616 insertions(+)
>>> create mode 100644
[...]
>>
>>> +
>>> + regulators {
>>> + reg_vdd_soc: BUCK1 {
>>> + regulator-name = "BUCK1";
>>
>> All regulator names should be lowercase, as dtschema asks. Node names
>> can stay uppercase, although I guess it would be better to have them
>> lower as it is also naming convention for device tree.
>
> Ok, I will change the regulator and node names to lowercase.
I just found out that the pca9450 driver actually uses the upper case
node names for matching. So I will keep the upper case node names for
now and only change the regulator names.
Afterwards we can fix the node names in the driver and in the DTs in a
separate patch if required.
>
>>
>>> + regulator-min-microvolt = <800000>;
>>> + regulator-max-microvolt = <900000>;
>>> + regulator-boot-on;
>>> + regulator-always-on;
>>> + regulator-ramp-delay = <3125>;
>>> + };
>>> +
>>> + reg_vdd_arm: BUCK2 {
>>> + regulator-name = "BUCK2";
>>> + regulator-min-microvolt = <850000>;
>>> + regulator-max-microvolt = <950000>;
>>> + regulator-boot-on;
>>> + regulator-ramp-delay = <3125>;
>>> + nxp,dvs-run-voltage = <950000>;
>>> + nxp,dvs-standby-voltage = <850000>;
>>> + };
>>> +
>>> + reg_vdd_dram: BUCK3 {
>>> + regulator-name = "BUCK3";
>>> + regulator-min-microvolt = <850000>;
>>> + regulator-max-microvolt = <900000>;
>>> + regulator-boot-on;
>>> + regulator-always-on;
>>> + };
>>> +
>>> + reg_vdd_3v3: BUCK4 {
>>> + regulator-name = "BUCK4";
>>> + regulator-min-microvolt = <3300000>;
>>> + regulator-max-microvolt = <3300000>;
>>> + regulator-boot-on;
>>> + regulator-always-on;
>>> + };
>>> +
>>> + reg_vdd_1v8: BUCK5 {
>>> + regulator-name = "BUCK5";
>>> + regulator-min-microvolt = <1800000>;
>>> + regulator-max-microvolt = <1800000>;
>>> + regulator-boot-on;
>>> + regulator-always-on;
>>> + };
>>> +
>>> + reg_nvcc_dram: BUCK6 {
>>> + regulator-name = "BUCK6";
>>> + regulator-min-microvolt = <1100000>;
>>> + regulator-max-microvolt = <1100000>;
>>> + regulator-boot-on;
>>> + regulator-always-on;
>>> + };
>>> +
>>> + reg_nvcc_snvs: LDO1 {
>>> + regulator-name = "LDO1";
>>> + regulator-min-microvolt = <1800000>;
>>> + regulator-max-microvolt = <1800000>;
>>> + regulator-boot-on;
>>> + regulator-always-on;
>>> + };
>>> +
>>> + reg_vdd_snvs: LDO2 {
>>> + regulator-name = "LDO2";
>>> + regulator-min-microvolt = <850000>;
>>> + regulator-max-microvolt = <900000>;
>>> + regulator-boot-on;
>>> + regulator-always-on;
>>> + };
>>> +
>>> + reg_vdda: LDO3 {
>>> + regulator-name = "LDO3";
>>> + regulator-min-microvolt = <1800000>;
>>> + regulator-max-microvolt = <1800000>;
>>> + regulator-boot-on;
>>> + regulator-always-on;
>>> + };
>>> +
>>> + reg_vdd_phy: LDO4 {
>>> + regulator-name = "LDO4";
>>> + regulator-min-microvolt = <900000>;
>>> + regulator-max-microvolt = <900000>;
>>> + regulator-boot-on;
>>> + regulator-always-on;
>>> + };
>>> +
>>> + reg_nvcc_sd: LDO5 {
>>> + regulator-name = "LDO5";
>>> + regulator-min-microvolt = <1800000>;
>>> + regulator-max-microvolt = <3300000>;
>>> + };
>>> + };
>>> + };
>>> +};
>>> +
[...]
next prev parent reply other threads:[~2020-10-01 14:24 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-01 12:06 Schrempf Frieder
2020-10-01 12:06 ` [PATCH v3 2/2] dt-bindings: arm: fsl: Add Kontron i.MX8M Mini SoMs and boards Schrempf Frieder
2020-10-01 12:59 ` Krzysztof Kozlowski
2020-10-01 13:15 ` Frieder Schrempf
2020-10-01 12:57 ` [PATCH v3 1/2] arm64: dts: Add the Kontron i.MX8M Mini SoMs and baseboards Krzysztof Kozlowski
2020-10-01 13:30 ` Frieder Schrempf
2020-10-01 14:23 ` Frieder Schrempf [this message]
2020-10-01 14:25 ` Krzysztof Kozlowski
2020-10-01 13:00 ` Krzysztof Kozlowski
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=6f2b294f-9f28-fe1b-bd1a-d32cbdb86e00@kontron.de \
--to=frieder.schrempf@kontron.de \
--cc=Anson.Huang@nxp.com \
--cc=andreas@kemnade.info \
--cc=devicetree@vger.kernel.org \
--cc=festevam@gmail.com \
--cc=kernel@pengutronix.de \
--cc=krzk@kernel.org \
--cc=leoyang.li@nxp.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-imx@nxp.com \
--cc=linux-kernel@vger.kernel.org \
--cc=m.felsch@pengutronix.de \
--cc=marcel.ziswiler@toradex.com \
--cc=michael@walle.cc \
--cc=rjones@gateworks.com \
--cc=robh@kernel.org \
--cc=s.hauer@pengutronix.de \
--cc=sebastien.szymanski@armadeus.com \
--cc=shawnguo@kernel.org \
/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
all inboxes | Powered by JetHome®