From patchwork Mon Feb 28 12:43: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: 12763263 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 E767FC433F5 for ; Mon, 28 Feb 2022 13:03:30 +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=J0BQhM6l6drX83x10pn6p8JSkRxS0klfB/KYfKj86QI=; b=LmPZR3yq7V3WVh IKHcreK0nnU+XNxG1JsbEAlGSsYqac7Dj3ZOhxT5pB5wibiA1+t/Tn3HHT5pyR10j4MHqMJNj0RO5 S5mmYozYXHMFmDUZ40etcbiuXV8GpFZUj0r6ZJLREOTZNZrtrmCN7zE5WgEze15TtGVEL4Wa/xvwS amhUm8i57hCvRsD4QJFLVcttmm3Hg21MIATwTIg2cmqrZf7h7LuEv95BxD+nU/OYXkXe5gmOtdoXC tIF/Ax8rgiBQIVX6O6zdepVE9umx0jSw3Lgpcy4lMTbf/gi8yB1ERcDi3SSW6rNsE64FLPko1zcWx mIokp1M2OVdX1Ma+XHEA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nOfex-00CPJi-7u; Mon, 28 Feb 2022 13:01:52 +0000 Received: from mail-pl1-x62c.google.com ([2607:f8b0:4864:20::62c]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nOfNd-00CIYk-Pg for linux-arm-kernel@lists.infradead.org; Mon, 28 Feb 2022 12:44:00 +0000 Received: by mail-pl1-x62c.google.com with SMTP id q11so10599192pln.11 for ; Mon, 28 Feb 2022 04:43:57 -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=FrRsoKRtG0mcfhdQPUnOY8nojOfT4rmkj88AgkRskwM=; b=pnZNncTdmyfuefVRpe2IvducML65L4g7+/qFZ3TrIgqStJSuQ7UGb6eQt3FtmbCE/c QQdFGvS3KDYTOEsMQ6NfyVR7CtvqPqoJEZMMyJTgkCX6YAwdnKh3ttJjhHtiCOzs1gZG U4xCDYRl7vBFza1x3KwYU0p3yasMZ3S4jlfhMgkfz1aYed4kNjHECFRR577vin0Q6h1U xonjDctMMo2nu0XChVquH1Cawc6Xq8bSQ3Y2V1fzWQRanK36DD2OWdTk/1hY5hIxF516 CE3Gw7uqQNmWfapb/j2OrRON+GVQ3bbJWTieoJubBkQmE2kiBRIVmp9HI8ne5XIwS57V 6tLQ== 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=FrRsoKRtG0mcfhdQPUnOY8nojOfT4rmkj88AgkRskwM=; b=czPxG1Ci5ynIrUkmSYUtftc1j5EClKBFDqsadBiT+5GzNNxYD6Y2YR6SBKDAJK9Vre +p5YRsCSNeaWK9oqluo/RY4Wv0Pc2xOylExm1C5sithVWU3RzTZYSy0v7fZMH7hBGiEx P4hPZIWri9XKvburtXzcQPNGeneRC9EQ7LT+rZhz5btPBmcHftHFoTClj7+6m0g70z0c NoLSBKZEem3lGJYpPx1jKuk2xnRZtXrmtYVTbnwUS8EmGjhlDxlLagKeZfrdrtqjs5rP smBORVFWGfu+Wu3SRg71QfBn9N+G6DO5scsTT0LP+f2SiggCNqSwMLOhiirqW+Jl2gBs +y1A== X-Gm-Message-State: AOAM531WtJePGJCX+glGkcT8/TWo6c6xatHvEehIoRZycIyFGLOVEPuw jUWT+VOGGrRFVUJ8eqdFYoiPiR0xKiEMsQ== X-Google-Smtp-Source: ABdhPJwNbvaXDpT841PdpIqVwHAplHPhGYbqz0CTAtKqYv9ptJWEv1RkOzVqDgJ4Iy49jn2Mx3poCg== X-Received: by 2002:a17:90a:e606:b0:1bc:4c56:b31 with SMTP id j6-20020a17090ae60600b001bc4c560b31mr16254434pjy.49.1646052236750; Mon, 28 Feb 2022 04:43:56 -0800 (PST) Received: from localhost.localdomain ([122.161.51.77]) by smtp.gmail.com with ESMTPSA id z23-20020aa79597000000b004e1bf2f5818sm14129214pfj.87.2022.02.28.04.43.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Feb 2022 04:43:56 -0800 (PST) From: Kuldeep Singh To: Mark Brown , linux-arm-kernel@lists.infradead.org, linux-spi@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Rob Herring , Linus Walleij Subject: [PATCH 2/3] dt-bindings: spi: Update clock-names property for ARM pl022 Date: Mon, 28 Feb 2022 18:13:44 +0530 Message-Id: <20220228124345.99474-3-singh.kuldeep87k@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220228124345.99474-1-singh.kuldeep87k@gmail.com> References: <20220228124345.99474-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-20220228_044357_920569_4A0F488A X-CRM114-Status: GOOD ( 11.65 ) 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 Below are the possibilities of pl022 clock-names property: - apb_pclk - [sspclk, SSPCLK, spiclk], apb_pclk The current schema refers to second case and does not consider first one. Hence, resolve the below dtc warnings by updating clock properties: arch/arm64/boot/dts/lg/lg1313-ref.dt.yaml: spi@fe900000: clock-names:0: 'apb_pclk' is not one of ['SSPCLK', 'sspclk'] From schema: Documentation/devicetree/bindings/spi/spi-pl022.yaml Signed-off-by: Kuldeep Singh --- Documentation/devicetree/bindings/spi/spi-pl022.yaml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/spi/spi-pl022.yaml b/Documentation/devicetree/bindings/spi/spi-pl022.yaml index 7d36e15db5b3..5f6926a58b15 100644 --- a/Documentation/devicetree/bindings/spi/spi-pl022.yaml +++ b/Documentation/devicetree/bindings/spi/spi-pl022.yaml @@ -38,11 +38,14 @@ properties: maxItems: 2 clock-names: - items: + oneOf: - enum: - - SSPCLK - - sspclk - - const: apb_pclk + - apb_pclk + - items: + - enum: + - sspclk + - SSPCLK + - const: apb_pclk pl022,autosuspend-delay: description: delay in ms following transfer completion before the