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: 10898209 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 45169922 for ; Fri, 12 Apr 2019 12:52:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 25A3B28D89 for ; Fri, 12 Apr 2019 12:52:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 19A7E28D91; Fri, 12 Apr 2019 12:52:12 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C061028D89 for ; Fri, 12 Apr 2019 12:52:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=C+lbwmmXqh6AGBwpO/lW6uTNwTeRxc0NJiQXmT7FpmY=; b=E/cCKPsbeEFKa0 Va1jvNt+0NRf291oC9NT00anQ4nTsZk0wHeZ9nPguap5kPog7TJAhQFyLL8+bk5WScU4fw39Kbgdf fqvL0IYNUeV/zW0EzC/E39rzY6wvEPmC6BPL33VM+2KA7JjjZEgE3ld9Udq/mCLd8Cj5Ey40yU/QI TyW0nSxFICurqGNO0uVpbZcMbR/xhGqLBF/JjxXEexDKhxUqSbbRfnmdOGKrpdlWtj1907moAgmsq OzJ7kbxjtSt05mfTwJKWNf5/PrLHl16qCEiXx3YgTMrc1GOtSWt1Axlf6XNPK7l0bO7H5iARtzUrg 9vuo+GL96J0X3bNHQw0Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hEvf7-0003Bw-V2; Fri, 12 Apr 2019 12:52:09 +0000 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hEven-0002qC-Rc for linux-arm-kernel@lists.infradead.org; Fri, 12 Apr 2019 12:51:51 +0000 Received: by mail-wr1-x443.google.com with SMTP id k11so11813943wro.5 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=K7en0QYEwugIudCmHwlfrAnX+GOapLLAB5AJVcBLYVJWHPSQpowo4w2fnax5iLT47p J6mhmZ9sGlXHO67bGH8AErihlVYBFo6XUch18N6qJxxVExI1RG6FJqpdqp7TTVk3gYoX UHHyXisQIE211g2oxmaFCTvgsH7dlcJrxlov6IJvQqp9jFollUMwvun5oCYTvB1KHA0S v6EfDiL9oyvviaKAhJKOHGN1/446JPk2FXZMtaiTw8uSY/1VGRwm8CfHgwPzX53/2Agy i5qbd+rRRW8Nn1FXfoecLcsQnKpG2HDZgPuHZPL/p86mx2Kun95Ed9bCza8MYp4OUz0c NA5w== X-Gm-Message-State: APjAAAWGr2q1IqMSIvxynKEltSf8L+3T4j9ZVesmZJQIlk7j/XhtXiNP HMVluyIFsT3EoMt1q2J2UxKUVwcx4wk= X-Google-Smtp-Source: APXvYqz8A36P9ZWbN4122tC3oJ0vZQQEooXHFzHbMajUhOclVDtOFX2+hq6RxAvjq57thiJ3WD3ipw== 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190412_055149_889528_8CC00C17 X-CRM114-Status: GOOD ( 11.30 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, patchwork-bot+notify@kernel.org, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Jerome Brunet Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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(+) 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 {