From patchwork Mon Mar 7 20:37:44 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuldeep Singh X-Patchwork-Id: 12772319 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 2FF0CC433EF for ; Mon, 7 Mar 2022 20:37:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233863AbiCGUiq (ORCPT ); Mon, 7 Mar 2022 15:38:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34572 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229552AbiCGUiq (ORCPT ); Mon, 7 Mar 2022 15:38:46 -0500 Received: from mail-pj1-x1034.google.com (mail-pj1-x1034.google.com [IPv6:2607:f8b0:4864:20::1034]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 427502F03C; Mon, 7 Mar 2022 12:37:51 -0800 (PST) Received: by mail-pj1-x1034.google.com with SMTP id cx5so15175882pjb.1; Mon, 07 Mar 2022 12:37:51 -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=nB/kf152luZHG65VPIEl0gVLDXWs2thGY5x62Yqwyek=; b=UwJnBvgwGnPtRurzL3zhzWyL/A3fJTvja7gNOFWVmPt+pHTWiiTCODhFu3GDBS+Ii2 MpNBaceJZfq+kecoMJhLzOw7lNinp8vCP+kE8liKLZ/lzWlPEaWGO0ytCC3nEvDKjpia NUVtsnNBJ8iX6gG5zNHd8jYlUi/v6IWPO4x6kdTJDuf/9uquLHzqE455qmFVrc9E1nTO YpX5T8PMRs7LQozmmigo73ASRhAP5uIqdaXPCwpjCYdMD7Bs+vIc3Wm4T7k4+A0Tx8uH wpL+qiZyQr8QqDeribLv+qmmKYqj7ECAT9VAZJcwbelLNAKUZK7ZRI40vaA9Ga1RDAgA sxkg== 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=nB/kf152luZHG65VPIEl0gVLDXWs2thGY5x62Yqwyek=; b=QfvDO+AMRnvD37XwIEcg1IsiR3/PiqaUDaN5Zl3eywYPtOTvz7wJX0qp81RdSY9uBM ZjuwlfYaCJU0PiI5pLhqrxWAe6LuXP3kIa2uEGb7o2CCLD+gLPCmlejF7WGqr1xvqoIr rLwbBhPZhyhSpztwFJzpAZ9PAn+fGtCAtxXSD4UfchHQ/NYl87gUERM+hdbR58+fuLlF 6ZOfS61inD97G0h5j/mM/52nw2xnjZxpxH3NS9mKsPtuogANJ57KrbVPgEDEGraCgbiK aeVvGW9zEINOO28Q5UXVEYhZoMQT2GO9iWsrD6eC8OG2Nkgw0tUPlf64/Ctd9OHZEorw W0aw== X-Gm-Message-State: AOAM532HqBp7nfqz3V+3akDSf/zH+vNneBU71Mmjp3tw/UaVBI5Po8GV XDq1LnlQhWezrVbOfpW4QxYQFboZGy2MAw== X-Google-Smtp-Source: ABdhPJzXhpIMUwRg38H6h6F7XLuUfrNyMC+l5zunysGaJc1+MYaLcRoQcalgLp9eU7o6XFo49SunDw== X-Received: by 2002:a17:90a:74c7:b0:1bf:5532:3ae8 with SMTP id p7-20020a17090a74c700b001bf55323ae8mr844699pjl.120.1646685470620; Mon, 07 Mar 2022 12:37:50 -0800 (PST) Received: from localhost.localdomain ([122.161.53.68]) by smtp.gmail.com with ESMTPSA id u9-20020a17090a450900b001b9b5ca299esm206323pjg.54.2022.03.07.12.37.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Mar 2022 12:37:50 -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 Subject: [PATCH 1/2] dt-bindings: spi: Update clocks property for ARM pl022 Date: Tue, 8 Mar 2022 02:07:44 +0530 Message-Id: <20220307203745.65210-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 --- 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 Mon Mar 7 20:37:45 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuldeep Singh X-Patchwork-Id: 12772320 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 1E457C433FE for ; Mon, 7 Mar 2022 20:37:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239186AbiCGUit (ORCPT ); Mon, 7 Mar 2022 15:38:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34698 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229552AbiCGUis (ORCPT ); Mon, 7 Mar 2022 15:38:48 -0500 Received: from mail-pj1-x1029.google.com (mail-pj1-x1029.google.com [IPv6:2607:f8b0:4864:20::1029]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F1B8C2FFE1; Mon, 7 Mar 2022 12:37:53 -0800 (PST) Received: by mail-pj1-x1029.google.com with SMTP id ge19-20020a17090b0e1300b001bcca16e2e7so256595pjb.3; Mon, 07 Mar 2022 12:37:53 -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=eNTrf0BzZT/L8eS5+jreVZ/jxDAEJAl1RSsRyYXFuNM=; b=YXvbQmhoV+E0JW/2Ypum4lSGw84aygx2zlkkDVofLnT7OJTPxlRqgPGmedIJGEe/fo MLCwO1/pITjd6vf0jdzE/QkdB9T9wY5DCfOXJwFA9EJYOWMGXxaR/P9LwhsJSXySqdqZ VPDmN/5plUk8TUIZSeNVw2lIR/djL8a/Toe28s5XBDuYbhFDALk9WMKYLEj9HdAl2ksW N+7aH5zNldn24z2tjgf0u9OWh/c2PqWUhxG72ovBZHpbOcAWh+XEGOUytxk7yNOjSG/x PfopayIHhSOURIuel/Ynf4mhs9gRt3d6xIrkwffXxYB4DiWtGqUDG5uBDKaSN6cm4fKT A3Hg== 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=eNTrf0BzZT/L8eS5+jreVZ/jxDAEJAl1RSsRyYXFuNM=; b=tnHhkeI3Wlbxrkud9w9GAZmW0dkYVrJdubIfodbRl6HpXgaUwGT83n5bjq3e8z5Gdn 6zWLINhyWChNAX9CTZlvPgXsANDfwoGtI2WM0JYcObWrG1R9iy5L2cruvY5ldl5pKHSi SKrFjSS6xOHypiFNnAhbfOBVP5DTpX5HW2ysIXH9piQeHltKSC4cBqI+NIdZ3BrCTME5 aIldvGMYUJdZe+qDpFf5g4Sq/hUxqUXRVAW6HRwSSvbM3RZg70L/P1XllpsmfM8632qJ g1WCKStpVQ5Y1ykv3cequwuWIuO9FH66gYm5wAx0cpwU+TtizShQXSE+ug4W5Lg1WQCg +6mg== X-Gm-Message-State: AOAM5308/MyeZPg/H9LRxiJyiGn+MlbdyI/Ttp39j43HKLDgoz+BEIRm 9vQaADtY/L3dQcpjIPhl2g0= X-Google-Smtp-Source: ABdhPJxvDIqFg7AyeGcc2ehPEWWBpB/Ul5//9k7ytEFJnBWM0kfLPHj7DGwypfoxfVP11C/IFOMeKg== X-Received: by 2002:a17:90b:1809:b0:1bf:59c:d20b with SMTP id lw9-20020a17090b180900b001bf059cd20bmr838272pjb.220.1646685473404; Mon, 07 Mar 2022 12:37:53 -0800 (PST) Received: from localhost.localdomain ([122.161.53.68]) by smtp.gmail.com with ESMTPSA id u9-20020a17090a450900b001b9b5ca299esm206323pjg.54.2022.03.07.12.37.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Mar 2022 12:37:53 -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 Subject: [PATCH 2/2] dt-bindings: spi: Update clock-names property for ARM pl022 Date: Tue, 8 Mar 2022 02:07:45 +0530 Message-Id: <20220307203745.65210-2-singh.kuldeep87k@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220307203745.65210-1-singh.kuldeep87k@gmail.com> References: <20220307203745.65210-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 warnings: clock-names: 'apb_pclk' is not one of ['sspclk'] Signed-off-by: Kuldeep Singh --- 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