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: 12772311 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 94615C433EF for ; Mon, 7 Mar 2022 20:39:02 +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: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:In-Reply-To:References: List-Owner; bh=yODIYGW9CBFvqTIABd2C82L/y2PAmAlqpnMZfmAkVkE=; b=4a/bIqS3tnBjXG S7kebYJgW8FY8zGjz0cc1BeWikueIS7Fbr7pMdtK21ZESJa+1SOTlu44r+eA2L/GlfeqjgdL7YiNa AFWtkLqpaLP1cD87xD9XGndwNyTfvJHlbFvhRXYwX/Lr+XLsz3ZuBNFscqIMIz9HW/VzYrjeM7Ozf yYQRz5B6bR1EwGAsFizOiMoJwv325uX7F5oZjf2RzgelToCcYqP/l6vz/C/UJO/FB+vFYzX7gvU47 /jQXYnmJj8ba+H/GD3GR1RyOC8eVZ09D7JUZHoIMrooHOX20dQxc1Bii5vIV1Zw9Rd3QuZwpGXk4X udhiYMNCrmR4EKEOk7Rg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nRK79-001Upj-Iu; Mon, 07 Mar 2022 20:37:55 +0000 Received: from mail-pj1-x1031.google.com ([2607:f8b0:4864:20::1031]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nRK76-001UoX-Ge for linux-arm-kernel@lists.infradead.org; Mon, 07 Mar 2022 20:37:53 +0000 Received: by mail-pj1-x1031.google.com with SMTP id 15-20020a17090a098f00b001bef0376d5cso302584pjo.5 for ; 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=GBtt+jVzFiX48mP/aJu2qvGWPUXfVqirvdFbh7gA8sdYGoUvprogiCuEBhZs4Gg4mw D7TzMEYqNxODVkDQ+H9akp6qdZgQms66lkRikIo0HxJhKHlEXDPmrO49eoK251lBzVHb fgmzzveYcjVRN5AZJ28GpnTa1V4LhGnhXLotw4m26MtY2IH4Q/WxF3WpWov9txrtiYU4 w9GJ9Ppbkt2dLNzaxVFuSLL5W6123qip3NLIgtqJc/x7zGgru6jx0C4t3Mhg7JYoJvRS pZIsIRFXVTl3QTE8FVaHrkymf9DfQ6owEFaNL3UucRbrm00brLtBaz8rRSMF8sIbAyf7 2IQg== X-Gm-Message-State: AOAM532SxPflst8v3L16xSWPxSc8o2KgEMufPldZ7RQHFz8a3tqHEth9 g8rvKeLGAZr4yMc26e3WYes= 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220307_123752_586086_7C4C70E7 X-CRM114-Status: GOOD ( 10.61 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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: 12772312 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 DC5F5C433F5 for ; Mon, 7 Mar 2022 20:39:05 +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=56AEPqaWgiHMcNeyeGApUDSakW1Fa6ClqpAJcqwrWBA=; b=IEcrfj3d6tLvOW RacNTy3hOXVB3aTvK7MRwe7avzhHNgBx8t3jcmypOuoSodF4JyBBhWA5ZCgEnlN5BUZX9jv6/I3hH w6pciwWHzZfo10STvzQ6SW7PSexxTyYagU5YQ6cU6WHqexnSb8EtXbphAHH41Mz/ErtVZt+YdPH2k 8/tvQHzZburDUC1z/7+qxKYvTOdvHYxiczdzFK6COieGu7RU43HWhqcKg3juxI5Qk+qcb4DnugeEu E2JNTq2WxRsrjf91iZwxndofDx+YpgnPqqwRod/4Cl48HUPIKjVjreVEHOZWBFWDyLVdL2vJhcC2u bVbWGSP6Mt1ixuCat/4w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nRK7K-001Utt-N4; Mon, 07 Mar 2022 20:38:06 +0000 Received: from mail-pj1-x102c.google.com ([2607:f8b0:4864:20::102c]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nRK78-001UpI-8a for linux-arm-kernel@lists.infradead.org; Mon, 07 Mar 2022 20:37:55 +0000 Received: by mail-pj1-x102c.google.com with SMTP id v4so15156460pjh.2 for ; 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=ZB2P7ZF/+XjatHqsrVhO9tSfe9+tWIZwA8n4hmFRFIBmIO7C/P5s2/Hbm3O+aIuTMr 1YXXsTc6n4vcg84ctm/GZP5WjuQe9PoMfpCxBD5dOshl4Qi/4oIGgF43inn0GvEslz/E Nysu+VTykPJca5+SQp60LOwRUNj+uI+hi4yqdT6bosf8lAFviiQw54ZmBwDnolpQMJjM 8Nv0Ff13fM/hUHVMYdBAHnH6/btaguf8k6wrXam8GCtzLBVYr5cGyogTzfQEnARPFHd+ CeUD/NBRvGy3QjRdOoSa9UMJC+pgYW0EeTamkJbHQ3+xqvrDbL0JtcH8qfhlbjkoEjBQ YERw== X-Gm-Message-State: AOAM532vZBwzY0ABGwBr6C10898mRXuM/VZidL712Nwx+vl8Wkw3Ns5E fECzZx4GRgUiOYn8sFERlOQ= 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220307_123754_323966_D96EAEDB X-CRM114-Status: GOOD ( 12.02 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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