Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2163832imm; Mon, 3 Sep 2018 21:44:25 -0700 (PDT) X-Google-Smtp-Source: ANB0Vda/s0FBtQX92MZwM5VMrRTm85+WlNZvBX4P5dQT2C6RHigLzd9epulpPLAMjRfwUaFur8qg X-Received: by 2002:a63:6d4f:: with SMTP id i76-v6mr29303768pgc.215.1536036265362; Mon, 03 Sep 2018 21:44:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536036265; cv=none; d=google.com; s=arc-20160816; b=VMi7uYlQsZ0fLb+bzYRxHGpt+Q5K5STNrEH7UXbjoDLwBox9bKCKYXonZhLirXKVsi /BPyISi8H63r11NEYPdQiD6vf8HDY8lMw1sJTKty3JsPAfM064a6/UMaJZ49twZArMVV 91wQYhaFPLyCbhsGnuELWAh7W61UoTZQyyM4hwbT8KEFKQDIWGhjTSiThOV/SW8ZwlQd vnHkIfdHubcVN/8h/qyUORqW57vL/gDamCu/46H3WkKbCZVXntWiNCnoP5wj+EYt7k0K cBDvAPgPYxqd+fb6QdVJWH35wbzC2PIufcs4fFJdZ1Nt79t8U0Kt83Wa4l9/iPezMlHW SAkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=QoeDdttfazGFcOHdJWKXOmsn5TVMS1asZkSVDmgJsQU=; b=Vgz1EeY4dfbrt1vXEsNDUjaFO2WJVhFxleOd0PzlGtwUyj2q/M4UNExg3KqvDvxcZ/ znHrKdcKzv8qT90qsz/QE+3u8v3qBbIt0i6VO+6TocsrMXUNJ4szwu0NXYy34BpdqhPe tpWceae6KSlMtIR/bpr/jNHWcp7tFVlQHftP8NvZeCINzPQMP5T20S0xCSP6gtwchypA qx3PCVyYfgjeR05/aImciEknb7tPFdvwEo07AzyddqYyfxtZvIB18ebNOPPu4u/4OaCX HRZomxPrG30onzkhfJZ4nDZlgu3aud6ilxOQfowxsKruK1fjAPb2kJAF0pgEJR3e0SAV F/Mw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a5-v6si19662754plh.312.2018.09.03.21.44.10; Mon, 03 Sep 2018 21:44:25 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727574AbeIDJFi (ORCPT + 99 others); Tue, 4 Sep 2018 05:05:38 -0400 Received: from hermes.aosc.io ([199.195.250.187]:45027 "EHLO hermes.aosc.io" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727196AbeIDJFh (ORCPT ); Tue, 4 Sep 2018 05:05:37 -0400 Received: from localhost (localhost [127.0.0.1]) (Authenticated sender: icenowy@aosc.io) by hermes.aosc.io (Postfix) with ESMTPSA id 608F7FFA33; Tue, 4 Sep 2018 04:42:15 +0000 (UTC) From: Icenowy Zheng To: Maxime Ripard , Chen-Yu Tsai , Jagan Teki , Jernej Skrabec Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-sunxi@googlegroups.com, Icenowy Zheng Subject: [PATCH v4 07/11] dt-bindings: clock: sun50i-a64-ccu: Add PLL_VIDEO0 macro Date: Tue, 4 Sep 2018 12:40:49 +0800 Message-Id: <20180904044053.15425-8-icenowy@aosc.io> In-Reply-To: <20180904044053.15425-1-icenowy@aosc.io> References: <20180904044053.15425-1-icenowy@aosc.io> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jagan Teki Allwinner A64 HDMI PHY clock has PLL_VIDEO0 as a parent. Include the macro on dt-bindings so-that the same can be used while defining CCU clock phandles. Signed-off-by: Jagan Teki Reviewed-by: Rob Herring Signed-off-by: Icenowy Zheng --- Changes for v4: - Dropped PLL_VIDEO1 Changes for v3.1: - none Changes for v3: - collect Rob r-w-b tag Changes for v2: - new patch drivers/clk/sunxi-ng/ccu-sun50i-a64.h | 4 +++- include/dt-bindings/clock/sun50i-a64-ccu.h | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/clk/sunxi-ng/ccu-sun50i-a64.h b/drivers/clk/sunxi-ng/ccu-sun50i-a64.h index 061b6fbb4f95..a83951cf0224 100644 --- a/drivers/clk/sunxi-ng/ccu-sun50i-a64.h +++ b/drivers/clk/sunxi-ng/ccu-sun50i-a64.h @@ -27,7 +27,9 @@ #define CLK_PLL_AUDIO_2X 4 #define CLK_PLL_AUDIO_4X 5 #define CLK_PLL_AUDIO_8X 6 -#define CLK_PLL_VIDEO0 7 + +/* PLL_VIDEO0 exported for HDMI PHY */ + #define CLK_PLL_VIDEO0_2X 8 #define CLK_PLL_VE 9 #define CLK_PLL_DDR0 10 diff --git a/include/dt-bindings/clock/sun50i-a64-ccu.h b/include/dt-bindings/clock/sun50i-a64-ccu.h index d66432c6e675..a8ac4cfcdcbc 100644 --- a/include/dt-bindings/clock/sun50i-a64-ccu.h +++ b/include/dt-bindings/clock/sun50i-a64-ccu.h @@ -43,6 +43,7 @@ #ifndef _DT_BINDINGS_CLK_SUN50I_A64_H_ #define _DT_BINDINGS_CLK_SUN50I_A64_H_ +#define CLK_PLL_VIDEO0 7 #define CLK_PLL_PERIPH0 11 #define CLK_BUS_MIPI_DSI 28 -- 2.18.0