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: 382127 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=-19.6 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, 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 ED3FCC433E9 for ; Fri, 12 Feb 2021 16:40:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id AD00E6186A for ; Fri, 12 Feb 2021 16:40:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230056AbhBLQk4 (ORCPT ); Fri, 12 Feb 2021 11:40:56 -0500 Received: from mail.kernel.org ([198.145.29.99]:38268 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229648AbhBLQjE (ORCPT ); Fri, 12 Feb 2021 11:39:04 -0500 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 Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.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.