From: Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com>
To: Krzysztof Kozlowski <krzk@kernel.org>
Cc: Rob Herring <robh@kernel.org>, Conor Dooley <conor+dt@kernel.org>,
Alim Akhtar <alim.akhtar@samsung.com>,
Sam Protsenko <semen.protsenko@linaro.org>,
Peter Griffin <peter.griffin@linaro.org>,
devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3 1/4] dt-bindings: soc: samsung: usi: replace USI_V2 in constants with USI_MODE
Date: Mon, 6 Jan 2025 09:09:18 +0200 [thread overview]
Message-ID: <8d7670fa-ff4b-430a-b188-778d3922f905@gmail.com> (raw)
In-Reply-To: <lvi72dmucagm6cxotqxmvc2yjdin3dvumivrfxjcsth2djaf54@n3i36ul3zkvl>
On 1/6/25 08:24, Krzysztof Kozlowski wrote:
> On Sun, Jan 05, 2025 at 06:03:43PM +0200, Ivaylo Ivanov wrote:
>> diff --git a/include/dt-bindings/soc/samsung,exynos-usi.h b/include/dt-bindings/soc/samsung,exynos-usi.h
>> index a01af169d..b7c1406f3 100644
>> --- a/include/dt-bindings/soc/samsung,exynos-usi.h
>> +++ b/include/dt-bindings/soc/samsung,exynos-usi.h
>> @@ -9,9 +9,9 @@
>> #ifndef __DT_BINDINGS_SAMSUNG_EXYNOS_USI_H
>> #define __DT_BINDINGS_SAMSUNG_EXYNOS_USI_H
>>
>> -#define USI_V2_NONE 0
>> -#define USI_V2_UART 1
>> -#define USI_V2_SPI 2
>> -#define USI_V2_I2C 3
>> +#define USI_MODE_NONE 0
>> +#define USI_MODE_UART 1
>> +#define USI_MODE_SPI 2
>> +#define USI_MODE_I2C 3
> This breaks ABI and does not build. You still need also:
> #define USI_V2_NONE USI_MODE_NONE
> and same for the rest.
Alright, sounds good to me. That way I shouldn't s/USI_V2/USI_MODE/g
for the other SoC device trees, right? Should I also mention with a
comment that the V2 constants are deprecated?
Best regards,
Ivaylo
>
> Best regards,
> Krzysztof
>
next prev parent reply other threads:[~2025-01-06 7:09 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-05 16:03 [PATCH v3 0/4] soc: samsung: usi: implement support for USIv1 Ivaylo Ivanov
2025-01-05 16:03 ` [PATCH v3 1/4] dt-bindings: soc: samsung: usi: replace USI_V2 in constants with USI_MODE Ivaylo Ivanov
2025-01-06 6:24 ` Krzysztof Kozlowski
2025-01-06 7:09 ` Ivaylo Ivanov [this message]
2025-01-06 7:28 ` Krzysztof Kozlowski
2025-01-06 7:36 ` Tudor Ambarus
2025-01-06 7:41 ` Ivaylo Ivanov
2025-01-06 8:50 ` Krzysztof Kozlowski
2025-01-06 9:10 ` Tudor Ambarus
2025-01-05 16:03 ` [PATCH v3 2/4] dt-bindings: soc: samsung: usi: add USIv1 and samsung,exynos8895-usi Ivaylo Ivanov
2025-01-06 6:31 ` Krzysztof Kozlowski
2025-01-06 7:11 ` Ivaylo Ivanov
2025-01-05 16:03 ` [PATCH v3 3/4] soc: samsung: usi: implement support for USIv1 and exynos8895 Ivaylo Ivanov
2025-01-06 7:02 ` Krzysztof Kozlowski
2025-01-05 16:03 ` [PATCH v3 4/4] arm64: dts: exynos: update all samsung,mode constants Ivaylo Ivanov
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=8d7670fa-ff4b-430a-b188-778d3922f905@gmail.com \
--to=ivo.ivanov.ivanov1@gmail.com \
--cc=alim.akhtar@samsung.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzk@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=peter.griffin@linaro.org \
--cc=robh@kernel.org \
--cc=semen.protsenko@linaro.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®