linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: fix compilation error of the example in intel,lgm-emmc-phy.yaml
@ 2020-01-24 11:49 Dafna Hirschfeld
  2020-01-24 14:03 ` Rob Herring
  0 siblings, 1 reply; 5+ messages in thread
From: Dafna Hirschfeld @ 2020-01-24 11:49 UTC (permalink / raw)
  To: devicetree
  Cc: kishon, robh+dt, mark.rutland, linux-kernel, dafna.hirschfeld,
	helen.koike, ezequiel, kernel, dafna3

Running:
export DT_SCHEMA_FILES=Documentation/devicetree/bindings/phy/intel,lgm-emmc-phy.yaml
'make dt_binding_check'

gives a compilation error. This is because in the example there
is the label 'emmc-phy' but labels are not allowed to have '-' sing.
Replace the '-' with '_' to fix the error.

Signed-off-by: Dafna Hirschfeld <dafna.hirschfeld@collabora.com>
---
 Documentation/devicetree/bindings/phy/intel,lgm-emmc-phy.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/phy/intel,lgm-emmc-phy.yaml b/Documentation/devicetree/bindings/phy/intel,lgm-emmc-phy.yaml
index ff7959c21af0..0de6b0f128b8 100644
--- a/Documentation/devicetree/bindings/phy/intel,lgm-emmc-phy.yaml
+++ b/Documentation/devicetree/bindings/phy/intel,lgm-emmc-phy.yaml
@@ -46,7 +46,7 @@ examples:
       compatible = "intel,lgm-syscon", "syscon";
       reg = <0xe0200000 0x100>;
 
-      emmc-phy: emmc-phy@a8 {
+      emmc_phy: emmc-phy@a8 {
         compatible = "intel,lgm-emmc-phy";
         reg = <0x00a8 0x10>;
         clocks = <&emmc>;
-- 
2.17.1


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

* Re: [PATCH] dt-bindings: fix compilation error of the example in intel,lgm-emmc-phy.yaml
  2020-01-24 11:49 [PATCH] dt-bindings: fix compilation error of the example in intel,lgm-emmc-phy.yaml Dafna Hirschfeld
@ 2020-01-24 14:03 ` Rob Herring
  2020-01-24 14:29   ` Dafna Hirschfeld
  0 siblings, 1 reply; 5+ messages in thread
From: Rob Herring @ 2020-01-24 14:03 UTC (permalink / raw)
  To: Dafna Hirschfeld
  Cc: devicetree, Kishon Vijay Abraham I, Mark Rutland, linux-kernel,
	Helen Koike, Ezequiel Garcia, Collabora Kernel ML, dafna3

On Fri, Jan 24, 2020 at 5:49 AM Dafna Hirschfeld
<dafna.hirschfeld@collabora.com> wrote:
>
> Running:
> export DT_SCHEMA_FILES=Documentation/devicetree/bindings/phy/intel,lgm-emmc-phy.yaml
> 'make dt_binding_check'
>
> gives a compilation error. This is because in the example there
> is the label 'emmc-phy' but labels are not allowed to have '-' sing.
> Replace the '-' with '_' to fix the error.
>
> Signed-off-by: Dafna Hirschfeld <dafna.hirschfeld@collabora.com>

There's a fix from the author, but you're first to get the fix correct, so:

Fixes: 5bc999108025 ("dt-bindings: phy: intel-emmc-phy: Add YAML
schema for LGM eMMC PHY")
Acked-by: Rob Herring <robh@kernel.org>

Kishon, Please apply these soon as linux-next is broken.

Rob

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

* Re: [PATCH] dt-bindings: fix compilation error of the example in intel,lgm-emmc-phy.yaml
  2020-01-24 14:03 ` Rob Herring
@ 2020-01-24 14:29   ` Dafna Hirschfeld
  2020-01-27 12:24     ` Kishon Vijay Abraham I
  0 siblings, 1 reply; 5+ messages in thread
From: Dafna Hirschfeld @ 2020-01-24 14:29 UTC (permalink / raw)
  To: Rob Herring
  Cc: devicetree, Kishon Vijay Abraham I, Mark Rutland, linux-kernel,
	Helen Koike, Ezequiel Garcia, Collabora Kernel ML, dafna3



On 24.01.20 15:03, Rob Herring wrote:
> On Fri, Jan 24, 2020 at 5:49 AM Dafna Hirschfeld
> <dafna.hirschfeld@collabora.com> wrote:
>>
>> Running:
>> export DT_SCHEMA_FILES=Documentation/devicetree/bindings/phy/intel,lgm-emmc-phy.yaml
>> 'make dt_binding_check'
>>
>> gives a compilation error. This is because in the example there
>> is the label 'emmc-phy' but labels are not allowed to have '-' sing.
>> Replace the '-' with '_' to fix the error.
>>
>> Signed-off-by: Dafna Hirschfeld <dafna.hirschfeld@collabora.com>
> 
> There's a fix from the author, but you're first to get the fix correct, so:
Oh, sorry, I was not aware of that.
Dafna

> 
> Fixes: 5bc999108025 ("dt-bindings: phy: intel-emmc-phy: Add YAML
> schema for LGM eMMC PHY")
> Acked-by: Rob Herring <robh@kernel.org>
> 
> Kishon, Please apply these soon as linux-next is broken.
> 
> Rob
> 

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

* Re: [PATCH] dt-bindings: fix compilation error of the example in intel,lgm-emmc-phy.yaml
  2020-01-24 14:29   ` Dafna Hirschfeld
@ 2020-01-27 12:24     ` Kishon Vijay Abraham I
  2020-01-31 14:56       ` Rob Herring
  0 siblings, 1 reply; 5+ messages in thread
From: Kishon Vijay Abraham I @ 2020-01-27 12:24 UTC (permalink / raw)
  To: Dafna Hirschfeld, Rob Herring
  Cc: devicetree, Mark Rutland, linux-kernel, Helen Koike,
	Ezequiel Garcia, Collabora Kernel ML, dafna3



On 24/01/20 7:59 pm, Dafna Hirschfeld wrote:
> 
> 
> On 24.01.20 15:03, Rob Herring wrote:
>> On Fri, Jan 24, 2020 at 5:49 AM Dafna Hirschfeld
>> <dafna.hirschfeld@collabora.com> wrote:
>>>
>>> Running:
>>> export
>>> DT_SCHEMA_FILES=Documentation/devicetree/bindings/phy/intel,lgm-emmc-phy.yaml
>>>
>>> 'make dt_binding_check'
>>>
>>> gives a compilation error. This is because in the example there
>>> is the label 'emmc-phy' but labels are not allowed to have '-' sing.
>>> Replace the '-' with '_' to fix the error.
>>>
>>> Signed-off-by: Dafna Hirschfeld <dafna.hirschfeld@collabora.com>
>>
>> There's a fix from the author, but you're first to get the fix
>> correct, so:
> Oh, sorry, I was not aware of that.
> Dafna
> 
>>
>> Fixes: 5bc999108025 ("dt-bindings: phy: intel-emmc-phy: Add YAML
>> schema for LGM eMMC PHY")
>> Acked-by: Rob Herring <robh@kernel.org>
>>
>> Kishon, Please apply these soon as linux-next is broken.
>>

merged now, Thanks!

-Kishon

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

* Re: [PATCH] dt-bindings: fix compilation error of the example in intel,lgm-emmc-phy.yaml
  2020-01-27 12:24     ` Kishon Vijay Abraham I
@ 2020-01-31 14:56       ` Rob Herring
  0 siblings, 0 replies; 5+ messages in thread
From: Rob Herring @ 2020-01-31 14:56 UTC (permalink / raw)
  To: Kishon Vijay Abraham I
  Cc: Dafna Hirschfeld, devicetree, Mark Rutland, linux-kernel,
	Helen Koike, Ezequiel Garcia, Collabora Kernel ML, dafna3

On Mon, Jan 27, 2020 at 6:21 AM Kishon Vijay Abraham I <kishon@ti.com> wrote:
>
>
>
> On 24/01/20 7:59 pm, Dafna Hirschfeld wrote:
> >
> >
> > On 24.01.20 15:03, Rob Herring wrote:
> >> On Fri, Jan 24, 2020 at 5:49 AM Dafna Hirschfeld
> >> <dafna.hirschfeld@collabora.com> wrote:
> >>>
> >>> Running:
> >>> export
> >>> DT_SCHEMA_FILES=Documentation/devicetree/bindings/phy/intel,lgm-emmc-phy.yaml
> >>>
> >>> 'make dt_binding_check'
> >>>
> >>> gives a compilation error. This is because in the example there
> >>> is the label 'emmc-phy' but labels are not allowed to have '-' sing.
> >>> Replace the '-' with '_' to fix the error.
> >>>
> >>> Signed-off-by: Dafna Hirschfeld <dafna.hirschfeld@collabora.com>
> >>
> >> There's a fix from the author, but you're first to get the fix
> >> correct, so:
> > Oh, sorry, I was not aware of that.
> > Dafna
> >
> >>
> >> Fixes: 5bc999108025 ("dt-bindings: phy: intel-emmc-phy: Add YAML
> >> schema for LGM eMMC PHY")
> >> Acked-by: Rob Herring <robh@kernel.org>
> >>
> >> Kishon, Please apply these soon as linux-next is broken.
> >>
>
> merged now, Thanks!

And please drop or revert this. It's still has failures:

Documentation/devicetree/bindings/phy/intel,lgm-emmc-phy.example.dts:23.13-33:
Warning (reg_format): /example-0/chiptop@e0200000/emmc-phy@a8:reg:
property has invalid length (8 bytes) (#address-cells == 2,
#size-cells == 1)
Documentation/devicetree/bindings/phy/intel,lgm-emmc-phy.example.dt.yaml:
Warning (pci_device_bus_num): Failed prerequisite 'reg_format'
Documentation/devicetree/bindings/phy/intel,lgm-emmc-phy.example.dt.yaml:
Warning (i2c_bus_reg): Failed prerequisite 'reg_format'
Documentation/devicetree/bindings/phy/intel,lgm-emmc-phy.example.dt.yaml:
Warning (spi_bus_reg): Failed prerequisite 'reg_format'
Documentation/devicetree/bindings/phy/intel,lgm-emmc-phy.example.dts:21.33-26.13:
Warning (avoid_default_addr_size):
/example-0/chiptop@e0200000/emmc-phy@a8: Relying on default
#address-cells value
Documentation/devicetree/bindings/phy/intel,lgm-emmc-phy.example.dts:21.33-26.13:
Warning (avoid_default_addr_size):
/example-0/chiptop@e0200000/emmc-phy@a8: Relying on default
#size-cells value


I'll send out a complete fix and take via the DT tree so maybe we can
have an rc1 that works.

Rob

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

end of thread, other threads:[~2020-01-31 14:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-24 11:49 [PATCH] dt-bindings: fix compilation error of the example in intel,lgm-emmc-phy.yaml Dafna Hirschfeld
2020-01-24 14:03 ` Rob Herring
2020-01-24 14:29   ` Dafna Hirschfeld
2020-01-27 12:24     ` Kishon Vijay Abraham I
2020-01-31 14:56       ` Rob Herring

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).