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: 752858 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3w83635zcmz9s65 for ; Fri, 21 Apr 2017 01:42:35 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="d1sV6hzl"; dkim-atps=neutral Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S970817AbdDTPme (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: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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>;