From patchwork Sat Feb 11 21:04:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alain Volmat X-Patchwork-Id: 652772 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DAD46C61DA4 for ; Sat, 11 Feb 2023 21:08:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229568AbjBKVID (ORCPT ); Sat, 11 Feb 2023 16:08:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35226 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229560AbjBKVIC (ORCPT ); Sat, 11 Feb 2023 16:08:02 -0500 Received: from mr85p00im-zteg06022001.me.com (mr85p00im-zteg06022001.me.com [17.58.23.193]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 542C713DE1 for ; Sat, 11 Feb 2023 13:08:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1676149680; bh=9x3CgbNoPA8aqfgz5tPm3lX+iFzbdCA3ovOiWwCxmhw=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=a7hhW8rbGThq5bVUwQbly0r9/NhX5yb72Y4LCRPrHEU3yT+DX3Ijyfq65qmg6hXDZ vBSrCxt0CSIP303ksCZgt4UJhY2qiB3X1JZK3XkVbv4b3pvx8OOPcg1VrvA6rxA6zN PBI1FZb20Pgsw9+RDU+jZ7MOl+8SoUZ/y5MMMpa8sBBUTiytPaOnVManCdbLOTi1iy pn9dEcjtoeVDYDNO3MxmlsUPiZp8eBkYILn4CVPkY4ow6zjbtKNZKQVgAT3YGMFJMB Hmd8++PmNDDQoYVD4wzTCKsESmiEfQzoeyyiaBvFCXekP8l2Ppvvo9hvaiyyEtfAis QpqUnqhFNiZpQ== Received: from localhost (mr38p00im-dlb-asmtp-mailmevip.me.com [17.57.152.18]) by mr85p00im-zteg06022001.me.com (Postfix) with ESMTPSA id 26DB08006B5; Sat, 11 Feb 2023 21:08:00 +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 1/2] dt-bindings: arm: sti: addition of STi platform syscon Date: Sat, 11 Feb 2023 22:04:58 +0100 Message-Id: <20230211210500.9919-1-avolmat@me.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Proofpoint-ORIG-GUID: EWEM7v_9xGo6ASDPDSahk_gQN2sYBIF8 X-Proofpoint-GUID: EWEM7v_9xGo6ASDPDSahk_gQN2sYBIF8 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-18=5F?= =?utf-8?q?01=3A2022-01-14=5F01=2C2022-01-18=5F01=2C2020-01-23=5F02_signatur?= =?utf-8?q?es=3D0?= X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 clxscore=1015 suspectscore=0 malwarescore=0 adultscore=0 mlxlogscore=999 mlxscore=0 spamscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2209130000 definitions=main-2302110197 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Addition of the various STi platform syscon node description. Signed-off-by: Alain Volmat --- .../bindings/arm/sti/st,sti-syscon.yaml | 46 +++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/sti/st,sti-syscon.yaml diff --git a/Documentation/devicetree/bindings/arm/sti/st,sti-syscon.yaml b/Documentation/devicetree/bindings/arm/sti/st,sti-syscon.yaml new file mode 100644 index 000000000000..e4bbc90694b3 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/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/arm/sti/st,sti-syscon.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: STMicroelectronics STi platform sysconfig entries + +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-sbc-syscfg + - st,stih407-front-syscfg + - st,stih407-rear-syscfg + - st,stih407-flash-syscfg + - st,stih407-sbc-reg-syscfg + - st,stih407-core-syscfg + - st,stih407-lpm-syscfg + - const: syscon + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + syscfg_sbc: sbc-syscfg@9620000 { + compatible = "st,stih407-sbc-syscfg", "syscon"; + reg = <0x9620000 0x1000>; + }; + +... From patchwork Sat Feb 11 21:04:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alain Volmat X-Patchwork-Id: 653024 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id EB8D0C61DA4 for ; Sat, 11 Feb 2023 21:08:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229782AbjBKVIV (ORCPT ); Sat, 11 Feb 2023 16:08:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35612 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229622AbjBKVIV (ORCPT ); Sat, 11 Feb 2023 16:08:21 -0500 Received: from mr85p00im-hyfv06021301.me.com (mr85p00im-hyfv06021301.me.com [17.58.23.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 053EF13DD3 for ; Sat, 11 Feb 2023 13:08:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1676149695; bh=ANaeM9xES9AEOXol9pUlamK7auhn8OeqFAnfHrbeVsI=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=TJ7il2f/6xF5raV0WQOtkYjo47Mtb0baiRJYK58awae8y9HGUTxLM3Nt1EZBkoBKd hGB5bRQJ+Hm6+Z3RbMhBO221DAhXc8iSwUonx4EAne7Rlj7cDtj8ouOcwz/2CdkLKh toGJEF9xHlT7dkbovkOrAUdqlipllGIZ2mt7TngOU8U8EEkdEh7X15pnXG2chsRiPU KBz6dE8vZ98XRqVuBWbMrbxt9tIKbh9Lmqyvgk1YVbMgnKcaPibs4hIVo6ILk0oej0 7EyqEb2ngujdWTvLwBvxzg8b4X9+6NqJvRTojM3wd6nhB5jXEHFj/tsi+N+ClSudJx 4g5QkznoKi52A== Received: from localhost (mr38p00im-dlb-asmtp-mailmevip.me.com [17.57.152.18]) by mr85p00im-hyfv06021301.me.com (Postfix) with ESMTPSA id 168472150ED2; Sat, 11 Feb 2023 21:08:14 +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 2/2] dt-bindings: arm: sti: add sti boards and remove stih415/stih416 Date: Sat, 11 Feb 2023 22:04:59 +0100 Message-Id: <20230211210500.9919-2-avolmat@me.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230211210500.9919-1-avolmat@me.com> References: <20230211210500.9919-1-avolmat@me.com> MIME-Version: 1.0 X-Proofpoint-ORIG-GUID: qJVLtNsSOAhLxVFksJgP53dWBzrYWedI X-Proofpoint-GUID: qJVLtNsSOAhLxVFksJgP53dWBzrYWedI 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?=2E572=2C17=2E11=2E62=2E513=2E0000000_definitions=3D2020-02-14=5F?= =?utf-8?q?11=3A2020-02-14=5F02=2C2020-02-14=5F11=2C2021-12-02=5F01_signatur?= =?utf-8?q?es=3D0?= X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 mlxscore=0 adultscore=0 malwarescore=0 mlxlogscore=999 suspectscore=0 spamscore=0 clxscore=1015 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2209130000 definitions=main-2302110198 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add bindings for STi platform boards and remove stih415/stih416 items. This commit also moves the sti.yaml binding file within the arm/sti/ folder instead of arm/ Signed-off-by: Alain Volmat --- .../devicetree/bindings/arm/sti.yaml | 26 --------------- .../devicetree/bindings/arm/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/arm/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/arm/sti/sti.yaml b/Documentation/devicetree/bindings/arm/sti/sti.yaml new file mode 100644 index 000000000000..aefa1919207c --- /dev/null +++ b/Documentation/devicetree/bindings/arm/sti/sti.yaml @@ -0,0 +1,33 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/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 + +...