From patchwork Sun Feb 12 20:51:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alain Volmat X-Patchwork-Id: 55970 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp2048332wrn; Sun, 12 Feb 2023 13:03:03 -0800 (PST) X-Google-Smtp-Source: AK7set+5uRkFRX5EKCoNGoDmnpleGbZEBtq0ebNhx8g5lXGtTQnFWHZr7tzls9AVdZ1vCk8JMB6L X-Received: by 2002:a62:524b:0:b0:5a8:bdc8:3d0e with SMTP id g72-20020a62524b000000b005a8bdc83d0emr643379pfb.19.1676235783248; Sun, 12 Feb 2023 13:03:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676235783; cv=none; d=google.com; s=arc-20160816; b=u0C7SgWy+Tjofm1aDgBI+jMy9j046xEgmX3cgZTWqQIDLtLJyfJMS2e8y8pD/AO7fw Y39idoWUAC7KXzjISZNg5I8v5qcXWd/noaUA66JX1Vmm/cCa2ea8Pe9krW/N43Pbctjk 5ILd46N9cXSHbQ9Dd6G+dDcvJ3G0+zUIUE7eHD1Ao7ZZqonQ20ZfhsUo2DYKeXLsgiSg ZH1I1CC0K7BrbxwXOkGdqOjm0png6F+jOo6Jevvtov+Z3jrCFV3w+BriOCWLKa9vg5Nb +LphT9O/2xlA01EJ9kcLBhjtyoIhWdDmsoouqAQycP5XLMpKv5cy3ZBMz1Ldr5D55jT5 nrGQ== 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 :dkim-signature; bh=2cJAWB/7Hi9YuRLupffkQdyTGuHN5QxKkQbV6A+JkRs=; b=H0qZ5sGGo3gJx1ZSBaXXsTkByHvYjhM1aBQHos2mJ80AEbE6P70gnx7r6Z2S9Y8mnK swX3hQjJrWkPt4OUoYUVlHQKcImCEoGEj7u8NPxQ4ggmdxhB5i6WB0SUb8sayfB8RmKt 227QgyVjE0T13JU4YKXjEjKspJgei3TGeJd7oyqEzlfeWo0KeblpoS7nizWAfB1Pf04U 4VwDsaBG9fVxAqo9+sAaNjprH7TKaEpoaW8MzGCOGrGiRLYthwpo/dSWnak3ZgK0MWML jk5JC0D/EGRDNDdl1R7djDPGbNMSJqu2/uXJq0cDIP4v+RoMWdUVPw3qZxFSBclTIGHu iIZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@me.com header.s=1a1hai header.b="R/gJyNSL"; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=me.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y7-20020aa793c7000000b005659a66d652si9722419pff.229.2023.02.12.13.02.49; Sun, 12 Feb 2023 13:03:03 -0800 (PST) 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; dkim=pass header.i=@me.com header.s=1a1hai header.b="R/gJyNSL"; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=me.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229613AbjBLU4e (ORCPT + 99 others); Sun, 12 Feb 2023 15:56:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48856 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229479AbjBLU4d (ORCPT ); Sun, 12 Feb 2023 15:56:33 -0500 X-Greylist: delayed 313 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Sun, 12 Feb 2023 12:56:32 PST Received: from st43p00im-ztfb10061701.me.com (st43p00im-ztfb10061701.me.com [17.58.63.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D0FE0F75E for ; Sun, 12 Feb 2023 12:56:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1676235082; bh=2cJAWB/7Hi9YuRLupffkQdyTGuHN5QxKkQbV6A+JkRs=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=R/gJyNSL5R5ROg8O/RHydged4LhOK1puMb85uQv2TjRqYhnkS10lfO+l0Wr7UWQWX ALiymgqbMGhdurogK63SLmM+I1MHDtbpEa96ziu+y0mDdiLR4Mss6uvMmGwQr+lXNR jLxF+4k3tZfc8ObdugHa5mRDLD7yQRcIUqD7ZocwdH/iv9tWdTavQeWlKAOQQOEyA6 KENMlc1BrEVzCPxIiWUArAUg3gB0EboZACtILNUu6JXyHmWRzR+keckuDFjuBJ0e3q CO0kEZQm9wE5yCBlxMhkBNtwM1sDzRjeK5x+BQBcnLYv0Hsviyw6b8GvNgpBFYsMRs f/nC6LwW8H7eg== Received: from localhost (st43p00im-dlb-asmtp-mailmevip.me.com [17.42.251.41]) by st43p00im-ztfb10061701.me.com (Postfix) with ESMTPSA id 6DE922E0325; Sun, 12 Feb 2023 20:51:21 +0000 (UTC) From: Alain Volmat To: Rob Herring , Krzysztof Kozlowski , Patrice Chotard Cc: Alain Volmat , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/2] dt-bindings: arm: sti: add STi platform syscon Date: Sun, 12 Feb 2023 21:51:06 +0100 Message-Id: <20230212205107.8073-2-avolmat@me.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230212205107.8073-1-avolmat@me.com> References: <20230212205107.8073-1-avolmat@me.com> MIME-Version: 1.0 X-Proofpoint-ORIG-GUID: AQLAym5I_tnGk3-vc5eM_UNaGwNocej8 X-Proofpoint-GUID: AQLAym5I_tnGk3-vc5eM_UNaGwNocej8 X-Proofpoint-Virus-Version: =?utf-8?q?vendor=3Dfsecure_engine=3D1=2E1=2E170-?= =?utf-8?q?22c6f66c430a71ce266a39bfe25bc2903e8d5c8f=3A6=2E0=2E138=2C18=2E0?= =?utf-8?q?=2E883=2C17=2E0=2E605=2E474=2E0000000_definitions=3D2022-06-21=5F?= =?utf-8?q?08=3A2020-02-14=5F02=2C2022-06-21=5F08=2C2020-01-23=5F02_signatur?= =?utf-8?q?es=3D0?= X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 clxscore=1015 mlxscore=0 adultscore=0 phishscore=0 bulkscore=0 mlxlogscore=999 malwarescore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2209130000 definitions=main-2302120192 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1757660613084816913?= X-GMAIL-MSGID: =?utf-8?q?1757660613084816913?= Add DT schema of STi platform syscon Signed-off-by: Alain Volmat Reviewed-by: Krzysztof Kozlowski --- v2: update wording of commit log reorder compatible enum update example within the binding file .../bindings/soc/sti/st,sti-syscon.yaml | 46 +++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/sti/st,sti-syscon.yaml diff --git a/Documentation/devicetree/bindings/soc/sti/st,sti-syscon.yaml b/Documentation/devicetree/bindings/soc/sti/st,sti-syscon.yaml new file mode 100644 index 000000000000..5f97d9ff17fb --- /dev/null +++ b/Documentation/devicetree/bindings/soc/sti/st,sti-syscon.yaml @@ -0,0 +1,46 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/sti/st,sti-syscon.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: STMicroelectronics STi platform sysconfig + +maintainers: + - Patrice Chotard + +description: | + Binding for the various sysconfig nodes used within the STi + platform device-tree to point to some common configuration + registers used by other nodes. + +properties: + compatible: + items: + - enum: + - st,stih407-core-syscfg + - st,stih407-flash-syscfg + - st,stih407-front-syscfg + - st,stih407-lpm-syscfg + - st,stih407-rear-syscfg + - st,stih407-sbc-reg-syscfg + - st,stih407-sbc-syscfg + - const: syscon + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + syscfg_sbc: syscon@9620000 { + compatible = "st,stih407-sbc-syscfg", "syscon"; + reg = <0x9620000 0x1000>; + }; + +... From patchwork Sun Feb 12 20:51:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alain Volmat X-Patchwork-Id: 55972 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp2051820wrn; Sun, 12 Feb 2023 13:14:51 -0800 (PST) X-Google-Smtp-Source: AK7set9+v0zxLWrvOUf8wVd/YmWRoS2H9Va1eAFrOVoci4LowDVFjBZU7gjmD6xl2RL/uPgvrbTy X-Received: by 2002:a17:90a:5b11:b0:230:ff67:ac26 with SMTP id o17-20020a17090a5b1100b00230ff67ac26mr12912792pji.13.1676236491507; Sun, 12 Feb 2023 13:14:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676236491; cv=none; d=google.com; s=arc-20160816; b=cbPtTS1fp03n9Gi34MZq+hI2hYbFB5DKyM4K42WLrg14P+3wwej8ZxZ7vhEnVAs7bY cuBp3r0LsZpfPaxtJNd97maVhfOiejKaaNVPh0vBI9PDciC4bNUy5yX1Nb6NZKc/roQQ juGtV0WAcAX0IMQqYZQjcTIpjuG209QvFBdEDMlien8eqE7Gzo7Xd/cqU59hS90Xolan DTjgiIaYVJNh5vynFbL8D6Gx08kN1k0LKG+h9d8C7u6i/7lNxpuWLrdNUF7UKIMqmUX+ YNaQimKtIIsm2vHNWWBBeX/Rq4cNFejTNENBDQVZolXxBwxXjyifb4/LsDKtPp4xgoAl gpIg== 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 :dkim-signature; bh=iXPcVESiYpddzMqQnxfdfMRMU7vmmNrIn9723DUGq8A=; b=02eB3rx7MfH7Naecd/bVmWQQFkk8F5nHx2xi/QL24c2ElonykB62MTHnDpXtp9wD6P q0mnD1id+07bbtqdkV9P6M3pn0gqHt4qYOPN67JfRllOjOKRWTJ+p8MmE+7s1KR3xxxN 0TEwo7DFIM8poN3oJ3bqqB9CaCdRp4tmmN2T0mS3GIH4SIGKe+9plJcm+81J3gEIhkYI C3gwLpGNFy7rcDHdki9q5nC4N+DrLhck9naC4rWj7v2VIMhc6huteFqrKpb2w+vZan8F 5hsUvGs/dMVO+Evxiyu5S+OEdyME0kHVgyD9UBEEwKpGLznm5RpBGgnH9q6uWmi1FAR3 C5ug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@me.com header.s=1a1hai header.b=Vy9WVgzu; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=me.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m30-20020a637d5e000000b004da9617dfddsi3689146pgn.210.2023.02.12.13.14.39; Sun, 12 Feb 2023 13:14:51 -0800 (PST) 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; dkim=pass header.i=@me.com header.s=1a1hai header.b=Vy9WVgzu; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=me.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229479AbjBLU6L (ORCPT + 99 others); Sun, 12 Feb 2023 15:58:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49956 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229622AbjBLU6H (ORCPT ); Sun, 12 Feb 2023 15:58:07 -0500 Received: from st43p00im-zteg10062001.me.com (st43p00im-zteg10062001.me.com [17.58.63.166]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CFE0AEB60 for ; Sun, 12 Feb 2023 12:58:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1676235084; bh=iXPcVESiYpddzMqQnxfdfMRMU7vmmNrIn9723DUGq8A=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=Vy9WVgzunfB0tOLJBAwzisUOV4YPs4KQY90BgTdURkPntZywp56SDdR8WCFEMfwTU +Pcj1Mmt+TLA9iWf+KFnRfwH1wCqsZlAMChukn44G3Lq+3dRYZjuFyAhFLMV1D+XQp C1bLqRRr3n1ST0OvWSF5NdVMraGGZ8dvRTBV58vItQSnDnZbGNLiMh7H1AMXxpN8j7 oT1x4R/GWHXkPIpGcunu1Eh3Lxau39I5cH5CIw5D2PWTiMQOR2sAtGOEE6gTrZ+rqR lFFEhrd6CsfUYasGz9qNIeml8+IxfFuiIiTbnwTZCXI3urR9gjX8ltR3LKhZFPu767 KVYOxSRkcb0tw== Received: from localhost (st43p00im-dlb-asmtp-mailmevip.me.com [17.42.251.41]) by st43p00im-zteg10062001.me.com (Postfix) with ESMTPSA id 0514A8006C7; Sun, 12 Feb 2023 20:51:23 +0000 (UTC) From: Alain Volmat To: Rob Herring , Krzysztof Kozlowski , Patrice Chotard Cc: Alain Volmat , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 2/2] dt-bindings: arm: sti: add sti boards and remove stih415/stih416 Date: Sun, 12 Feb 2023 21:51:07 +0100 Message-Id: <20230212205107.8073-3-avolmat@me.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230212205107.8073-1-avolmat@me.com> References: <20230212205107.8073-1-avolmat@me.com> MIME-Version: 1.0 X-Proofpoint-GUID: dPMAEenNzL_QBXhyqmDAMoAzQ-2KAPFY X-Proofpoint-ORIG-GUID: dPMAEenNzL_QBXhyqmDAMoAzQ-2KAPFY X-Proofpoint-Virus-Version: =?utf-8?q?vendor=3Dfsecure_engine=3D1=2E1=2E170-?= =?utf-8?q?22c6f66c430a71ce266a39bfe25bc2903e8d5c8f=3A6=2E0=2E425=2C18=2E0?= =?utf-8?q?=2E816=2C17=2E0=2E605=2E474=2E0000000_definitions=3D2022-01-17=5F?= =?utf-8?q?04=3A2022-01-14=5F01=2C2022-01-17=5F04=2C2020-01-23=5F02_signatur?= =?utf-8?q?es=3D0?= X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=975 malwarescore=0 adultscore=0 spamscore=0 mlxscore=0 suspectscore=0 clxscore=1015 bulkscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2209130000 definitions=main-2302120192 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1757661355354715728?= X-GMAIL-MSGID: =?utf-8?q?1757661355354715728?= Add bindings for STi platform boards and remove stih415/stih416 items. This commit also moves the sti.yaml binding file into soc/sti folder Signed-off-by: Alain Volmat --- v2: update licensing move file into soc/sti folder .../devicetree/bindings/arm/sti.yaml | 26 --------------- .../devicetree/bindings/soc/sti/sti.yaml | 33 +++++++++++++++++++ 2 files changed, 33 insertions(+), 26 deletions(-) delete mode 100644 Documentation/devicetree/bindings/arm/sti.yaml create mode 100644 Documentation/devicetree/bindings/soc/sti/sti.yaml diff --git a/Documentation/devicetree/bindings/arm/sti.yaml b/Documentation/devicetree/bindings/arm/sti.yaml deleted file mode 100644 index 3ca054c64377..000000000000 --- a/Documentation/devicetree/bindings/arm/sti.yaml +++ /dev/null @@ -1,26 +0,0 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/arm/sti.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: ST STi Platforms - -maintainers: - - Patrice Chotard - -properties: - $nodename: - const: '/' - compatible: - items: - - enum: - - st,stih415 - - st,stih416 - - st,stih407 - - st,stih410 - - st,stih418 - -additionalProperties: true - -... diff --git a/Documentation/devicetree/bindings/soc/sti/sti.yaml b/Documentation/devicetree/bindings/soc/sti/sti.yaml new file mode 100644 index 000000000000..f32770867142 --- /dev/null +++ b/Documentation/devicetree/bindings/soc/sti/sti.yaml @@ -0,0 +1,33 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/sti/sti.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ST STi Platforms + +maintainers: + - Patrice Chotard + +properties: + $nodename: + const: '/' + compatible: + oneOf: + - items: + - const: st,stih407-b2120 + - const: st,stih407 + - items: + - enum: + - st,stih410-b2120 + - st,stih410-b2260 + - const: st,stih410 + - items: + - enum: + - st,stih418-b2199 + - st,stih418-b2264 + - const: st,stih418 + +additionalProperties: true + +...