From patchwork Thu Apr 20 15:42:16 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 9690829 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 8DE2060326 for ; Thu, 20 Apr 2017 15:42:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8D4E328478 for ; Thu, 20 Apr 2017 15:42:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 81BE32847F; Thu, 20 Apr 2017 15:42:36 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.5 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 607AA28478 for ; Thu, 20 Apr 2017 15:42:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S970809AbdDTPme (ORCPT ); Thu, 20 Apr 2017 11:42:34 -0400 Received: from mail-oi0-f66.google.com ([209.85.218.66]:36818 "EHLO mail-oi0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S970769AbdDTPmd (ORCPT ); Thu, 20 Apr 2017 11:42:33 -0400 Received: by mail-oi0-f66.google.com with SMTP id a3so5571658oii.3; Thu, 20 Apr 2017 08:42:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=p+hB7TKUgKlNrhJfaZLfT61k9ccVUYJ/MHPFmCdBAnQ=; b=d1sV6hzlKryMGOMUbkAkhFhWeZ8hhlraB//n0UNDh9DgoZiuQC3vVSZiv9CjyZtKvQ pAnX5bajO0ZPgDYCP402msFf1E0Zp5cOZQDeWFjg8rhkUbYq903lzE4otr8ubSb/2iBG v3DOPY8PEjp1VVc3LfwoW8E4Wpg/QC+ZwwJwpV/J1KU3IV304fU+ubO2o+pEWzZuCiLb +qBnud/28A9dJFg2IFyJPuqn5Qs3qjzA7IifPGAq+JnZGOQzOJqxpK7FzRpQ6Uphd2R9 cgZJBRHG8g0HTr8KC3gCIPlGwhwUe0sCsRPjq7FHrl5QxuQ9XnwnGOJ5Ci/HOvk6cDuB DWtA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=p+hB7TKUgKlNrhJfaZLfT61k9ccVUYJ/MHPFmCdBAnQ=; b=To3SuuUQhZLR2aBwWIRWZT/IM2ncoydIsNH6KpHRwXIIzoPWUKXqoXrJeGtYKSfQXQ QBU97Nhn3/1RuUlNIwOkd/PRKfnXhrEPwiK3YCHqHYk393r2VXfAPA8hzVkmNDGy2X1Z g31fYCj8twqWjUpjRzA66GWS4hM5gIfWa8Opf1C8cNuB/p3qZMSM/0cA8b0XowVdtH28 L4sfcR+YoyQqFCaLxSm/WvS9+tWl/a1I9PvJaqiQ8OGgzOTVhmxMcSIIJJ6IYH5oLO4P t96eggtFD6ZTOW9yjJQs1V6Zic87Yd+HZNyNkfkeX3YzM4KC2e4qaxnkSHGLx+pn4/1y 8vtg== X-Gm-Message-State: AN3rC/5FbFfWsVAfDaC3TMHExQ3VVUBktnCq4PaeROyjk/3gbvtmOHmU F2XjwJ57n8JTIg== X-Received: by 10.202.54.8 with SMTP id d8mr4650544oia.170.1492702952717; Thu, 20 Apr 2017 08:42:32 -0700 (PDT) Received: from kurokawa.lan ([195.140.253.167]) by smtp.gmail.com with ESMTPSA id s61sm2534480otb.52.2017.04.20.08.42.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 20 Apr 2017 08:42:32 -0700 (PDT) From: Marek Vasut X-Google-Original-From: Marek Vasut To: linux-renesas-soc@vger.kernel.org Cc: devicetree@vger.kernel.org, Marek Vasut , Geert Uytterhoeven , Jonathan Cameron , Rob Herring Subject: [PATCH] iio: adc: Drop if clock from Renesas GyroADC bindings Date: Thu, 20 Apr 2017 17:42:16 +0200 Message-Id: <20170420154216.32709-1-marek.vasut+renesas@gmail.com> X-Mailer: git-send-email 2.11.0 Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The "if" interface clock speed is actually derived from the "fck" block clock, as in the hardware they are the same clock. Drop the incorrect second "if" clock and retain only the "fck" clock. Signed-off-by: Marek Vasut Cc: Geert Uytterhoeven Cc: Jonathan Cameron Cc: Rob Herring Cc: linux-renesas-soc@vger.kernel.org To: devicetree@vger.kernel.org Reviewed-by: Geert Uytterhoeven Acked-by: Rob Herring --- Documentation/devicetree/bindings/iio/adc/renesas,gyroadc.txt | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/iio/adc/renesas,gyroadc.txt b/Documentation/devicetree/bindings/iio/adc/renesas,gyroadc.txt index f5b0adae6010..2a62908a774a 100644 --- a/Documentation/devicetree/bindings/iio/adc/renesas,gyroadc.txt +++ b/Documentation/devicetree/bindings/iio/adc/renesas,gyroadc.txt @@ -16,8 +16,7 @@ Required properties: - clocks: References to all the clocks specified in the clock-names property as specified in Documentation/devicetree/bindings/clock/clock-bindings.txt. -- clock-names: Shall contain "fck" and "if". The "fck" is the GyroADC block - clock, the "if" is the interface clock. +- clock-names: Shall contain "fck". The "fck" is the GyroADC block clock. - power-domains: Must contain a reference to the PM domain, if available. - #address-cells: Should be <1> (setting for the subnodes) for all ADCs except for "fujitsu,mb88101a". Should be <0> (setting for @@ -75,8 +74,8 @@ Example: adc@e6e54000 { compatible = "renesas,r8a7791-gyroadc", "renesas,rcar-gyroadc"; reg = <0 0xe6e54000 0 64>; - clocks = <&mstp9_clks R8A7791_CLK_GYROADC>, <&clk_65m>; - clock-names = "fck", "if"; + clocks = <&mstp9_clks R8A7791_CLK_GYROADC>; + clock-names = "fck"; power-domains = <&sysc R8A7791_PD_ALWAYS_ON>; pinctrl-0 = <&adc_pins>;