From: Akashdeep Kaur <a-kaur@ti.com>
To: Vignesh Raghavendra <vigneshr@ti.com>, <praneeth@ti.com>,
<nm@ti.com>, <afd@ti.com>, <kristo@kernel.org>, <robh@kernel.org>,
<krzk+dt@kernel.org>, <conor+dt@kernel.org>,
<linux-arm-kernel@lists.infradead.org>,
<devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>
Cc: <vishalm@ti.com>, <sebin.francis@ti.com>
Subject: Re: [PATCH 3/3] arm64: dts: ti: k3-pinctrl: Add the remaining macros
Date: Mon, 1 Sep 2025 18:06:10 +0530 [thread overview]
Message-ID: <d6ab538c-f3b1-4513-8226-773a13510f86@ti.com> (raw)
In-Reply-To: <39f2bc33-e35c-4de4-9377-cf41f510ecc2@ti.com>
Hi Vignesh,
On 13/08/25 20:08, Vignesh Raghavendra wrote:
>
>
> On 31/07/25 17:26, Akashdeep Kaur wrote:
>> Add the drive strength, schmitt trigger enable macros to pinctrl file.
...
>> +#define DS_ISO_OVERRIDE_EN_SHIFT (22)
>> +#define DS_ISO_BYPASS_EN_SHIFT (23)
>
> These *_SHIFT macros are mostly arranged in ascending order of bit
> position, please follow the same.
Rearranged the newly added macros to mostly fit in ascending order.
>
> Also, ST_EN_SHIFT is already defined ?
Removed
>
>>
>> /* Schmitt trigger configuration */
>> #define ST_DISABLE (0 << ST_EN_SHIFT)
...
>> -#define PIN_DS_PULL_DOWN (0 << DS_PULLTYPE_SEL_SHIFT)
>> -#define PIN_DS_PULL_UP (1 << DS_PULLTYPE_SEL_SHIFT)
>
> No we cannot delete these. There maybe downstream dts files already
> using these macros and thus can cause incompatibilities.
Added these back for backward compatibility
>
>> +#define PIN_DS_FORCE_ENABLE (1 << FORCE_DS_EN_SHIFT)
...
>> +#define WKUP_EN_LEVEL_HIGH (WKUP_ENABLE | WKUP_ON_LEVEL | WKUP_LEVEL_HIGH)
>> +#define WKUP_EN WKUP_EN_EDGE
>
> All existing macros in this block have PIN_* suffix. Please align with
> the same.
Added
>
>>
>> /* Default mux configuration for gpio-ranges to use with pinctrl */
>> #define PIN_GPIO_RANGE_IOPAD (PIN_INPUT | 7)
>
>
> For future versions, please split the changes to 2 patches: one for
> white-space changes only and one for addition of new macros.
Point Noted
Regards,
Akashdeep Kaur
prev parent reply other threads:[~2025-09-01 16:35 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-31 11:56 [PATCH 0/3] Remove unused bits from dts and add support for remaining pinctrl macros Akashdeep Kaur
2025-07-31 11:56 ` [PATCH 1/3] arm64: dts: ti: k3-am62p5-sk: Remove the unused config from USB1_DRVVBUS Akashdeep Kaur
2025-07-31 11:56 ` [PATCH 2/3] arm64: dts: ti: k3-am62x-sk-common: " Akashdeep Kaur
2025-08-13 13:15 ` Dhruva Gole
2025-09-01 12:40 ` Akashdeep Kaur
2025-07-31 11:56 ` [PATCH 3/3] arm64: dts: ti: k3-pinctrl: Add the remaining macros Akashdeep Kaur
2025-08-13 13:05 ` Dhruva Gole
2025-09-01 12:33 ` Akashdeep Kaur
2025-08-13 14:38 ` Vignesh Raghavendra
2025-09-01 12:36 ` Akashdeep Kaur [this message]
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=d6ab538c-f3b1-4513-8226-773a13510f86@ti.com \
--to=a-kaur@ti.com \
--cc=afd@ti.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=kristo@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nm@ti.com \
--cc=praneeth@ti.com \
--cc=robh@kernel.org \
--cc=sebin.francis@ti.com \
--cc=vigneshr@ti.com \
--cc=vishalm@ti.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