From patchwork Fri Apr 12 12:51:30 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 162117 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp593359jan; Fri, 12 Apr 2019 05:52:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqy92mpcGd1qABoRz62HLKb87a/Yp7OZLSyiBsFBY9VM0oOZldTONfYlveWhHlk8Rv0qR6g1 X-Received: by 2002:a63:cf0d:: with SMTP id j13mr53138241pgg.34.1555073529882; Fri, 12 Apr 2019 05:52:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555073529; cv=none; d=google.com; s=arc-20160816; b=YDx7LMzg6WaR3ZcWqhlyQBs3rXNsZ1XJhMuDnAV5z3iPgi+V/nsujHznQxGNtEYd2F XPcRnhDJzOomp3FLucdKVrxhq/D/jOzQjT6/P8tGpD5S4nPnTDOQV4CwM+2UXe/U5Ixq jQuUcGsQtZfhlvr1MNLS6g9hBZRkPRDKVEKK04OA6TWJsg5EzZizWzEmaBEkwHk+VJ6D HCFsYtt66QR6sIeogkHOl0i+e4rluwwTpnH+K4SEiW8YPt1dlzMhvz9+eEqBCv4jMKiF gvVO9uyddWuyqVcZMADb+wHsgl/OQDTlXkjIywLcKmsXE8jcbWoq5ZyGPn+e6hkLUz0y O/Mw== 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=pD/ha1o6xuuVhzSZWIPaFNtC4/6La9+pE80liTrfGdE=; b=qRx24DkOvl1q8LrDbu0mFJjjQ93Qremc8uIs20jVHvobMJn+7Ze8da8pYzeYFtaeRW uzb9bgxr0wyfMFhBFyRDOLmM8jAiYbWsR7aAkGu7wEVwnYBQIEBXIohH3Iu0khjfd1S5 u+Jmfu3SL+6YjAHNVWnAC/DZzhJzdYgaX0YsO9x6KeSJyj4kQEuW+Y4ORKx9V8tCyqql Kvbyr5QaYwZZRTM8II6AYrbNRP5NZzEUHozOXZA2D/6qxe1NqAG0oIhX4EwpEaXkiE2E gEi1V+7fSxNkLRMeVg+Jh40io9fAI+ttCJ5T0Lw6VONrKBXaudM0kr/PeUAVMRXcYxya /0Qw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=wKIzkJkJ; 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 q9si11637872pgq.393.2019.04.12.05.52.09; Fri, 12 Apr 2019 05:52:09 -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=wKIzkJkJ; 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 S1728681AbfDLMv6 (ORCPT + 31 others); Fri, 12 Apr 2019 08:51:58 -0400 Received: from mail-wr1-f65.google.com ([209.85.221.65]:44043 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728415AbfDLMvu (ORCPT ); Fri, 12 Apr 2019 08:51:50 -0400 Received: by mail-wr1-f65.google.com with SMTP id y7so11771563wrn.11 for ; Fri, 12 Apr 2019 05:51:49 -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=pD/ha1o6xuuVhzSZWIPaFNtC4/6La9+pE80liTrfGdE=; b=wKIzkJkJ1lUE+QbaeCtOMd1B8P8cFTBCdaIFNAXADJ+vHY3yVSwLaa4P+9ANa6hZ1W nwgZJnhZxPBXqBoUt7QgV6HeNNiNMdsHP3EDrxMj/PVqOpkdmYuKzpK1FYybttWQwLMX Yym2l14aXy7blpoLTzcdpiw9IowoFnPKmQkr/ICIipVRtRxC9QablDJr7rJqGsuVFnks bzuDNOPDFJ+TmKgy5MFoBF+uzUbiVCbO2KKov9ZDuRoXWpArUr4sBk4PoKXvgfSbF3ws m7MZl6FF1WVf6t3ur/pPsaozmHw+wmTWXox0jwMIYPfkEbw/Hubs1FZ3r+W5CaRMSH4O YZMQ== 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=pD/ha1o6xuuVhzSZWIPaFNtC4/6La9+pE80liTrfGdE=; b=fQpyYcNkGhyG3pLhg4eDl79acNUPiThJjbOTA4/CGoD0b5aXAUnOOSzjbCy2cEk6Qj FVmIFQ2rDa5ODNl7PKyfJIWSlFP/HMmv7fqpOGw2F0bn4TSFjlrXhMt++U55FP19n03z HvVoBqoLP7zW8OsWSbMu9UyiRX0J2BYrScpKLHpp6pYXnFBxaW++f5xzHrLqmBzckyQZ WhMHAXw8MUIYy34LKwdmoPou1XBYuu6ex7dfc07VxNt4WAeXHedL/BgecKw9sA9a1Qj/ IUEbywmMmVXaSFdHf13hMHvj8GpLDMOcO98jORWLHx6NfgCF5sMBhASY5zCqaAFWa8P+ PVZg== X-Gm-Message-State: APjAAAWgPyZYxh3lKDwpphEczj5IXTwoqnopA+cZgZ7bljv/SOoxvZ7v WRPoDlCU/J/CUH8gWTcROCWuSw== X-Received: by 2002:adf:e9c1:: with SMTP id l1mr26023039wrn.270.1555073508457; Fri, 12 Apr 2019 05:51:48 -0700 (PDT) Received: from boomer.baylibre.com ([2a01:e34:eeb6:4690:106b:bae3:31ed:7561]) by smtp.googlemail.com with ESMTPSA id b3sm42049702wrx.57.2019.04.12.05.51.47 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 12 Apr 2019 05:51:47 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman Cc: Jerome Brunet , devicetree@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, patchwork-bot+notify@kernel.org Subject: [PATCH 1/7] arm64: dts: meson: g12a: add audio clock controller Date: Fri, 12 Apr 2019 14:51:30 +0200 Message-Id: <20190412125136.28232-2-jbrunet@baylibre.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190412125136.28232-1-jbrunet@baylibre.com> References: <20190412125136.28232-1-jbrunet@baylibre.com> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the controller dedicated to audio clocks found on the g12a SoC. Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 37 +++++++++++++++++++++ 1 file changed, 37 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 d6ca0bbd8f74..1ab2a77b01eb 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi @@ -7,6 +7,7 @@ #include #include #include +#include / { compatible = "amlogic,g12a"; @@ -202,6 +203,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>; + }; + }; }; aobus: bus@ff800000 {