From patchwork Fri Feb 12 16:38:16 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12085665 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.6 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E7492C433E0 for ; Fri, 12 Feb 2021 16:39:18 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id ABB7F6186A for ; Fri, 12 Feb 2021 16:39:18 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org ABB7F6186A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; 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:To:From:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Owner; bh=Zelic8onUcYR0oHvQGprtbZ8boQuG0rGCUi+KwHkW3M=; b=WY9uMbOScskNTZN1XfL3jcU+qL Rb166MQYMnWCIpIRXzMDy/TYl4ipuvhFNBWkYGa0XfgDZvzVpzYftlTa1g0YAHhvEK/uRSYGJJbG4 1n4kPws7Y/O8RNBNl8oB0624AkWkkb3rsfqNbC88p6w+ncXnavOhX0R2wcE7yYllVoGJ62vUzsTMn s1yW5m8sBzuPUMyx0az2Dvyjn4unBObJnUCtkMatpQhiCilccDzcw0OBfOL+r7tyZeTKR5gPRvGPk ccCpb9Z7o2ZrqGQaQ5DAuuO1UiVnFqUcZxaszWJyqaH72qtnG8f2G7foYFIjLfSJD/K3PvmzHZz1w cHHaqeHA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1lAbSa-0003OA-R7; Fri, 12 Feb 2021 16:38:24 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1lAbSY-0003NC-UY for linux-arm-kernel@lists.infradead.org; Fri, 12 Feb 2021 16:38:23 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 1AE3E64E76; Fri, 12 Feb 2021 16:38:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1613147902; bh=9WJDOv6LqmavZD/gcwbgUYrQTdVMFQ4jH6W3lKzKcnY=; h=From:To:Subject:Date:From; b=gkCTxMiw2MJuREDJn/mmcl4VfMx4fZcdedyxfDmjVqIkUsIqvCX4vhol/Ya0y6ikF lFGYpSPGNpYUJbWZGpVRACGCqM0r8AXczMVqKzA2+imDLeTK2EvR3Svloy/T9jRTE2 0Fc2eIYtp5tdEqqatGjhGXwmgJA2GowgGgzXwNkzKXbC0UsMNjDNlHFRwnAF1oTzXA bpVD/L+MtL31HXybavHJOe5iaqLSLkBep0p2k2jqQ5H8r5vTUpt+JPQXeLnUYRr1P2 xrtNavdcro2iSPrmT3aINPN7LvOa1GujZ+iqKElt4X0ALqQOcPuJF2EYTsyHEdwsH3 +rI13JKVEp37Q== From: Krzysztof Kozlowski To: Jonathan Cameron , Lars-Peter Clausen , Peter Meerwald-Stadler , Rob Herring , Krzysztof Kozlowski , Lee Jones , Mark Brown , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] dt-bindings: iio: samsung, exynos-adc: add common clock properties Date: Fri, 12 Feb 2021 17:38:16 +0100 Message-Id: <20210212163816.70058-1-krzk@kernel.org> 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-20210212_113823_049753_07D15008 X-CRM114-Status: UNSURE ( 9.24 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 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 common properties appearing in DTSes (assigned-clocks and similar) to fix dtbs_check warnings like: arch/arm/boot/dts/exynos3250-artik5-eval.dt.yaml: adc@126c0000: assigned-clock-rates: [[6000000]] is not of type 'object' arch/arm/boot/dts/exynos3250-artik5-eval.dt.yaml: adc@126c0000: assigned-clocks: [[7, 238]] is not of type 'object' Signed-off-by: Krzysztof Kozlowski --- .../bindings/iio/adc/samsung,exynos-adc.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Documentation/devicetree/bindings/iio/adc/samsung,exynos-adc.yaml b/Documentation/devicetree/bindings/iio/adc/samsung,exynos-adc.yaml index c65921e66dc1..ce03132f8ebc 100644 --- a/Documentation/devicetree/bindings/iio/adc/samsung,exynos-adc.yaml +++ b/Documentation/devicetree/bindings/iio/adc/samsung,exynos-adc.yaml @@ -27,6 +27,18 @@ properties: reg: maxItems: 1 + assigned-clocks: + minItems: 1 + maxItems: 3 + + assigned-clock-parents: + minItems: 1 + maxItems: 3 + + assigned-clock-rates: + minItems: 1 + maxItems: 3 + clocks: description: Phandle to ADC bus clock. For Exynos3250 additional clock is needed.