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: 10898207 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 16AE6922 for ; Fri, 12 Apr 2019 12:52:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E935428D7D for ; Fri, 12 Apr 2019 12:52:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DD3DF28D83; Fri, 12 Apr 2019 12:52:01 +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 8AEBE28D7D for ; Fri, 12 Apr 2019 12:52:01 +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=THjxAIaolWD+JQ2yo77lDS8nSjcdLyflDskeXsk/kLA=; b=KlUuYn0pHQC1Nc DSbXuhsTcjIf0h8oJ684griNddvNXuG3NoWWtWrSEr+g+SgCl7EzqZ5VCvFNPtsa44PocD7HXHQ/Y hJJKsC8U0lj2si/wX96bTUQY5hb+jDYaIiGtNYuHkKdARHIzoF0X39C3DGcwkM2a76vGKlyXEQ4QN cj1mgkDluFg1n3a37knmgMBWvX/Q5ZnjOilRNf7tqDClwLtsXb84bTaCqdouIgJNX61nsvv2s8Xe6 TohFVQswGAEQYisgBdVjxGmUZEGC3ls3ZJgqgGtYfzDQQB3bHRKDwNEal6OY6yoTjqKbcI0KJywOH XNAJ/G4nHNQ0xQXR6YXA==; 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 1hEvex-00031M-MG; Fri, 12 Apr 2019 12:51:59 +0000 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hEven-0002qD-NI for linux-amlogic@lists.infradead.org; Fri, 12 Apr 2019 12:51:51 +0000 Received: by mail-wr1-x442.google.com with SMTP id j9so11809873wrn.6 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=O2UsTeZ/XudTTesHL1gtv357j3UL4N1rMNWbNRrd8h1hjPx7aWuHLeBg1fU+6CLoDF QdkIxm4lzszA4hb9IV+fDS9iPa+ssksnte7/ZVkCoJd+5JyPcp2fT8+6ZUlSULlLCmcM LMglJUIUy1eEm5gAbpRnHs0bM0gWJYGzcCWe2egb9R9LZxnv/Ip+zA2Sdv/bnUHad1Ju SB8orqQ6mxyQ4Yhfb5F1N0UC30IsdoszsrNGsZPXuW30KClCBxGSidlMg2PzBZ+T6lWG KQPWPTbR0BS5WDjFNixAG4zOPnazWfkyYeNMuU4DsJXNcPmFSVt6HGsEv8a3qGDqfUwK ZNSQ== X-Gm-Message-State: APjAAAXpamgY3MCT2DQ2MC2fxPMXrIjxdHPPzeK2Ga8Quq+Ift+mZDmQ DFWukebZX4nofzQMAUkUWoMj0A== 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_763054_0B84FEE2 X-CRM114-Status: UNSURE ( 9.86 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-amlogic@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-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=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 {