From patchwork Tue May 14 14:26:42 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 164206 Delivered-To: patch@linaro.org Received: by 2002:a92:9e1a:0:0:0:0:0 with SMTP id q26csp2694159ili; Tue, 14 May 2019 07:27:06 -0700 (PDT) X-Google-Smtp-Source: APXvYqxhx/4I56eImMuN3NfIH/tUeeeRXBG9wbmceEAWh3w6jPC9JQRuqwpqomGdQ89WH46Xu4Fy X-Received: by 2002:a17:902:f20b:: with SMTP id gn11mr38070144plb.126.1557844026009; Tue, 14 May 2019 07:27:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557844026; cv=none; d=google.com; s=arc-20160816; b=lp34LC5fklkxyFtTzBovkst6wW0hLI76ciWXcPedUQAmI9RmnbT1wPV3RothXL+f4T V2WsRTAf+axkcF2nLmuwdq0+IPSQqD5NNTKlifWR/rOxanTIZnFumfj+czBbVFgTBs/K 4XwPG+b1kRoE+sfyfdT4IKlvcz40t+fv0wV8K5h0I/Sel2ZQ58FV8fU9GUP2o1oAO2Rz w/hTZVppKoDJSHuAWu+E78vESeL1A9/55RQawotDv8e/kRuug3gAe/irqhJ3IqHaV2CX vGDBHbVTd04dYc07dZUJD0ALqFq5+xNqFhSszVM5dow5kRRqMrPumiJx6KMKPoyWex4u f/TA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=KH/9jGUTYqNchbklGeod/jCiLtawhcosDapSAft/y/g=; b=P/K3OApVNsCh24/WEv4rIxS9bOb23Cr3pegUZAMOYq2uKj8cOGZEZbVU+6bYgwzvQi D3u0aI0kE0hYtvocwqgWa48DaNEYYY+5wGnTonaPJEWiB/52Kv2M9P2w0TdtCx+o9ZsO 9AGovLAg+V9iFKYGDr+HB97TNMi7G3Xabp4uZQ199BoIamzcH6XYu8petTpp/+30H2GK 75BKQ26ueyeW6bbmVWQj0jUbCZr6d8VBqNs15Gqj6SsxUCnyST3n1OQnRWMAJXFfxXZq NQBDE5erLKyPpTqeOW6ROxi/NKaq4SMsMNT1KO3Yeww5k1bjwixqYNyd0T1NliI7U/TJ xIyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=wkOdjC3P; 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 w13si22179021pge.212.2019.05.14.07.27.05; Tue, 14 May 2019 07:27:05 -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; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=wkOdjC3P; 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 S1726339AbfENO1B (ORCPT + 30 others); Tue, 14 May 2019 10:27:01 -0400 Received: from mail-wm1-f67.google.com ([209.85.128.67]:55678 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725901AbfENO06 (ORCPT ); Tue, 14 May 2019 10:26:58 -0400 Received: by mail-wm1-f67.google.com with SMTP id x64so3099200wmb.5 for ; Tue, 14 May 2019 07:26:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=KH/9jGUTYqNchbklGeod/jCiLtawhcosDapSAft/y/g=; b=wkOdjC3PU+m4vMRNuxaV9tMM7OAiptxtSi7DTbZiAxVF+9ux1XzAMwFFmVvERR7Rq7 bt9y8cyUqzNTV6GkkB1tCoKiKSeiJfGs9YzGhF1tIIRZg7ccslM6YN9+tb01CG3srn0b YZpm6/l2qoV2MNjqlzTNOGWbjByT8B64XBmVPI//QM/574T5w8IrXmfvWmBnPZEQe3Vk xCqXpmQNKf2k4aAqfVSoqQ6V9VnZjFe+zY5+PB2Aa+nt/Oq4+jLjXwdQLOxVfzIpSdab XEWo8v60lEwmwxPjxqFQ1NubMbI/RyrHCVeII8LNpEX9XnfLwLnyJoBxp8kLkpqG7ukK bLpA== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=KH/9jGUTYqNchbklGeod/jCiLtawhcosDapSAft/y/g=; b=RVZ6o6eu+fC1lLSV192oSiPUZd1fNq/0nzLMgjlDZv116HvRw0JaZDWq7P2f+Yb/0J cQS/4p17qw9njV6FYWDZyVWGbcrwyhl3t1NEgMEdGOA57w5O9uXOspWu0fPfaxFBAa2r 2TChewpvMayjiiC5TTpKP5E1K0rXWDtTAymzYMenjyOH0R4/50EdQAvvSK8tAZrrO4ys ZU09dlK3VJWSwCtpLP2+dTWSNEpbXm2eXxbaNG+uQwXbhRQZN2SGlvMA6TdXjjUQ9Cp9 AVMU/AGA1jDpTDEvqOsQf+3m3e+5AyPPf5GpmSNRJeP3lQ29NZ7BxtVz23Fuk+XoILLi mN6Q== X-Gm-Message-State: APjAAAUujEoDV4vQ/a6Y+hqFO7srGsV0JZdlqlIXKc3s5BVKnX/DlbKk qHMe3w7RGcUEClvQewyL8QGVZw== X-Received: by 2002:a1c:2803:: with SMTP id o3mr20372013wmo.93.1557844016377; Tue, 14 May 2019 07:26:56 -0700 (PDT) Received: from boomer.local (lmontsouris-657-1-212-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.googlemail.com with ESMTPSA id h15sm12343642wru.52.2019.05.14.07.26.55 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 14 May 2019 07:26:55 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman Cc: Jerome Brunet , devicetree@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/8] arm64: dts: meson: g12a: add audio clock controller Date: Tue, 14 May 2019 16:26:42 +0200 Message-Id: <20190514142649.1127-2-jbrunet@baylibre.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190514142649.1127-1-jbrunet@baylibre.com> References: <20190514142649.1127-1-jbrunet@baylibre.com> MIME-Version: 1.0 X-Patchwork-Bot: notify Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the g12a clock controller dedicated to audio. Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 36 +++++++++++++++++++++ 1 file changed, 36 insertions(+) -- 2.20.1 diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi index e6c0c19b3223..09aa024d9f0e 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi @@ -673,6 +673,42 @@ }; }; + audio: bus@42000 { + compatible = "simple-bus"; + reg = <0x0 0x42000 0x0 0x2000>; + #address-cells = <2>; + #size-cells = <2>; + ranges = <0x0 0x0 0x0 0x42000 0x0 0x2000>; + + clkc_audio: clock-controller@0 { + status = "disabled"; + compatible = "amlogic,g12a-audio-clkc"; + reg = <0x0 0x0 0x0 0xb4>; + #clock-cells = <1>; + + clocks = <&clkc CLKID_AUDIO>, + <&clkc CLKID_MPLL0>, + <&clkc CLKID_MPLL1>, + <&clkc CLKID_MPLL2>, + <&clkc CLKID_MPLL3>, + <&clkc CLKID_HIFI_PLL>, + <&clkc CLKID_FCLK_DIV3>, + <&clkc CLKID_FCLK_DIV4>, + <&clkc CLKID_GP0_PLL>; + clock-names = "pclk", + "mst_in0", + "mst_in1", + "mst_in2", + "mst_in3", + "mst_in4", + "mst_in5", + "mst_in6", + "mst_in7"; + + resets = <&reset RESET_AUDIO>; + }; + }; + usb3_pcie_phy: phy@46000 { compatible = "amlogic,g12a-usb3-pcie-phy"; reg = <0x0 0x46000 0x0 0x2000>;