Received: by 2002:ab2:b82:0:b0:1f3:401:3cfb with SMTP id 2csp140387lqh; Wed, 27 Mar 2024 18:18:59 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW2pbOUQRTuYCXI1dhoWBeT7n9TAHkPViJ2bfwyS7MYbS4DuaCn+iBd+ZJXlL1prpwe8VDx+BKXcTAvbR3rCOVWZHqwAdXfu6CZcGLgvw== X-Google-Smtp-Source: AGHT+IGykSFbDcwF9qZnSxF3LoWi5l1WJxSVhQrhkcUCKMTMZy8Soe45TkMLslqTsQTnDFGCzGGL X-Received: by 2002:a17:903:230b:b0:1e0:ac2b:44b6 with SMTP id d11-20020a170903230b00b001e0ac2b44b6mr1713111plh.18.1711588739219; Wed, 27 Mar 2024 18:18:59 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711588739; cv=pass; d=google.com; s=arc-20160816; b=BjWGTqzcTVQQphaG9BTTy2Gx9RQ3KjZFXnqCJpdse9+C6qS0z0yLSHUg9ztRTUZ0Xb 0s9Zh1qM0jL9lYh1tvBmVcJr5IZm0F2zZWHsUWrqCDL1wFqPI6G3YL6Hs+0Y7DdFKeu4 Qo6tD33h/zIWG/odg3V9TcHwvNiOz5BBpyMlXG6M4TP1edpSQfSesg0u2bQcTAPwGYyt ZcwKnPfxXyVEbOUZxl+/vWzCqbZu2G/zJWHwRuWAglx/Jhgpq42aDswT+8t4TrTBEz4K tHedvJQ5EMSTbXxgf80EkZe/S4l+3nw/84CkIkSkYBLlpxXGxyxEMvBoBQGoP/kJQq7s btgA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:to:from:dkim-signature:dkim-filter; bh=BqgRkpiwuRshogkhyDUT4e+K+SNvDn/rHcKBHf6IY48=; fh=SNGR7dE63TdvXeCwJKgFVm5Y9EDdGzwUaXKAyM+xRH0=; b=L8+H8K8Xz+uuXtnFHeY4E62Ftab8QcPbavCzO4HsnCbVaR5Os5YAas2ywre2saQUhA hHzL01y1073ASZTUA4lObK5pYn7dT6czq52ctGQFfmNmDNN7dBYNFs6iNc4fKNG+6PwW ikz5pXaJE96aouPQVDmyyq3W9/QVfjbXyPozOW9/U4q9/ElosgHwHablP2ynDRa/W7pj VUeAtbujR7snL5FOWcBmXiq0sQWmLe3bNFRfvC3LToN/0RUgIZRewLULeZ9hTPIz3nMv HdHOLyhee9S0iz5v0CssitZyW0uScrnGMgIc/PO9ZdXcQ+7L06zQHN4e1jO5iHZNunh4 3XUw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@salutedevices.com header.s=mail header.b=YyBP1AV0; arc=pass (i=1 spf=pass spfdomain=sberdevices.ru dkim=pass dkdomain=salutedevices.com dmarc=pass fromdomain=salutedevices.com); spf=pass (google.com: domain of linux-kernel+bounces-122258-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-122258-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=salutedevices.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id m13-20020a170902db0d00b001e10a87c43asi322583plx.205.2024.03.27.18.18.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Mar 2024 18:18:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-122258-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@salutedevices.com header.s=mail header.b=YyBP1AV0; arc=pass (i=1 spf=pass spfdomain=sberdevices.ru dkim=pass dkdomain=salutedevices.com dmarc=pass fromdomain=salutedevices.com); spf=pass (google.com: domain of linux-kernel+bounces-122258-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-122258-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=salutedevices.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id B46262A7F29 for ; Thu, 28 Mar 2024 01:10:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EBF361BC49; Thu, 28 Mar 2024 01:10:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=salutedevices.com header.i=@salutedevices.com header.b="YyBP1AV0" Received: from mx1.sberdevices.ru (mx2.sberdevices.ru [45.89.224.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5E4EEBE58; Thu, 28 Mar 2024 01:09:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.89.224.132 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711588201; cv=none; b=ZyRkme/6MtqlsehftB3HI4BHpSZadis7n3xp4F4woETgUHUEKaBIJo3hypxye2IbHg9ADPJymeTXNv86wCP918MTBFtc5pVF9sg87nW5y3GtcY/Nusorq2B6atEp2LlN36ep2nfCXzEVS8D2tdEbM4eMcM40+5KVd/Stpf+M/oA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711588201; c=relaxed/simple; bh=ADLgxszUZB9pQzulRyKfdB/gIkp6OsWNj4e43fUMX7c=; h=From:To:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=seF9QMRTPFIZM1RN+evdRJS89xE7wwlT+2Is7pBO8kJS/1+s/Xj+eA+dLJmv2r26GmSOYvLQXlZFwWvkMUzDRa6IA85zkLK4cD4tYpbGYrlh5Ju0EAQYJlcky4OTJOLjAQxQ0QjBynwjFM5hpmUovUwzQOqu2xYYOtEIJgegYTc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=salutedevices.com; spf=pass smtp.mailfrom=sberdevices.ru; dkim=pass (2048-bit key) header.d=salutedevices.com header.i=@salutedevices.com header.b=YyBP1AV0; arc=none smtp.client-ip=45.89.224.132 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=salutedevices.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sberdevices.ru Received: from p-infra-ksmg-sc-msk02 (localhost [127.0.0.1]) by mx1.sberdevices.ru (Postfix) with ESMTP id E16BF120013; Thu, 28 Mar 2024 04:09:50 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.sberdevices.ru E16BF120013 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=salutedevices.com; s=mail; t=1711588190; bh=BqgRkpiwuRshogkhyDUT4e+K+SNvDn/rHcKBHf6IY48=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:From; b=YyBP1AV0PKZ7u1upYKhsIuLgr4rtkZAbYkIQqloZdUs3ZVL6U+ukWCAMM4VMpf+j8 ZtpuBjgDmKnPnVzbwN8opQVO3xY27SugQxGGD30hjQyJN8+HEkfcoBOJGsI01836xF n+1goeonsK7EIJX/xr9tXDd7+P9rkDuWMy85a4J8a808LTKzkwJ3TZhkHWxNjOpzVx bUN90BUGf71qPr8EQ1qYKPTcKeArrivgd22VfiQETFtLrG0cxZzkEI16nIaPmBmMcC diqoSCeAbLBkPw5zXHaXLozTXwvBhIx05m8jg7fPjoV488bZ58epJMWXOzVBhE6bRr ws1lsyygonvKQ== Received: from smtp.sberdevices.ru (p-i-exch-sc-m02.sberdevices.ru [172.16.192.103]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.sberdevices.ru (Postfix) with ESMTPS; Thu, 28 Mar 2024 04:09:50 +0300 (MSK) Received: from CAB-WSD-0003115.sberdevices.ru (100.64.160.123) by p-i-exch-sc-m02.sberdevices.ru (172.16.192.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Thu, 28 Mar 2024 04:09:47 +0300 From: Jan Dakinevich To: Jan Dakinevich , Neil Armstrong , Jerome Brunet , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Kevin Hilman , Martin Blumenstingl , Philipp Zabel , , , , , Subject: [RFC PATCH v2 5/5] arm64: dts: meson: a1: add the audio clock controller Date: Thu, 28 Mar 2024 04:08:31 +0300 Message-ID: <20240328010831.884487-6-jan.dakinevich@salutedevices.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240328010831.884487-1-jan.dakinevich@salutedevices.com> References: <20240328010831.884487-1-jan.dakinevich@salutedevices.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: p-i-exch-sc-m01.sberdevices.ru (172.16.192.107) To p-i-exch-sc-m02.sberdevices.ru (172.16.192.103) X-KSMG-Rule-ID: 10 X-KSMG-Message-Action: clean X-KSMG-AntiSpam-Lua-Profiles: 184457 [Mar 27 2024] X-KSMG-AntiSpam-Version: 6.1.0.4 X-KSMG-AntiSpam-Envelope-From: YVDakinevich@sberdevices.ru X-KSMG-AntiSpam-Rate: 0 X-KSMG-AntiSpam-Status: not_detected X-KSMG-AntiSpam-Method: none X-KSMG-AntiSpam-Auth: dkim=none X-KSMG-AntiSpam-Info: LuaCore: 13 0.3.13 9d58e50253d512f89cb08f71c87c671a2d0a1bca, {Tracking_smtp_not_equal_from}, 127.0.0.199:7.1.2;salutedevices.com:7.1.1;100.64.160.123:7.1.2;sberdevices.ru:5.0.1,7.1.1;d41d8cd98f00b204e9800998ecf8427e.com:7.1.1;smtp.sberdevices.ru:5.0.1,7.1.1, FromAlignment: n, {Tracking_smtp_domain_mismatch}, {Tracking_smtp_domain_2level_mismatch}, {Tracking_sender_alignment_int}, {Tracking_white_helo}, ApMailHostAddress: 100.64.160.123 X-MS-Exchange-Organization-SCL: -1 X-KSMG-AntiSpam-Interceptor-Info: scan successful X-KSMG-AntiPhishing: Clean X-KSMG-LinksScanning: Clean X-KSMG-AntiVirus: Kaspersky Secure Mail Gateway, version 2.0.1.6960, bases: 2024/03/27 22:31:00 #24479773 X-KSMG-AntiVirus-Status: Clean, skipped Add the bus and audio clock controllers' device tree nodes. Signed-off-by: Jan Dakinevich --- arch/arm64/boot/dts/amlogic/meson-a1.dtsi | 48 +++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-a1.dtsi b/arch/arm64/boot/dts/amlogic/meson-a1.dtsi index c03e207ea6c5..357e48a5a5f4 100644 --- a/arch/arm64/boot/dts/amlogic/meson-a1.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-a1.dtsi @@ -5,6 +5,7 @@ #include #include +#include #include #include #include @@ -435,6 +436,53 @@ sd_emmc: sd@10000 { power-domains = <&pwrc PWRC_SD_EMMC_ID>; status = "disabled"; }; + + audio: bus@50000 { + compatible = "simple-bus"; + #address-cells = <2>; + #size-cells = <2>; + ranges = <0x0 0x0 0x0 0x50000 0 0x4980>; + power-domains = <&pwrc PWRC_AUDIO_ID>; + + clkc_audio: audio-clock-controller@0 { + compatible = "amlogic,a1-audio-clkc"; + reg = <0x0 0x0 0x0 0xb0>; + #clock-cells = <1>; + #reset-cells = <1>; + clocks = <&clkc_audio2 AUD2_CLKID_AUDIOTOP>, + <&clkc_periphs CLKID_AUDIO>, + <&clkc_periphs CLKID_DDS_IN>, + <&clkc_pll CLKID_FCLK_DIV2>, + <&clkc_pll CLKID_FCLK_DIV3>, + <&clkc_pll CLKID_HIFI_PLL>, + <&xtal>; + clock-names = "core", + "pclk", + "dds_in", + "fclk_div2", + "fclk_div3", + "hifi_pll", + "xtal"; + }; + + clkc_audio2: audio-clock-controller@4800 { + compatible = "amlogic,a1-audio2-clkc"; + reg = <0x0 0x4800 0x0 0x20>; + #clock-cells = <1>; + clocks = <&clkc_periphs CLKID_AUDIO>, + <&clkc_periphs CLKID_DDS_IN>, + <&clkc_pll CLKID_FCLK_DIV2>, + <&clkc_pll CLKID_FCLK_DIV3>, + <&clkc_pll CLKID_HIFI_PLL>, + <&xtal>; + clock-names = "pclk", + "dds_in", + "fclk_div2", + "fclk_div3", + "hifi_pll", + "xtal"; + }; + }; }; usb: usb@fe004400 { -- 2.34.1