From mboxrd@z Thu Jan 1 00:00:00 1970 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1DEBBC433EF for ; Mon, 13 Jun 2022 17:19:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=DgJSFpoMJvE6mAcR2s5bNax6U4GbLUM9HXKdXBbV7RY=; b=E5nlebrWttEQAf LJM0QbX7Ou3nmP3dT80w96SKdx8x9skrlnsJJU4f+2T7QCcfkYc4i5YlpGXmZiILIYKH9hqhyGzYF SvtZWp8xjggneTXZ1ZfqcOCeAlL08yAVqOR39MQ8ZMHlme3vC2x1kyQ5AUKDnjkllOCraw9T3CrdG CtNrRF++TvqT/VruWExlpKBnt3vX+4GbwZW6Ia8CiRAVguk5T6+f/MMSVyI44C+W5NaG477Img8TE GT+Ig1l1GaWAQo3iODJxMARFtiotYPXeBmI7iuegppwaeYMANFKnzqA75EbZ+Homaetzp4myco/EQ 7u6nvK/luSHZsFL6GFqQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o0nhy-004ueP-Uc; Mon, 13 Jun 2022 17:18:35 +0000 Received: from mail-io1-f50.google.com ([209.85.166.50]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o0nhh-004uXl-Tc for linux-arm-kernel@lists.infradead.org; Mon, 13 Jun 2022 17:18:19 +0000 Received: by mail-io1-f50.google.com with SMTP id a10so6776615ioe.9 for ; Mon, 13 Jun 2022 10:18:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=2mnX/lv1CoSM2GJgNr/IeYJZ7Y+yiMOfA3Jp6IUIPGQ=; b=YelobBobvzpsy+n+A234ThlDSEC62C4/XBQESElPiMZVuYnAhgvBPZXORelpiPT7xe 0+UJ6GPXiCQZ+KyIsYQfQf0I92VwL1VPphQI9D8HBK2j5UM9noh9+pgjP42d3INzQeNj nOzrE7zicndzzcjoVnLzxANh+wW0FO/Ae5WFy9p+M43Jcp3JYRVKGfD9IRYPscrsrUYK UAgyHzxRWa3pKBjncxCv/rgBwKRozr7IQkRDMIOBzLqyKRnJ3tjON9aUUaz1/4JEvCYs K4eQoJW5don5PklRppdYGRwy/f1OEi0H92SNmw+wpxaWM4kzz6UZwul1PrxWvJR0zJra UEng== X-Gm-Message-State: AOAM530b7jmNnSaMpx5ovfKDQKFFxTdhb479luYApMCys6GO/EMtkpUT gSKpyF8+mlDGVGlYmQeg4FRJLO1Dsw== X-Google-Smtp-Source: ABdhPJyT+r+axI1HGJ7u/QULVEEOiPQMBKwM12KG6nBrTwWFQLTAWYm0Y3TfwVYELfwpCFVfsRf3pw== X-Received: by 2002:a05:6638:22d4:b0:333:f776:e896 with SMTP id j20-20020a05663822d400b00333f776e896mr475569jat.75.1655140694423; Mon, 13 Jun 2022 10:18:14 -0700 (PDT) Received: from xps15.herring.priv ([64.188.179.251]) by smtp.googlemail.com with ESMTPSA id ck19-20020a0566383f1300b00331a211407fsm3740374jab.93.2022.06.13.10.18.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Jun 2022 10:18:14 -0700 (PDT) From: Rob Herring To: Krzysztof Kozlowski , Andre Przywara Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] dt-bindings: vexpress-sysreg: Allow for no child nodes Date: Mon, 13 Jun 2022 11:18:08 -0600 Message-Id: <20220613171809.3928949-2-robh@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220613171809.3928949-1-robh@kernel.org> References: <20220613171809.3928949-1-robh@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220613_101817_974760_3624F64E X-CRM114-Status: GOOD ( 12.04 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org It is valid for arm,vexpress-sysreg to have no child nodes when either the deprecated binding without child nodes is used or a platform has no GPIOs. If there are no child nodes, then "#address-cells" and "#size-cells" should not be required. However, "reg" should be present in all cases, so let's add it now. Cc: Andre Przywara Signed-off-by: Rob Herring --- Documentation/devicetree/bindings/arm/vexpress-sysreg.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/arm/vexpress-sysreg.yaml b/Documentation/devicetree/bindings/arm/vexpress-sysreg.yaml index 2d2afada5ad1..f04db802a732 100644 --- a/Documentation/devicetree/bindings/arm/vexpress-sysreg.yaml +++ b/Documentation/devicetree/bindings/arm/vexpress-sysreg.yaml @@ -74,8 +74,7 @@ patternProperties: required: - compatible - - "#address-cells" - - "#size-cells" + - reg examples: - | -- 2.34.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel From mboxrd@z Thu Jan 1 00:00:00 1970 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 19EEECCA47B for ; Mon, 13 Jun 2022 19:24:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348649AbiFMTYM (ORCPT ); Mon, 13 Jun 2022 15:24:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44572 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349732AbiFMTWt (ORCPT ); Mon, 13 Jun 2022 15:22:49 -0400 Received: from mail-io1-f44.google.com (mail-io1-f44.google.com [209.85.166.44]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7E87532ED7; Mon, 13 Jun 2022 10:18:16 -0700 (PDT) Received: by mail-io1-f44.google.com with SMTP id y79so6801553iof.2; Mon, 13 Jun 2022 10:18:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=2mnX/lv1CoSM2GJgNr/IeYJZ7Y+yiMOfA3Jp6IUIPGQ=; b=wK3R7Qdmm9ctJdd4k0HyzT+RIAV+PJ1c5rPCj4TFH1iElbP+RTfI6/gajhFf/kI0M1 lS5HABbzirAC1QTSiuWwgenge0+KuOnj8b+DKsoqnHpk5Kn0EFg1Lkzje9OipNsC54Y4 c/qSSZKnayOEaTtLWqoBnS485keIiVj3SBeFqdlvTmtmvdZXSqJ4VSF1PN9o4RqTP43l lXdXHERqKMIViLxj7DQ3SuIEsGTzDSfbCRoD05xpkQUFLOo4Al4fv0ipka2TNdoUQesZ gN7xqCK86tVsg3FaOpf8rAJ9UJrQDdR6e2f5APFcGyeAxzV72C2fPMflm+nE2hpI7VZ0 OIcg== X-Gm-Message-State: AOAM532W6JLtm/XGgptEJg413wpyJxzh/3rRtQN3CK71XJWgePd22rkr AR3MwtCYIXucI24fx0nVtQ== X-Google-Smtp-Source: ABdhPJyT+r+axI1HGJ7u/QULVEEOiPQMBKwM12KG6nBrTwWFQLTAWYm0Y3TfwVYELfwpCFVfsRf3pw== X-Received: by 2002:a05:6638:22d4:b0:333:f776:e896 with SMTP id j20-20020a05663822d400b00333f776e896mr475569jat.75.1655140694423; Mon, 13 Jun 2022 10:18:14 -0700 (PDT) Received: from xps15.herring.priv ([64.188.179.251]) by smtp.googlemail.com with ESMTPSA id ck19-20020a0566383f1300b00331a211407fsm3740374jab.93.2022.06.13.10.18.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Jun 2022 10:18:14 -0700 (PDT) From: Rob Herring To: Krzysztof Kozlowski , Andre Przywara Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] dt-bindings: vexpress-sysreg: Allow for no child nodes Date: Mon, 13 Jun 2022 11:18:08 -0600 Message-Id: <20220613171809.3928949-2-robh@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220613171809.3928949-1-robh@kernel.org> References: <20220613171809.3928949-1-robh@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org It is valid for arm,vexpress-sysreg to have no child nodes when either the deprecated binding without child nodes is used or a platform has no GPIOs. If there are no child nodes, then "#address-cells" and "#size-cells" should not be required. However, "reg" should be present in all cases, so let's add it now. Cc: Andre Przywara Signed-off-by: Rob Herring --- Documentation/devicetree/bindings/arm/vexpress-sysreg.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/arm/vexpress-sysreg.yaml b/Documentation/devicetree/bindings/arm/vexpress-sysreg.yaml index 2d2afada5ad1..f04db802a732 100644 --- a/Documentation/devicetree/bindings/arm/vexpress-sysreg.yaml +++ b/Documentation/devicetree/bindings/arm/vexpress-sysreg.yaml @@ -74,8 +74,7 @@ patternProperties: required: - compatible - - "#address-cells" - - "#size-cells" + - reg examples: - | -- 2.34.1