From patchwork Tue Mar 8 07:21:24 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuldeep Singh X-Patchwork-Id: 12773148 X-Patchwork-Delegate: broonie@sirena.org.uk 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 76441C433EF for ; Tue, 8 Mar 2022 07:21:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239802AbiCHHW1 (ORCPT ); Tue, 8 Mar 2022 02:22:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45948 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232229AbiCHHW1 (ORCPT ); Tue, 8 Mar 2022 02:22:27 -0500 Received: from mail-pg1-x52d.google.com (mail-pg1-x52d.google.com [IPv6:2607:f8b0:4864:20::52d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B235833A01; Mon, 7 Mar 2022 23:21:31 -0800 (PST) Received: by mail-pg1-x52d.google.com with SMTP id z4so15662715pgh.12; Mon, 07 Mar 2022 23:21:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=InYx5E35xCXMzdh7VhBOTrNQit1CCIS3WqKJpQjMoRE=; b=EfRlsqFx8/TKH2eJluF62EVChtCYp8brbzZetxdmlEtmMksT3NrvvQSKlNKRUAM2bC 9K8WQbcg5OuzKFyeXDESpXbFrsgTYhqtr02BrgAlIc3CrZkZIMukRScFOKBG3BsqFsd/ RL/5xqUYWSUh/g/EqrsDofUeHcqMyphqUzNMtUVSR52Ac8Sc997M7wrFBTeqM+19XQWk dh73wgql9J/cv9CsxdgRPnJC10xvZGwZxfgXr51Vx4HFZ/LMIkufVKv7ZeeRiWYiFPs1 8hmk1bJsInzrvj/TEy+KeKeGvOBe6/+QsEF3aXWF1HoOfpEaGjarvzQmbY4a0iCJl3Oo uluw== 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:mime-version :content-transfer-encoding; bh=InYx5E35xCXMzdh7VhBOTrNQit1CCIS3WqKJpQjMoRE=; b=1ekarVkQ1qsxq6T53qPUFCjSqHTTb3/SF82WbsDtq7ebKwmUhK5Uq6k3J4axJgPU1D oJnTP9HUBjrk8jfi2TPYGHp71xaNgV8EYQqRDiqh7IQ6m3W/Ztb4FjE0B9VNUegnoxgN +x/iunFAPiea/pM625euvjizpfyCsBnbAb5nTrUUxm/gpd7Lc5dZVjoqlCpEuyBLlrZ6 1wl3RKBeryE31aNfkIRUCIkXbpOHwvLtjRSNQs5RX0YXQZMNIHevIEovrgNtdv70/Lwx +gzt4Jif8QBkKMb7Kof4qBV2thDMD/37CW5OODrL54K4flPnNBB7aQLl0MN63yh5t29e WdpA== X-Gm-Message-State: AOAM5331386axlXOd2KkD2QsoCONcr8hZLLag+hCrwaJCmkl8XsWzPcG DUdBPxB1AnVHlc5vyrxdjJcViK807CzfBA== X-Google-Smtp-Source: ABdhPJx78V7vzD9QytRnrvlk5rWAgb2Z2AgIMt/f75+uIp5RPc+YkixrSPDEoGLa4oYnpwtrBSoaOA== X-Received: by 2002:a63:f816:0:b0:37f:f252:9f12 with SMTP id n22-20020a63f816000000b0037ff2529f12mr13366177pgh.318.1646724091167; Mon, 07 Mar 2022 23:21:31 -0800 (PST) Received: from localhost.localdomain ([122.161.53.68]) by smtp.gmail.com with ESMTPSA id 67-20020a630846000000b00372782a65d0sm14995206pgi.60.2022.03.07.23.21.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Mar 2022 23:21:30 -0800 (PST) From: Kuldeep Singh To: Mark Brown , linux-arm-kernel@lists.infradead.org, linux-spi@vger.kernel.org, devicetree@vger.kernel.org Cc: Rob Herring , Robin Murphy , Linus Walleij , Krzysztof Kozlowski Subject: [PATCH v2 1/2] dt-bindings: spi: Update clocks property for ARM pl022 Date: Tue, 8 Mar 2022 12:51:24 +0530 Message-Id: <20220308072125.38381-1-singh.kuldeep87k@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org Add missing minItems property to clocks in ARM pl022 bindings. This helps in resolving below warnings: clocks: [[4]] is too short clock-names: ['apb_pclk'] is too short Signed-off-by: Kuldeep Singh --- v2: - Keep actual warning and remove path to file - Reword commit message a bit Documentation/devicetree/bindings/spi/spi-pl022.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/spi/spi-pl022.yaml b/Documentation/devicetree/bindings/spi/spi-pl022.yaml index 6d633728fc2b..7d36e15db5b3 100644 --- a/Documentation/devicetree/bindings/spi/spi-pl022.yaml +++ b/Documentation/devicetree/bindings/spi/spi-pl022.yaml @@ -34,6 +34,7 @@ properties: maxItems: 1 clocks: + minItems: 1 maxItems: 2 clock-names: From patchwork Tue Mar 8 07:21:25 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuldeep Singh X-Patchwork-Id: 12773149 X-Patchwork-Delegate: broonie@sirena.org.uk 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 95E51C433F5 for ; Tue, 8 Mar 2022 07:21:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232229AbiCHHWa (ORCPT ); Tue, 8 Mar 2022 02:22:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45978 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242343AbiCHHWa (ORCPT ); Tue, 8 Mar 2022 02:22:30 -0500 Received: from mail-pg1-x536.google.com (mail-pg1-x536.google.com [IPv6:2607:f8b0:4864:20::536]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9C59D3DA40; Mon, 7 Mar 2022 23:21:34 -0800 (PST) Received: by mail-pg1-x536.google.com with SMTP id 132so15685856pga.5; Mon, 07 Mar 2022 23:21:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=BbGWRdfMw5O6J3ptTxpUy8/+22z3vg5V10Uqp3dSFOA=; b=YNXNimBuqD3nUZjCoHcH4/+4o60PEVS6D2Y+b1qxu+D3i4aPL6IZKDnBkP9SMveO+3 sb8ptehiOLum6MtWvShEWN9RhGNUL17raScPZXIOygm6H5Vv15INAQyzK497JLFAhNM4 LHS8eslj7QHs+5TQjIir41A+lh/Z5HKA9ybRot13q+orQZFdgH7OMZgxMck6t6YGYSWs iM7yLgSVfnG0twSYBQo6ZTZa5G6pkh7YCF0jgSyVtjgweL65dhZ1owm44enmfh2Uucwe Wg4Fap5hBEbsZ2dzpn9CUh//YzVOSZHIgprFKUQHzBFGA9mL8k6GRaD5bJVm8nnIkPE7 ZZRQ== 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=BbGWRdfMw5O6J3ptTxpUy8/+22z3vg5V10Uqp3dSFOA=; b=CDFIbmXH4/eEi+NECy21cI0bntYD334Xn1YLt2Lnk5vmFYBJtlwnPkjf6gAFk5zhO6 1IH1UrJnIuzNO91Ucwa105ThBcRrjl5nnSJWDsVp9jqwF2Ul96Jx7PbsqVKzGQAUVum0 yQfosC5JE//U/gigGwd7pIwDUtQgZfJ1VbgSercxEWdEB//6ACq57KQw2Ie62Qtn/Pm6 mnCmu0kGlukXjpgg25Dxkwr6RXAFsLYC7yywsZghP3TaAVqWOhDl44ANsBE8eAJm1wPI 7lCiOyLjASP3/rZE2kMoan5I+8kRz2SKzItmItwp45o6sexNO7YDrlLDaclwignj9QrT K0ig== X-Gm-Message-State: AOAM530WJrshP+pa80Zv52ULb0IEbq56mg0Jtw7k6Bp0FvpVWFodsFyX C3rhSOiOY2S99u4Fg0+D30U= X-Google-Smtp-Source: ABdhPJyDEFDZPCLHv/dvj+Ftb/bL2ifiXiuwdDuyjRzyyGyhABbDIzwrwUmm+IVJe2dQ6RTm/1Qb9w== X-Received: by 2002:a05:6a00:8cc:b0:4cb:b981:2676 with SMTP id s12-20020a056a0008cc00b004cbb9812676mr17059610pfu.5.1646724094084; Mon, 07 Mar 2022 23:21:34 -0800 (PST) Received: from localhost.localdomain ([122.161.53.68]) by smtp.gmail.com with ESMTPSA id 67-20020a630846000000b00372782a65d0sm14995206pgi.60.2022.03.07.23.21.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Mar 2022 23:21:33 -0800 (PST) From: Kuldeep Singh To: Mark Brown , linux-arm-kernel@lists.infradead.org, linux-spi@vger.kernel.org, devicetree@vger.kernel.org Cc: Rob Herring , Robin Murphy , Linus Walleij , Krzysztof Kozlowski Subject: [PATCH v2 2/2] dt-bindings: spi: Update clock-names property for ARM pl022 Date: Tue, 8 Mar 2022 12:51:25 +0530 Message-Id: <20220308072125.38381-2-singh.kuldeep87k@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220308072125.38381-1-singh.kuldeep87k@gmail.com> References: <20220308072125.38381-1-singh.kuldeep87k@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org Pl022 clock-names can be one of following: ['apb_pclk'] or ['sspclk', 'apb_pclk'] The current schema refers to second case only. Make necessary changes to incorporate both the cases and resolve below dtc warning: clock-names: 'apb_pclk' is not one of ['sspclk'] Signed-off-by: Kuldeep Singh --- v2: - Reword commit message - Drop SSPCLK Documentation/devicetree/bindings/spi/spi-pl022.yaml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/spi/spi-pl022.yaml b/Documentation/devicetree/bindings/spi/spi-pl022.yaml index 7d36e15db5b3..6cfab948624e 100644 --- a/Documentation/devicetree/bindings/spi/spi-pl022.yaml +++ b/Documentation/devicetree/bindings/spi/spi-pl022.yaml @@ -38,11 +38,13 @@ properties: maxItems: 2 clock-names: - items: + oneOf: - enum: - - SSPCLK - - sspclk - - const: apb_pclk + - apb_pclk + - items: + - enum: + - sspclk + - const: apb_pclk pl022,autosuspend-delay: description: delay in ms following transfer completion before the