public inbox for linux-gpio@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/7] Add support for Kontron OSM-S i.MX93 SoM and carrier board
@ 2024-07-02 10:31 Frieder Schrempf
  2024-07-02 10:31 ` [PATCH 3/7] dt-bindings: gpio: vf610: Allow gpio-line-names to be set Frieder Schrempf
  2024-07-03  9:59 ` [PATCH 0/7] Add support for Kontron OSM-S i.MX93 SoM and carrier board Bartosz Golaszewski
  0 siblings, 2 replies; 5+ messages in thread
From: Frieder Schrempf @ 2024-07-02 10:31 UTC (permalink / raw)
  To: Bartosz Golaszewski, Conor Dooley, devicetree, Geert Uytterhoeven,
	imx, Krzysztof Kozlowski, Liam Girdwood, Linus Walleij,
	linux-arm-kernel, linux-gpio, linux-i2c, linux-kernel,
	linux-renesas-soc, Li Yang, Magnus Damm, Mark Brown, Rob Herring,
	Robin Gong, Sascha Hauer, Shawn Guo, Stefan Agner
  Cc: Frieder Schrempf, Alexander Stein, Bartosz Golaszewski,
	Bjorn Helgaas, Bo Liu, Conor Dooley, Fabio Estevam,
	Gregor Herburger, Hiago De Franco, Hugo Villeneuve,
	Joao Paulo Goncalves, Joy Zou, Krzysztof Kozlowski, Marco Felsch,
	Marek Vasut, Markus Niebel, Mathieu Othacehe, Peng Fan,
	Pengutronix Kernel Team, Philipp Zabel, Rafał Miłecki,
	Sebastian Reichel, Tim Harvey

From: Frieder Schrempf <frieder.schrempf@kontron.de>

Patch 1-4: small DT binding fixups
Patch 5: board DT bindings
Patch 6: support PMIC driver without IRQ
Patch 7: add devicetrees

Frieder Schrempf (7):
  dt-bindings: eeprom: at24: Move compatible for Belling BL24C16A to
    proper place
  dt-bindings: eeprom: at24: Add compatible for ONSemi N24S64B
  dt-bindings: gpio: vf610: Allow gpio-line-names to be set
  dt-bindings: regulator: pca9450: Make interrupt optional
  dt-bindings: arm: fsl: Add Kontron i.MX93 OSM-S based boards
  regulator: pca9450: Make IRQ optional
  arm64: dts: Add support for Kontron i.MX93 OSM-S SoM and BL carrier
    board

 .../devicetree/bindings/arm/fsl.yaml          |   6 +
 .../devicetree/bindings/eeprom/at24.yaml      |  10 +-
 .../devicetree/bindings/gpio/gpio-vf610.yaml  |   1 +
 .../regulator/nxp,pca9450-regulator.yaml      |   1 -
 .../dts/freescale/imx93-kontron-bl-osm-s.dts  | 165 ++++++
 .../dts/freescale/imx93-kontron-osm-s.dtsi    | 547 ++++++++++++++++++
 drivers/regulator/pca9450-regulator.c         |  41 +-
 7 files changed, 744 insertions(+), 27 deletions(-)
 create mode 100644 arch/arm64/boot/dts/freescale/imx93-kontron-bl-osm-s.dts
 create mode 100644 arch/arm64/boot/dts/freescale/imx93-kontron-osm-s.dtsi

-- 
2.45.2


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 3/7] dt-bindings: gpio: vf610: Allow gpio-line-names to be set
  2024-07-02 10:31 [PATCH 0/7] Add support for Kontron OSM-S i.MX93 SoM and carrier board Frieder Schrempf
@ 2024-07-02 10:31 ` Frieder Schrempf
  2024-07-02 14:23   ` Krzysztof Kozlowski
  2024-07-03  9:59 ` [PATCH 0/7] Add support for Kontron OSM-S i.MX93 SoM and carrier board Bartosz Golaszewski
  1 sibling, 1 reply; 5+ messages in thread
From: Frieder Schrempf @ 2024-07-02 10:31 UTC (permalink / raw)
  To: Bartosz Golaszewski, Conor Dooley, devicetree,
	Krzysztof Kozlowski, Linus Walleij, linux-gpio, linux-kernel,
	Rob Herring, Stefan Agner
  Cc: Frieder Schrempf, Bartosz Golaszewski, Krzysztof Kozlowski,
	Peng Fan

From: Frieder Schrempf <frieder.schrempf@kontron.de>

Describe common "gpio-line-names" property to fix dtbs_check warnings
like:

  arch/arm64/boot/dts/freescale/imx93-kontron-bl-osm-s.dtb: gpio@43810000:
    'gpio-line-names' does not match any of the regexes: '^.+-hog(-[0-9]+)?$', 'pinctrl-[0-9]+'

Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
---
 Documentation/devicetree/bindings/gpio/gpio-vf610.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml b/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml
index a27f929502575..7230ba1a386ae 100644
--- a/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml
+++ b/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml
@@ -50,6 +50,7 @@ properties:
     const: 2
 
   gpio-controller: true
+  gpio-line-names: true
 
   clocks:
     items:
-- 
2.45.2


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH 3/7] dt-bindings: gpio: vf610: Allow gpio-line-names to be set
  2024-07-02 10:31 ` [PATCH 3/7] dt-bindings: gpio: vf610: Allow gpio-line-names to be set Frieder Schrempf
@ 2024-07-02 14:23   ` Krzysztof Kozlowski
  2024-07-03  7:43     ` Frieder Schrempf
  0 siblings, 1 reply; 5+ messages in thread
From: Krzysztof Kozlowski @ 2024-07-02 14:23 UTC (permalink / raw)
  To: Frieder Schrempf, Bartosz Golaszewski, Conor Dooley, devicetree,
	Krzysztof Kozlowski, Linus Walleij, linux-gpio, linux-kernel,
	Rob Herring, Stefan Agner
  Cc: Frieder Schrempf, Bartosz Golaszewski, Krzysztof Kozlowski,
	Peng Fan

On 02/07/2024 12:31, Frieder Schrempf wrote:
> From: Frieder Schrempf <frieder.schrempf@kontron.de>
> 
> Describe common "gpio-line-names" property to fix dtbs_check warnings
> like:
> 
>   arch/arm64/boot/dts/freescale/imx93-kontron-bl-osm-s.dtb: gpio@43810000:

There is no such file. You cannot use future work as reason for a
warning. Simply such warning does not exist at this point and
introducing warnings knowingly is also not correct.

>     'gpio-line-names' does not match any of the regexes: '^.+-hog(-[0-9]+)?$', 'pinctrl-[0-9]+'
> 
> Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
> ---
>  Documentation/devicetree/bindings/gpio/gpio-vf610.yaml | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml b/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml
> index a27f929502575..7230ba1a386ae 100644
> --- a/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml
> +++ b/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml
> @@ -50,6 +50,7 @@ properties:
>      const: 2
>  
>    gpio-controller: true
> +  gpio-line-names: true

maxItems are not known?



Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 3/7] dt-bindings: gpio: vf610: Allow gpio-line-names to be set
  2024-07-02 14:23   ` Krzysztof Kozlowski
@ 2024-07-03  7:43     ` Frieder Schrempf
  0 siblings, 0 replies; 5+ messages in thread
From: Frieder Schrempf @ 2024-07-03  7:43 UTC (permalink / raw)
  To: Krzysztof Kozlowski, Frieder Schrempf, Bartosz Golaszewski,
	Conor Dooley, devicetree, Krzysztof Kozlowski, Linus Walleij,
	linux-gpio, linux-kernel, Rob Herring, Stefan Agner
  Cc: Bartosz Golaszewski, Krzysztof Kozlowski, Peng Fan

Hi Krzysztof,

thanks for reviewing!

On 02.07.24 4:23 PM, Krzysztof Kozlowski wrote:
> On 02/07/2024 12:31, Frieder Schrempf wrote:
>> From: Frieder Schrempf <frieder.schrempf@kontron.de>
>>
>> Describe common "gpio-line-names" property to fix dtbs_check warnings
>> like:
>>
>>   arch/arm64/boot/dts/freescale/imx93-kontron-bl-osm-s.dtb: gpio@43810000:
> 
> There is no such file. You cannot use future work as reason for a
> warning. Simply such warning does not exist at this point and
> introducing warnings knowingly is also not correct.

Ok, I will change the commit message and not mention the warning.

> 
>>     'gpio-line-names' does not match any of the regexes: '^.+-hog(-[0-9]+)?$', 'pinctrl-[0-9]+'
>>
>> Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
>> ---
>>  Documentation/devicetree/bindings/gpio/gpio-vf610.yaml | 1 +
>>  1 file changed, 1 insertion(+)
>>
>> diff --git a/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml b/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml
>> index a27f929502575..7230ba1a386ae 100644
>> --- a/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml
>> +++ b/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml
>> @@ -50,6 +50,7 @@ properties:
>>      const: 2
>>  
>>    gpio-controller: true
>> +  gpio-line-names: true
> 
> maxItems are not known?

I will set "minItems: 1" and "maxItems: 32" as this is the proper range
for the number of values.

Thanks
Frieder

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 0/7] Add support for Kontron OSM-S i.MX93 SoM and carrier board
  2024-07-02 10:31 [PATCH 0/7] Add support for Kontron OSM-S i.MX93 SoM and carrier board Frieder Schrempf
  2024-07-02 10:31 ` [PATCH 3/7] dt-bindings: gpio: vf610: Allow gpio-line-names to be set Frieder Schrempf
@ 2024-07-03  9:59 ` Bartosz Golaszewski
  1 sibling, 0 replies; 5+ messages in thread
From: Bartosz Golaszewski @ 2024-07-03  9:59 UTC (permalink / raw)
  To: Bartosz Golaszewski, Conor Dooley, devicetree, Geert Uytterhoeven,
	imx, Krzysztof Kozlowski, Liam Girdwood, Linus Walleij,
	linux-arm-kernel, linux-gpio, linux-i2c, linux-kernel,
	linux-renesas-soc, Li Yang, Magnus Damm, Mark Brown, Rob Herring,
	Robin Gong, Sascha Hauer, Shawn Guo, Stefan Agner,
	Frieder Schrempf
  Cc: Bartosz Golaszewski, Frieder Schrempf, Alexander Stein,
	Bjorn Helgaas, Bo Liu, Conor Dooley, Fabio Estevam,
	Gregor Herburger, Hiago De Franco, Hugo Villeneuve,
	Joao Paulo Goncalves, Joy Zou, Krzysztof Kozlowski, Marco Felsch,
	Marek Vasut, Markus Niebel, Mathieu Othacehe, Peng Fan,
	Pengutronix Kernel Team, Philipp Zabel, Rafał Miłecki,
	Sebastian Reichel, Tim Harvey

From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>


On Tue, 02 Jul 2024 12:31:12 +0200, Frieder Schrempf wrote:
> From: Frieder Schrempf <frieder.schrempf@kontron.de>
> 
> Patch 1-4: small DT binding fixups
> Patch 5: board DT bindings
> Patch 6: support PMIC driver without IRQ
> Patch 7: add devicetrees
> 
> [...]

Applied, thanks!

[1/7] dt-bindings: eeprom: at24: Move compatible for Belling BL24C16A to proper place
      commit: d83c217778e7425d10105001150c5670e07f88fe
[2/7] dt-bindings: eeprom: at24: Add compatible for ONSemi N24S64B
      commit: 3a9ba4e32230df6c48cda1fd5cbca6facacc74c2

Best regards,
-- 
Bartosz Golaszewski <bartosz.golaszewski@linaro.org>

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-07-03  9:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-02 10:31 [PATCH 0/7] Add support for Kontron OSM-S i.MX93 SoM and carrier board Frieder Schrempf
2024-07-02 10:31 ` [PATCH 3/7] dt-bindings: gpio: vf610: Allow gpio-line-names to be set Frieder Schrempf
2024-07-02 14:23   ` Krzysztof Kozlowski
2024-07-03  7:43     ` Frieder Schrempf
2024-07-03  9:59 ` [PATCH 0/7] Add support for Kontron OSM-S i.MX93 SoM and carrier board Bartosz Golaszewski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox