From patchwork Mon Jun 24 00:16:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 13708796 X-Patchwork-Delegate: geert@linux-m68k.org Received: from JPN01-TYC-obe.outbound.protection.outlook.com (mail-tycjpn01on2060.outbound.protection.outlook.com [40.107.114.60]) (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 AB6CF621 for ; Mon, 24 Jun 2024 00:16:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.114.60 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719188189; cv=fail; b=RMOK2KDD7WVzcvfs50yFwV30BJPrnco3UF6EGwdB8wv3+WTEYi/CBU2rcqkGpgwJcFclFt7+CRePEsKRfKrQCC8/lOePESH80Hm/KBaRS6ImxQisE1iJHgeEm52Q0/5f23IeAA+6+Mu4AUUVmTAtsvoW0+4TKGS5NhJobPrZdGQ= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719188189; c=relaxed/simple; bh=9n734crskM+PeEswKQ0iUu/kMb7vngWnXfCgofF0cEE=; h=Message-ID:From:Subject:To:Cc:In-Reply-To:References:Content-Type: Date:MIME-Version; b=XL9WuoL+OcD+icl8B9TzS+SK5y1amntS1VdAgu6TD8HV9FueBHHbxSowCINB7Q4qBLGRKFL7A04av/u9rtRjkds5V+hLAYvoNP++LQVrh9Y7t4h5z9FuD2W/CBRWojRYsK9Z1u9HoHxZXS6ErKpxsdcsLRKoalfx86rX5It2x3o= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=renesas.com; spf=pass smtp.mailfrom=renesas.com; dkim=pass (1024-bit key) header.d=renesas.com header.i=@renesas.com header.b=VlVywl9b; arc=fail smtp.client-ip=40.107.114.60 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=renesas.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=renesas.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=renesas.com header.i=@renesas.com header.b="VlVywl9b" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PPIU5AxAlw9Kvso5iHmabHjBBt27QCLi5HczHFL67QH3oi9nReWuy8F4nsMF7tNEFfOvCxt/qyQ2VPHHhfVko7o6RN8BQHfXpv6RoD1Ns6ciflDdpAF9tpguSpyK2DM7EDdlkyMpcmREZhNiGaV+9HEZ6Jtb42B4a5/9VcleVwcJAMnUN444zyklpEZ0/49YqI1xaFGGLpaUnA+AixeVOanSf1QlR8lvWCFj8UI4axWWugKVKoyva//4sNX0jN7RprRgiOJ6oWepYJLBFGU/5I6MXT7h5RuyrGMFmlkl/6tbygLBWLTa/f+wYrCSVzklHcUQc6Zg1SwHI3OsnI2tyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=XcYJWXrmwo1nPLuGE8LAQFKZAGK2H94O3F/vmOwANeA=; b=Alsq0x4SvTYsjcY48qT8lof/j8n6XhfDccCdJjO5idNMkgvxumJgbZOneV+h5NQgZKcwzwvdY63sSWWA7o2ywf0o8xM2V0CmhHd+1NgD97yqJU7vsiCVfYXsVN9U5MSqIxGFcFfZY8vC4ChcfBBIaHnO+R7+SVf85TqF4osk9KCoUM/Z+BcCn2ZqrxWPaJz31xjxuDQrXL7D5VgtqGhg2BvTiYOlu5DaIqOSM1KNPlXK/i2NII2X7OnckT8Nt+iEn4BmjltzwlKyVsukVgSi+taG49O/0ymuJPyyGw9xqFUW8na3uSRaZ9wbRRUeEq//X3+ADFUUhjOMtp9Q7OQaCQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=renesas.com; dmarc=pass action=none header.from=renesas.com; dkim=pass header.d=renesas.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=renesas.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=XcYJWXrmwo1nPLuGE8LAQFKZAGK2H94O3F/vmOwANeA=; b=VlVywl9bOKTr1y4G72CG7gxqO+9qhk3MBAIqur2RCtll7+FzAFtinhuooLf94GHKXhuhn5gIaSuMopq3i3IGauGx0bmmkT4DAMBGagZfZ9EqQev4cf7cgAhHBhF5Ns1dKmvyzsJjG6DQCDzV2XKRWZ9bYd2qyybfMsosmFnW6oY= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=renesas.com; Received: from TYCPR01MB10914.jpnprd01.prod.outlook.com (2603:1096:400:3a9::11) by TY3PR01MB12050.jpnprd01.prod.outlook.com (2603:1096:400:405::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7698.28; Mon, 24 Jun 2024 00:16:24 +0000 Received: from TYCPR01MB10914.jpnprd01.prod.outlook.com ([fe80::c568:1028:2fd1:6e11]) by TYCPR01MB10914.jpnprd01.prod.outlook.com ([fe80::c568:1028:2fd1:6e11%4]) with mapi id 15.20.7698.025; Mon, 24 Jun 2024 00:16:24 +0000 Message-ID: <87frt3kxew.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH 2/6] arm64: dts: renesas: r8a779g0: tidyup sound DT settings User-Agent: Wanderlust/2.15.9 Emacs/29.3 Mule/6.0 To: Geert Uytterhoeven Cc: linux-renesas-soc@vger.kernel.org, Khanh Le In-Reply-To: <87jzifkxi4.wl-kuninori.morimoto.gx@renesas.com> References: <87jzifkxi4.wl-kuninori.morimoto.gx@renesas.com> Date: Mon, 24 Jun 2024 00:16:24 +0000 X-ClientProxiedBy: TYCPR01CA0171.jpnprd01.prod.outlook.com (2603:1096:400:2b2::17) To TYCPR01MB10914.jpnprd01.prod.outlook.com (2603:1096:400:3a9::11) Precedence: bulk X-Mailing-List: linux-renesas-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYCPR01MB10914:EE_|TY3PR01MB12050:EE_ X-MS-Office365-Filtering-Correlation-Id: 6f2b4313-2e75-4967-79fb-08dc93e2e1d8 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230037|376011|366013|1800799021|52116011|38350700011; X-Microsoft-Antispam-Message-Info: 0roVEoKwVhlSyYA0Dt3s/WYadW2W8shrl8fFEnLwCCEtyVknsnITq1auOXJQI9BZvYliuG8AaYqLYTBLLlOX5OclT4mBj1IFduI8j50x78x3FwiHs6olZAOM9oWJbPtnU9k0vfZva/u02fk8RWIkEGWfylpNHKp40rVhtPOO5RSPrPe1SrT5bq1TP6tT98K8cfheFD+ERYVw3nprZhdql4IXR7w4QvzVUWJJjm93oXl7IXIG66CMfM56xqNd+rwOk4dyiDeDLpe/tlKSHiG1I+XWkj4twCXvrRToIAmR7gQGWiJba2KUqA2IpmJQis2O5YStfuEwogxmM7g1/ZhU8FRNcgoVBecV/YfTpkdJhY5KuK6WtL+UDwhD57cBXE0R+ApnT/h2ktf6oNiP7EKEI+Guh2Vikx+n/IpNqvugLOLwYBePp5I1FNxm41hDoMccxU+KrgadzmI2C3s7J0yQCHvk7ibT+sxfY1BnB+GClH8ck8rN+o8+xulJiOTido94pTU1enPjup4GP7GNGy4G7bNUdNgsnAPien8F1XIwj7z2jNu+ZK9vO0m2C+0grTl/pk90onO4W6QUJAKJCuzyP9f3sDC+ighmuPbDLatUYHOW+vfQc1pCJWois/IGXd8sucMcBXm6/+Iuxfyb78O/keX3JlPB3GmwP9ruL1SnagPTtlM/jSQ7yTn1cn5Q1boxBzOvXGJoSq1l02K0okwTlc0l3VmOPF8A8GlUKidBDVdA3UEkliFcG3ac2Cjgkok43P1I5rNTuC5PAKuS5xohrzsKR+inOFhFRzYt75VumwD1Y3B/UxbfhzEA7u6leMD2ZvuyiIJb99hIM7zVPz6qeyDg9ZMf2GfB+ErJn3AVCZeASvTUSKWkpPYdqF0ZVOqmORkzpCxCnk4m70ot1s0ygiQM6+15pPdkUYqTw86c/fGKpmxGYO4tUwJFdhYwYLb8qNdveAagtcuxSO30mCghyePT2738GAtMlU69nyqkz0uco8ls+25AB+0Lkzd0jci15+SBaKhKPFwjbP7IdjCEFu5+TgroJfia8Mu+/lwZx77Fad0Jtbb00KVmS2rfsrTykOSjGuX9C1bLQTpO/UIzVDv+GAs0qQNx+W1r0HlMfdEYOtuNRjPW5gX8SopPxWw6TvqppmP0fM3ixF3zc8aUJKc8m1ZhpFAazQ78lbiDTy/TCXO05CqnMlff5voCs9qH4ioFcdMdezgjkOSbnCmvnWy9SCwgdsMxWeKnU5ScpLlNtCxj44xgg0wfQJ/+um9IO0SSaALV8djamyZgWkGe3pgNTJLLBHcZJ+BWnPh2SaE58km7uifeDSqlS4ob7cHfwLHOM6uB+nzDXeNmQvGLfiYg7vn0P9Zb4MrmmSz+q6s= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:TYCPR01MB10914.jpnprd01.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230037)(376011)(366013)(1800799021)(52116011)(38350700011);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: PbSY4AVrRJz6qlGCJWktX2cfwXcPJDeSGhWa4NGXxrtDIgJMeHxk5UNyrObR79bArLkU5yfoEK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PYE5aYHLB+RY/J7fvGd/grdSvfGwvImtYsSn3E/HriJGuRFQlnPxY5S8UZBk+/IavWIk5LXz4jg8vJyLQ6hHB8BR8g23cr5ZtdRLOjIPh9g6bJULjWemQ4k+WZuxEjBB/2qJTWtV+stCRrv5FQKcsF4bcYrI55IUJ7zjUToFxo+vqwCOU1jg7jbdy+vOn+uHvE1jZiA90L1hflRyQYYgD3NQpBpOHBF7wvVx2/hM/7acdnwJJzTFGTEetT50zYRJri+lnEPztLtoX53qTsiYg5F4JbfjINv9vk8z3giA14O4Rd9MweKsWA1ehT4JSDWd9BgP7tUiXnMDgMZvm9ZEdrSZ9IdSvEQaL99ndLMNXwxh2xv3aCzkGC1zQiaGzjHtbhFNnYH7kxkHnQWvnh3s47c7zw4E2VYjwZiBsfc4C+gmd+chSheNl9vLhAV/kIxv9Nxw/y52trYt0kp1W4OZJ8xXFlnvVxOHDmCbWPE= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6f2b4313-2e75-4967-79fb-08dc93e2e1d8 X-MS-Exchange-CrossTenant-AuthSource: TYCPR01MB10914.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Jun 2024 00:16:24.1844 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 53d82571-da19-47e4-9cb4-625a166a4a2a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: b2zfz9iz3mfZsMKH+FLHlmwjoVxMjWKeCcKiJo6MXVQQzXmvPZSBK0FuHfyjTdLu40O/xeUtL+GnJaeXvfsqVbmiVR9Jpduy5S35r39pDmup+6RnLux3LgMQ/gVmW+hs X-MS-Exchange-Transport-CrossTenantHeadersStamped: TY3PR01MB12050 R8A779G0 (V4H) supports only 1 AUDIO_CLKOUT and 1 SSI, thus, #clock-cells / #sound-dai-cells are both fixed 0. (#sound-dai-cells is needed for Simple-Audio-Card, not needed for Audio-Graph-Card). This patch fixup it. Signed-off-by: Kuninori Morimoto Reviewed-by: Geert Uytterhoeven --- .../r8a779g0-white-hawk-ard-audio-da7212.dtso | 4 ---- arch/arm64/boot/dts/renesas/r8a779g0.dtsi | 17 +++++------------ 2 files changed, 5 insertions(+), 16 deletions(-) diff --git a/arch/arm64/boot/dts/renesas/r8a779g0-white-hawk-ard-audio-da7212.dtso b/arch/arm64/boot/dts/renesas/r8a779g0-white-hawk-ard-audio-da7212.dtso index e6f53377ecd90..e6cf304c77ee9 100644 --- a/arch/arm64/boot/dts/renesas/r8a779g0-white-hawk-ard-audio-da7212.dtso +++ b/arch/arm64/boot/dts/renesas/r8a779g0-white-hawk-ard-audio-da7212.dtso @@ -155,11 +155,7 @@ &rcar_sound { pinctrl-0 = <&sound_clk_pins>, <&sound_pins>; pinctrl-names = "default"; - /* Single DAI */ - #sound-dai-cells = <0>; - /* audio_clkout */ - #clock-cells = <0>; clock-frequency = <5644800>; /* 44.1kHz groups [(C) clock] */ // clock-frequency = <6144000>; /* 48 kHz groups [(C) clock] */ diff --git a/arch/arm64/boot/dts/renesas/r8a779g0.dtsi b/arch/arm64/boot/dts/renesas/r8a779g0.dtsi index aaeebf736f3f7..6bd5161942aad 100644 --- a/arch/arm64/boot/dts/renesas/r8a779g0.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a779g0.dtsi @@ -1723,18 +1723,6 @@ dmac1: dma-controller@e7351000 { }; rcar_sound: sound@ec5a0000 { - /* - * #sound-dai-cells is required - * - * Single DAI : #sound-dai-cells = <0>; <&rcar_sound>; - * Multi DAI : #sound-dai-cells = <1>; <&rcar_sound N>; - */ - /* - * #clock-cells is required - * - * clkout : #clock-cells = <0>; <&rcar_sound>; - * audio_clkout0/1/2/3 : #clock-cells = <1>; <&rcar_sound N>; - */ compatible = "renesas,rcar_sound-r8a779g0", "renesas,rcar_sound-gen4"; reg = <0 0xec5a0000 0 0x020>, <0 0xec540000 0 0x1000>, @@ -1744,6 +1732,11 @@ rcar_sound: sound@ec5a0000 { clocks = <&cpg CPG_MOD 2926>, <&cpg CPG_MOD 2927>, <&audio_clkin>; clock-names = "ssiu.0", "ssi.0", "clkin"; + /* #clock-cells is fixed */ + #clock-cells = <0>; + /* #sound-dai-cells is fixed */ + #sound-dai-cells = <0>; + power-domains = <&sysc R8A779G0_PD_ALWAYS_ON>; resets = <&cpg 2926>, <&cpg 2927>; reset-names = "ssiu.0", "ssi.0";