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: 55868 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp1675229wrn; Sat, 11 Feb 2023 14:16:12 -0800 (PST) X-Google-Smtp-Source: AK7set8fKEceWLkM9bqeVyIkOAa+WPoY4sshrzHTHBO6xxHvo5toGo3l2jI/vKuKOk7xtzmnrO1i X-Received: by 2002:a50:ce1d:0:b0:4ab:2503:403a with SMTP id y29-20020a50ce1d000000b004ab2503403amr10495102edi.34.1676153771896; Sat, 11 Feb 2023 14:16:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676153771; cv=none; d=google.com; s=arc-20160816; b=lPdIFLAxwQOqVL7sX0KcuU5XQ6xq98bAvEDaZHiaSaO+4zFy+2EPd+tvSCBxIlPSwl AyeWByQYjc97PPx8AJjkfF0eLoWAYe//W4zT/A5AmcgD9t55jtEbd/OkKmT0+r2im+24 +Cy88IRm9SsZs01ngXbAxBo/sFOl6ZZl06/hWI76ieVngMxjWWGdwHwUv5XHNUirrqNw yShQSMfabpQ5YSUoB6UtaFiI8nUn1LUt7of0TXPpu0401ipYTHCLUWoDblgYrhe2hxlT rX+S/leGGbJmYDAZ/MGBUPcxf8budgwmmmawovWYaB75N5kOlVKZ4pHrR/mouGEXcatU HMFQ== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=9x3CgbNoPA8aqfgz5tPm3lX+iFzbdCA3ovOiWwCxmhw=; b=iKYOsR8e+GI9n01XZHeNRbLOHpnOHFMhIhXPyJKDZ7dmx2RtVcvqwgbH2FS6W/OWM4 VIcntulJzVXoqFaHQlSEKzLJl8kGsQzVTPckopX9eZOtJsOhWwne2xk/ygX9ndVtM9yt b4MbLgCU9cJ1CVzFfnYwSM/vPDijfKEXVEyoWoknzjDwNUz+FIMfyR+AgKH2Og2CWHMW Vpm1Ncl6CA2azR9rWaM82Pm632tzXGctWYY07FCIx/KW72bhFgs8FiYoyAU4BHp9q0z3 sfUSGTuXjTd1/M2JPGQ3ri1LcMFTLAbsViOLY3iWrF36/+kjIk5r+cNs3c/z6erz6eHn itBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@me.com header.s=1a1hai header.b=a7hhW8rb; 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 y21-20020aa7ccd5000000b004aabadec638si8371011edt.127.2023.02.11.14.15.48; Sat, 11 Feb 2023 14:16:11 -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=a7hhW8rb; 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 S229735AbjBKVID (ORCPT + 99 others); Sat, 11 Feb 2023 16:08:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35224 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229489AbjBKVIC (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 1D85113DD3 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 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=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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1757574617328228641?= X-GMAIL-MSGID: =?utf-8?q?1757574617328228641?= 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: 55866 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp1661376wrn; Sat, 11 Feb 2023 13:26:06 -0800 (PST) X-Google-Smtp-Source: AK7set+gkAuhXIvNpL/8uTWicbVbyVaEL/bOVJkjefzBgfeHjH/t1HrqIrHQlvz64eL1QPvkblLX X-Received: by 2002:a05:6a21:3397:b0:bf:58d1:ce9c with SMTP id yy23-20020a056a21339700b000bf58d1ce9cmr11656473pzb.27.1676150765998; Sat, 11 Feb 2023 13:26:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676150765; cv=none; d=google.com; s=arc-20160816; b=b9x5fNCGqWjh/Nl7/kGjMaVhv1KRbscnflicLUs5VwRTbzZOWkfsxKL8Q/cAFrEoNX hf/Gwv+KnY8fGX/p8DOW99FCiobnchSEDI6LSrvxR6M9wy6GXnYmw15XDjbPqoJBJhkn je+znuzQfudwoazlqY2NBI3/mQsatZbTjiPhw6rrSqx0LxuTcfWza76hDz4yJQAyJIZk lsMU83UqXAZBRkPZVRArAMSINdqOD10/Si6AwlZe3JYJ0jqLcsb/tGU7NyDlES6NtDTh Q9NONyyPXJJYMhC5DQxoZ+is6/2kWLw9VehAnfPB8hlH6t9ymTOAxtreN6VAvqNnvagX jc+A== 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=ANaeM9xES9AEOXol9pUlamK7auhn8OeqFAnfHrbeVsI=; b=ZIUWNWCDaD/v0N7VmeNBu4RPCTyIPr8RjOnVoAfalRHqVCfbS9bwnXG1xBPkk971P6 47tBaZ30f9W2J6KB+x6n4tmiLUydJuYsVpAaFyN53tJFeolU0QzFjMdVP2iRt9fYlYF0 6eE+SvrLmX0xRDLW3Y/vRjOQnxpP3U2c36SD7J4zhIMuoXQY6vvlALI1v62YeeHu+FmN okYb3cVbN8Swxijta09hNKzL5VXFEbbd65IlO6qGQEbSflWZ1qmjjGe3JcSgxlGUZpaV /PMmONKyi8yD8ThILSRGhnvcrlNP82U8pWpLOlJFMLGSki6Qi3NiDXPdZ6XMkT3RPARj v0EA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@me.com header.s=1a1hai header.b="TJ7il2f/"; 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 l64-20020a633e43000000b004fb8e0c1129si1215544pga.315.2023.02.11.13.25.52; Sat, 11 Feb 2023 13:26:05 -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="TJ7il2f/"; 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 S229489AbjBKVIW (ORCPT + 99 others); Sat, 11 Feb 2023 16:08:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35614 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229779AbjBKVIV (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 0546B14E84 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 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=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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1757571465175666836?= X-GMAIL-MSGID: =?utf-8?q?1757571465175666836?= 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 + +...