Message ID | 20230721210042.21535-10-duje.mihanovic@skole.hr |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9010:0:b0:3e4:2afc:c1 with SMTP id l16csp477000vqg; Fri, 21 Jul 2023 14:33:51 -0700 (PDT) X-Google-Smtp-Source: APBJJlH+/ZpXFjd4RgrXPTYKJ2pOkPPjc/f3zNoe+pJsxTkrzliuXaZPNIfuhKKgg0PV9xefUvcM X-Received: by 2002:a05:6358:8810:b0:134:c815:f067 with SMTP id hv16-20020a056358881000b00134c815f067mr1222610rwb.11.1689975231062; Fri, 21 Jul 2023 14:33:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689975231; cv=none; d=google.com; s=arc-20160816; b=LdHS3KTz2KDLiUnBG5XPlJXJnq+k413nqz6L2dz48JQL8mrUHp1BCL2QvJ0DUBBj/g OmPwVDB/QttkPeuovwNiBw6hOWOm64xLXmNxtEOAoQoInYRPSCPJrYpMWOltu9ZC0ylY C6G2HpesSu47bFPPL8lYzVi9oU7hLoTVmHXJpG7VQJlBIn4f+nYF6bDlo01GZCFHjGyj q78CVDRYi8bXYdcnvfaGrg/4R5AUJuAeA9mmFIRFDlxeFxcvM+/vSrxiJbUJXLHiNfZ9 pDtDD7ZuiTl+4yDiygbFMAQbVtxmf2cMZ5i+tvZesyvAysrAVh2VhmC0pgcrb5yfbZgW xSHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=SxqdqmbcB6ZuFF2eshArIj60+/NtLs8FH95Cz0ss3Kg=; fh=PKP8S/t86sDZ2ti9vIE64iIKfoOM3PzkSZutfwMJltM=; b=PBA+w6wp288ABmPhGkHP4uk+V2MYfDmMGA8fpXfBWPrtcgqYXfCmTVs9dyeUtA6qCC nuTpHe4i4JlOl3NneBRvWAxkssIMhuTABDd7JLpZqnsoP07XU8vdtalva8v3ONCu8jwI 3Xg0tb661hzSgPYF0klmYjUq1/MwauUHmSwJ4jMir+2GV0ysI7445bDtgl4llmXxs/J4 ItBKe/g/1z7M5Q0xrye80RQk3mmNijT1PRETicEWSXQTeNcNZZICtU+Ka0qvNWVKSBp8 ERIDr3f+n0lTB6oARDGt+POo/QeLlILqOCW4j7yDFPMjvvlN6tXn4Sg2X3rR/XevsNt7 axKQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v24-20020a63f218000000b005578994f212si3710467pgh.425.2023.07.21.14.33.38; Fri, 21 Jul 2023 14:33:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231136AbjGUVNw (ORCPT <rfc822;assdfgzxcv4@gmail.com> + 99 others); Fri, 21 Jul 2023 17:13:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37576 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229689AbjGUVNp (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 21 Jul 2023 17:13:45 -0400 Received: from mx.skole.hr (mx2.hosting.skole.hr [161.53.165.186]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8F5B83A80; Fri, 21 Jul 2023 14:13:16 -0700 (PDT) Received: from mx2.hosting.skole.hr (localhost.localdomain [127.0.0.1]) by mx.skole.hr (mx.skole.hr) with ESMTP id A0D21880C6; Fri, 21 Jul 2023 23:06:15 +0200 (CEST) From: =?utf-8?q?Duje_Mihanovi=C4=87?= <duje.mihanovic@skole.hr> To: =?utf-8?q?Duje_Mihanovi=C4=87?= <duje.mihanovic@skole.hr>, Andrew Lunn <andrew@lunn.ch>, Gregory Clement <gregory.clement@bootlin.com>, Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, afaerber@suse.com Subject: [PATCH 09/10] dt-bindings: marvell: Document PXA1908 SoC Date: Fri, 21 Jul 2023 22:37:51 +0200 Message-ID: <20230721210042.21535-10-duje.mihanovic@skole.hr> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230721210042.21535-1-duje.mihanovic@skole.hr> References: <20230721210042.21535-1-duje.mihanovic@skole.hr> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1772067468289223513 X-GMAIL-MSGID: 1772067468289223513 |
Series |
Initial Marvell PXA1908 support
|
|
Commit Message
Duje Mihanović
July 21, 2023, 8:37 p.m. UTC
Add dt bindings and documentation for Marvell PXA1908 SoC.
Signed-off-by: Duje Mihanović <duje.mihanovic@skole.hr>
---
.../bindings/arm/marvell/marvell,pxa1908.yaml | 33 +++++++++++++++++++
1 file changed, 33 insertions(+)
create mode 100644 Documentation/devicetree/bindings/arm/marvell/marvell,pxa1908.yaml
Comments
On Fri, 21 Jul 2023 22:37:51 +0200, Duje Mihanović wrote: > Add dt bindings and documentation for Marvell PXA1908 SoC. > > Signed-off-by: Duje Mihanović <duje.mihanovic@skole.hr> > --- > .../bindings/arm/marvell/marvell,pxa1908.yaml | 33 +++++++++++++++++++ > 1 file changed, 33 insertions(+) > create mode 100644 Documentation/devicetree/bindings/arm/marvell/marvell,pxa1908.yaml > My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check' on your patch (DT_CHECKER_FLAGS is new in v5.13): yamllint warnings/errors: dtschema/dtc warnings/errors: /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/arm/marvell/marvell,pxa1908.yaml: $id: Cannot determine base path from $id, relative path/filename doesn't match actual path or filename $id: http://devicetree.org/schemas/arm/marvell/pxa1908.yaml file: /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/arm/marvell/marvell,pxa1908.yaml doc reference errors (make refcheckdocs): See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20230721210042.21535-10-duje.mihanovic@skole.hr The base for the series is generally the latest rc1. A different dependency should be noted in *this* patch. If you already ran 'make dt_binding_check' and didn't see the above error(s), then make sure 'yamllint' is installed and dt-schema is up to date: pip3 install dtschema --upgrade Please check and re-submit after running the above command yourself. Note that DT_SCHEMA_FILES can be set to your schema file to speed up checking your schema. However, it must be unset to test all examples with your schema.
On 21/07/2023 22:37, Duje Mihanović wrote: > Add dt bindings and documentation for Marvell PXA1908 SoC. > > Signed-off-by: Duje Mihanović <duje.mihanovic@skole.hr> > --- > .../bindings/arm/marvell/marvell,pxa1908.yaml | 33 +++++++++++++++++++ > 1 file changed, 33 insertions(+) > create mode 100644 Documentation/devicetree/bindings/arm/marvell/marvell,pxa1908.yaml > > diff --git a/Documentation/devicetree/bindings/arm/marvell/marvell,pxa1908.yaml b/Documentation/devicetree/bindings/arm/marvell/marvell,pxa1908.yaml > new file mode 100644 > index 000000000000..085d238129ad > --- /dev/null > +++ b/Documentation/devicetree/bindings/arm/marvell/marvell,pxa1908.yaml I suggest having one bindings file for all pxa platforms, not per one SoC. > @@ -0,0 +1,33 @@ > +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/arm/marvell/pxa1908.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Marvell PXA1908 Platforms > + > +maintainers: > + - Duje Mihanović <duje.mihanovic@skole.hr> > + > +properties: > + $nodename: > + const: '/' > + compatible: > + oneOf: > + - items: > + - enum: > + - samsung,coreprimevelte > + - const: marvell,pxa1908 > + > + pxa,rev-id: Incorrect vendor prefix > + $ref: /schemas/types.yaml#/definitions/uint32-array > + oneOf: That's not oneOf, so just items: > + - items: > + - description: Board ID > + - description: Board revision > + description: | Best regards, Krzysztof
Hi Krzysztof, > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/arm/marvell/marvell,pxa1908.yaml > > I suggest having one bindings file for all pxa platforms, not per one SoC. I would need to coordinate this with Lubomir. > > + pxa,rev-id: > Incorrect vendor prefix Unfortunately, the non-free bootloader used by the coreprimevelte expects the rev-id property to be named exactly like that and will refuse to boot the kernel image at all otherwise. This restriction can be bypassed by chainloading U-Boot, which I wish to do eventually. Best regards, Duje
On Sat, Jul 22, 2023 at 11:27:21AM +0200, Krzysztof Kozlowski wrote: > On 21/07/2023 22:37, Duje Mihanović wrote: > > Add dt bindings and documentation for Marvell PXA1908 SoC. > > > > Signed-off-by: Duje Mihanović <duje.mihanovic@skole.hr> > > --- > > .../bindings/arm/marvell/marvell,pxa1908.yaml | 33 +++++++++++++++++++ > > 1 file changed, 33 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/arm/marvell/marvell,pxa1908.yaml > > > > diff --git a/Documentation/devicetree/bindings/arm/marvell/marvell,pxa1908.yaml b/Documentation/devicetree/bindings/arm/marvell/marvell,pxa1908.yaml > > new file mode 100644 > > index 000000000000..085d238129ad > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/arm/marvell/marvell,pxa1908.yaml > > I suggest having one bindings file for all pxa platforms, not per one SoC. Or perhaps mirroring the new dts directory structure. PXA is really multiple families. This one is more aligned with MMP than the PXA2xx/3xx. Rob
On July 24, 2023 4:14:35 PM GMT+02:00, Rob Herring <robh@kernel.org> wrote: >On Sat, Jul 22, 2023 at 11:27:21AM +0200, Krzysztof Kozlowski wrote: >> On 21/07/2023 22:37, Duje Mihanović wrote: >> > Add dt bindings and documentation for Marvell PXA1908 SoC. >> > >> > Signed-off-by: Duje Mihanović <duje.mihanovic@skole.hr> >> > --- >> > .../bindings/arm/marvell/marvell,pxa1908.yaml | 33 +++++++++++++++++++ >> > 1 file changed, 33 insertions(+) >> > create mode 100644 Documentation/devicetree/bindings/arm/marvell/marvell,pxa1908.yaml >> > >> > diff --git a/Documentation/devicetree/bindings/arm/marvell/marvell,pxa1908.yaml b/Documentation/devicetree/bindings/arm/marvell/marvell,pxa1908.yaml >> > new file mode 100644 >> > index 000000000000..085d238129ad >> > --- /dev/null >> > +++ b/Documentation/devicetree/bindings/arm/marvell/marvell,pxa1908.yaml >> >> I suggest having one bindings file for all pxa platforms, not per one SoC. > >Or perhaps mirroring the new dts directory structure. PXA is really >multiple families. This one is more aligned with MMP than the >PXA2xx/3xx. > >Rob >
diff --git a/Documentation/devicetree/bindings/arm/marvell/marvell,pxa1908.yaml b/Documentation/devicetree/bindings/arm/marvell/marvell,pxa1908.yaml new file mode 100644 index 000000000000..085d238129ad --- /dev/null +++ b/Documentation/devicetree/bindings/arm/marvell/marvell,pxa1908.yaml @@ -0,0 +1,33 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/marvell/pxa1908.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Marvell PXA1908 Platforms + +maintainers: + - Duje Mihanović <duje.mihanovic@skole.hr> + +properties: + $nodename: + const: '/' + compatible: + oneOf: + - items: + - enum: + - samsung,coreprimevelte + - const: marvell,pxa1908 + + pxa,rev-id: + $ref: /schemas/types.yaml#/definitions/uint32-array + oneOf: + - items: + - description: Board ID + - description: Board revision + description: | + Some bootloaders use this property to determine whether the provided dt + blob is compatible with a specific device. For example, Samsung's S-Boot + is known to require this property. + +additionalProperties: false