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>; + }; + +...