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