From: Dmitry Osipenko <digetx@gmail.com>
To: Thierry Reding <thierry.reding@gmail.com>
Cc: "Jonathan Hunter" <jonathanh@nvidia.com>,
"David Heidelberg" <david@ixit.cz>,
"Svyatoslav Ryhel" <clamor95@gmail.com>,
"Anton Bambura" <jenneron@protonmail.com>,
"Antoni Aloy Torrens" <aaloytorrens@gmail.com>,
"Nikola Milosavljevic" <mnidza@outlook.com>,
"Ion Agorria" <ion@agorria.com>,
"Michał Mirosław" <mirq-linux@rere.qmqm.pl>,
"Ihor Didenko" <tailormoon@rambler.ru>,
"Andreas Westman Dorcsak" <hedmoo@yahoo.com>,
"Maxim Schwalm" <maxim.schwalm@gmail.com>,
"Raffaele Tranquillini" <raffaele.tranquillini@gmail.com>,
"Jasper Korten" <jja2000@gmail.com>,
"Thomas Graichen" <thomas.graichen@gmail.com>,
"Stefan Eichenberger" <stefan.eichenberger@toradex.com>,
devicetree@vger.kernel.org, linux-tegra@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v5 05/24] ARM: tegra: Add device-tree for ASUS Transformer EeePad TF101
Date: Fri, 10 Dec 2021 19:42:18 +0300 [thread overview]
Message-ID: <de357dd7-ad4b-758c-f041-b3385d164b98@gmail.com> (raw)
In-Reply-To: <YbN2T5guOfIRLXg1@orome>
10.12.2021 18:46, Thierry Reding пишет:
...
>> + gpio@6000d000 {
>> + charging-enable-hog {
>> + gpio-hog;
>> + gpios = <TEGRA_GPIO(R, 6) GPIO_ACTIVE_HIGH>;
>> + output-low;
>> + };
>> + };
>
> Isn't this something that we may want to change at some point? My
> understanding is that GPIO hogs are permanent, so it won't be possible
> to grab GPIO R.6 and change this.
>
> Are there any plans to allow setting this at runtime?
I'm not aware about plans to change that charging hog.
It's not a problem to remove the hog. I don't understand why you're
saying that it's permanent. We have such hogs in Nexus7 DT for the 3G
modem pins. If we'll ever have a driver for that modem, then we will
remove those hogs, not a problem.
> [...]
>> + i2c2: i2c@7000c400 {
>> + status = "okay";
>> + clock-frequency = <100000>;
>> + };
>> +
>> + i2cmux {
>
> This doesn't belong here. The ordering is by unit-address and everything
> without unit-address needs to move after the nodes with unit-addresses
> and be sorted alphabetically.
Logically it belongs here, since mux uses i2c2. All other DTs do the same.
...
>> + memory-controller@7000f400 {
>> + nvidia,use-ram-code;
>> +
>> + emc-tables@3 {
>> + reg = <0x3>;
>> +
>> + #address-cells = <1>;
>> + #size-cells = <0>;
>> +
>> + lpddr2 {
>> + compatible = "elpida,B8132B2PB-6D-F", "jedec,lpddr2-s4";
>> + revision-id1 = <1>;
>> + density = <2048>;
>> + io-width = <16>;
>> + };
>> +
>> + emc-table@25000 {
>
> Ugh... looking at the bindings for this the naming here is rather
> unfortunate. emc-tables@3 and emc-table@*... the top-level emc-tables
> are really tables, but the emc-table@* are really entries or rows in
> that table, not tables themselves. It's also rather unfortunate that we
> duplicate the frequency in both the "reg" and "clock-frequency"
> properties. One of them would've been enough.
It's emc-tables@3 here because initially there were other tables that I
removed during preparation of the DT for upstream. Those tables were
untested and looked questionable to me.
> Anyway, looks like this has basically been like this since forever, so
> not much that can be done about it.
>
> Again, the memory-controller node needs to be sorted differently. There
> are other occurrences of this throughout the file.
Please feel free to reorder it.
next prev parent reply other threads:[~2021-12-10 16:42 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-08 17:35 [PATCH v5 00/24] NVIDIA Tegra ARM32 device-tree patches for 5.17 (new devices and more) Dmitry Osipenko
2021-12-08 17:35 ` [PATCH v5 01/24] dt-bindings: ARM: tegra: Document ASUS Transformers Dmitry Osipenko
2021-12-08 17:35 ` [PATCH v5 02/24] dt-bindings: ARM: tegra: Document Pegatron Chagall Dmitry Osipenko
2021-12-10 15:19 ` Thierry Reding
2021-12-10 16:20 ` Dmitry Osipenko
2021-12-08 17:35 ` [PATCH v5 03/24] ARM: tegra: Add labels to tegra30.dtsi Dmitry Osipenko
2021-12-10 15:22 ` Thierry Reding
2021-12-10 16:26 ` Dmitry Osipenko
2021-12-08 17:35 ` [PATCH v5 04/24] ARM: tegra: Add labels to tegra114.dtsi Dmitry Osipenko
2021-12-08 17:35 ` [PATCH v5 05/24] ARM: tegra: Add device-tree for ASUS Transformer EeePad TF101 Dmitry Osipenko
2021-12-10 15:46 ` Thierry Reding
2021-12-10 16:42 ` Dmitry Osipenko [this message]
2021-12-11 15:28 ` Dmitry Osipenko
2021-12-08 17:35 ` [PATCH v5 06/24] ARM: tegra: Add common device-tree base for Tegra30 ASUS Transformers Dmitry Osipenko
2021-12-10 15:50 ` Thierry Reding
2021-12-10 17:02 ` Dmitry Osipenko
2021-12-08 17:35 ` [PATCH v5 07/24] ARM: tegra: Add common device-tree for LVDS display panels of Tegra30 ASUS tablets Dmitry Osipenko
2021-12-08 17:35 ` [PATCH v5 08/24] ARM: tegra: Add device-tree for ASUS Transformer Prime TF201 Dmitry Osipenko
2021-12-08 17:35 ` [PATCH v5 09/24] ARM: tegra: Add device-tree for ASUS Transformer Pad TF300T Dmitry Osipenko
2021-12-08 17:35 ` [PATCH v5 10/24] ARM: tegra: Add device-tree for ASUS Transformer Pad TF300TG Dmitry Osipenko
2021-12-08 17:35 ` [PATCH v5 11/24] ARM: tegra: Add device-tree for ASUS Transformer Infinity TF700T Dmitry Osipenko
2021-12-08 17:35 ` [PATCH v5 12/24] ARM: tegra: Add device-tree for ASUS Transformer Pad TF701T Dmitry Osipenko
2021-12-08 17:35 ` [PATCH v5 13/24] ARM: tegra: Add device-tree for Pegatron Chagall Dmitry Osipenko
2021-12-08 17:35 ` [PATCH v5 14/24] ARM: tegra: Add device-tree for 1080p version of Nyan Big Dmitry Osipenko
2021-12-08 17:36 ` [PATCH v5 15/24] ARM: tegra: Add usb-role-switch property to USB OTG ports Dmitry Osipenko
2021-12-08 17:36 ` [PATCH v5 16/24] ARM: tegra: Enable HDMI CEC on Nyan Dmitry Osipenko
2021-12-08 17:36 ` [PATCH v5 17/24] ARM: tegra: Enable CPU DFLL " Dmitry Osipenko
2021-12-08 17:36 ` [PATCH v5 18/24] ARM: tegra: Add CPU thermal zones to Nyan device-tree Dmitry Osipenko
2021-12-08 17:36 ` [PATCH v5 19/24] ARM: tegra: Name clock and regulator nodes according to DT-schema Dmitry Osipenko
2021-12-08 17:36 ` [PATCH v5 20/24] ARM: tegra: nexus7: Drop clock-frequency from NFC node Dmitry Osipenko
2021-12-08 17:36 ` [PATCH v5 21/24] ARM: tegra: nexus7: Use common LVDS display device-tree Dmitry Osipenko
2021-12-08 17:36 ` [PATCH v5 22/24] ARM: tegra: Enable video decoder on Tegra114 Dmitry Osipenko
2021-12-08 17:36 ` [PATCH v5 23/24] ARM: tegra_defconfig: Enable drivers wanted by Acer Chromebooks and ASUS tablets Dmitry Osipenko
2021-12-08 17:36 ` [PATCH v5 24/24] ARM: config: multi v7: Enable display drivers used by Tegra devices Dmitry Osipenko
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=de357dd7-ad4b-758c-f041-b3385d164b98@gmail.com \
--to=digetx@gmail.com \
--cc=aaloytorrens@gmail.com \
--cc=clamor95@gmail.com \
--cc=david@ixit.cz \
--cc=devicetree@vger.kernel.org \
--cc=hedmoo@yahoo.com \
--cc=ion@agorria.com \
--cc=jenneron@protonmail.com \
--cc=jja2000@gmail.com \
--cc=jonathanh@nvidia.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tegra@vger.kernel.org \
--cc=maxim.schwalm@gmail.com \
--cc=mirq-linux@rere.qmqm.pl \
--cc=mnidza@outlook.com \
--cc=raffaele.tranquillini@gmail.com \
--cc=stefan.eichenberger@toradex.com \
--cc=tailormoon@rambler.ru \
--cc=thierry.reding@gmail.com \
--cc=thomas.graichen@gmail.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;
as well as URLs for NNTP newsgroup(s).