From patchwork Tue Aug 20 12:15:51 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 171797 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp4333576ily; Tue, 20 Aug 2019 05:16:11 -0700 (PDT) X-Google-Smtp-Source: APXvYqwB3Bi9SGUZISmdTxlJZFqL3EZwSfPTjv5pzsyydJYXSSfoWdcaalsj63LjuBn6vdRrMD// X-Received: by 2002:a17:90a:dc82:: with SMTP id j2mr26569761pjv.89.1566303371909; Tue, 20 Aug 2019 05:16:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566303371; cv=none; d=google.com; s=arc-20160816; b=WTR6LK+xC1dtjzn2AtZSnQi5NjOA2AvvlsMzhkVSnE9CwyqiAtjCutoEVneBJh8jwF UKSIiW1kaLhorlPSypdm3vPZixcqgybfzM+1nrMzjvtVuibWeEwV4c9qrfjsRA22SOah TpFQGy1PyvC2w4c4YtQ7qDLCSSm6dw/WTHrx+f6WYQuWEkze0CN//tEiNhPpeq/gpaca jHVnxaER0tK65K9RF8Rz5RpFFZGXEtfHqmaZz1cyPFTtCWzuF2IXSrw6u2wLKzj6dwum zW9hXAJrjOZHNHkPG40iiUnV3AOYjwPThb6pWHfR5lUV6WDAUud8kkDSauNBFEl5IOOM WBPQ== 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=cnR9ChYVU8O+i3bYKzGbLSAIGaOskKWlzWch3oWoNOg=; b=HXU52DbCZRyAaB0vhB7gH8IU50dkSoXniilqknsal5LVSA2SaFEqSHQNIn+Fo2nVWI 3d5FGi6C2bNZaWHh0abaz2JL9kuWsXfF0axleVIWG5cEc0hEQiAgDueymPKOEmGERFKG Q62caXxpqQk6Mlrhj9+qQKPkFxxYpARhtcE2+J0O1fK6a2EXrBRuzLUW2YUGcNnGAyXm GKnX210XrZqNy8ZPHJV/0H+/LhXIr5Vgys+zUYlB1zayP4oWptT4o9MClkgWE59QKBIN 2zkqETCRV7z3T2rg+8ccGJSwezKidhu1hQrPPY1gC5kUM/XUv0s8C3vvYD31vmIH68Nq QtLQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=BWvA+DXF; 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 r33si11085616pjb.42.2019.08.20.05.16.11; Tue, 20 Aug 2019 05:16:11 -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=BWvA+DXF; 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 S1729706AbfHTMQA (ORCPT + 28 others); Tue, 20 Aug 2019 08:16:00 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:44552 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728907AbfHTMQA (ORCPT ); Tue, 20 Aug 2019 08:16:00 -0400 Received: by mail-wr1-f66.google.com with SMTP id p17so12137612wrf.11 for ; Tue, 20 Aug 2019 05:15:58 -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=cnR9ChYVU8O+i3bYKzGbLSAIGaOskKWlzWch3oWoNOg=; b=BWvA+DXF2PFrqpA6tZJHFq7nR9yfwe/0u9Ij/N5eFgiYjUv8D9Z4es148NNh9LSZPZ B+0oBFL9yPknk0aBg8SbPO+hamtpxAOoinXsPf43PXdAnNwYE00TUQxDLSU7YVlmYldB mfR4VpD25/jAr3z+/KN5ulB+vopEZfDxqu+YcO3tkbRfATOgxfBgIWnLsP/rwubTQ396 Q4JdEH/IMl/MVSOQi/Ne4Kcf+Zl4WxJBMQHc3mYFim8uly4RwHBfVUDtv6Ajp0864Bex IrvL2jFem8UOsUmfb8FCBf8oLFgGRFPkq5YVslI4prFHyGDMLjIbr1pH8bH8Ft62MZ6s WSMg== 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=cnR9ChYVU8O+i3bYKzGbLSAIGaOskKWlzWch3oWoNOg=; b=RS+A0+iA8+Fllxk0/eTatoJv4SSxwJoKB2olVx5VDxDVY4A8PFx/WrwX0gCw699/PR LVceaqBTmsJ9UszC3WWdpmmYV53CxpTcLwOj4Xa/XcvMDKEzVTnWGuexnhapkKIoXZbR 9XGKQggkslxVO80l8Z9TEIjMalS0/JzS3GvXhNkWQLcwiWAD5J0CEmEO5RUCma/rb30D Nc4o3SxaMOAXvrli1TZf5zUq2R76zmZ7FdH1I0JCnvHWGScyZTfzd8ojYobtAfbNjC4T DC6WDfZ6rEe77MwtKTORnEp5TBR/lSrvkrt6NnC7E35BjhGpG/Sxjo5gnrtmhEMK4S6q Di5Q== X-Gm-Message-State: APjAAAWwHbrBntKxDwOl8Rjj9iBfmaJ1O+qSuB/lbW9Id3DEUxWgLHkR RJBADoxMg7I+jlsvjwJv95RIRQ== X-Received: by 2002:adf:9043:: with SMTP id h61mr26994971wrh.247.1566303358128; Tue, 20 Aug 2019 05:15:58 -0700 (PDT) Received: from starbuck.baylibre.local (lmontsouris-657-1-212-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.googlemail.com with ESMTPSA id h23sm15300765wml.43.2019.08.20.05.15.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Aug 2019 05:15:57 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman Cc: Jerome Brunet , linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] arm64: dts: meson: g12a: add reset to tdm formatters Date: Tue, 20 Aug 2019 14:15:51 +0200 Message-Id: <20190820121551.18398-3-jbrunet@baylibre.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190820121551.18398-1-jbrunet@baylibre.com> References: <20190820121551.18398-1-jbrunet@baylibre.com> MIME-Version: 1.0 X-Patchwork-Bot: notify Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the reset to the TDM formatters of the g12a. This helps with channel mapping when a playback/capture uses more than 1 lane. Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) -- 2.21.0 diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi index 8eb92edb7a66..c8b9b9754598 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi @@ -11,6 +11,7 @@ #include #include #include +#include #include / { @@ -1586,6 +1587,7 @@ "amlogic,axg-tdmin"; reg = <0x0 0x300 0x0 0x40>; sound-name-prefix = "TDMIN_A"; + resets = <&clkc_audio AUD_RESET_TDMIN_A>; clocks = <&clkc_audio AUD_CLKID_TDMIN_A>, <&clkc_audio AUD_CLKID_TDMIN_A_SCLK>, <&clkc_audio AUD_CLKID_TDMIN_A_SCLK_SEL>, @@ -1601,6 +1603,7 @@ "amlogic,axg-tdmin"; reg = <0x0 0x340 0x0 0x40>; sound-name-prefix = "TDMIN_B"; + resets = <&clkc_audio AUD_RESET_TDMIN_B>; clocks = <&clkc_audio AUD_CLKID_TDMIN_B>, <&clkc_audio AUD_CLKID_TDMIN_B_SCLK>, <&clkc_audio AUD_CLKID_TDMIN_B_SCLK_SEL>, @@ -1616,6 +1619,7 @@ "amlogic,axg-tdmin"; reg = <0x0 0x380 0x0 0x40>; sound-name-prefix = "TDMIN_C"; + resets = <&clkc_audio AUD_RESET_TDMIN_C>; clocks = <&clkc_audio AUD_CLKID_TDMIN_C>, <&clkc_audio AUD_CLKID_TDMIN_C_SCLK>, <&clkc_audio AUD_CLKID_TDMIN_C_SCLK_SEL>, @@ -1631,6 +1635,7 @@ "amlogic,axg-tdmin"; reg = <0x0 0x3c0 0x0 0x40>; sound-name-prefix = "TDMIN_LB"; + resets = <&clkc_audio AUD_RESET_TDMIN_LB>; clocks = <&clkc_audio AUD_CLKID_TDMIN_LB>, <&clkc_audio AUD_CLKID_TDMIN_LB_SCLK>, <&clkc_audio AUD_CLKID_TDMIN_LB_SCLK_SEL>, @@ -1670,6 +1675,7 @@ compatible = "amlogic,g12a-tdmout"; reg = <0x0 0x500 0x0 0x40>; sound-name-prefix = "TDMOUT_A"; + resets = <&clkc_audio AUD_RESET_TDMOUT_A>; clocks = <&clkc_audio AUD_CLKID_TDMOUT_A>, <&clkc_audio AUD_CLKID_TDMOUT_A_SCLK>, <&clkc_audio AUD_CLKID_TDMOUT_A_SCLK_SEL>, @@ -1684,6 +1690,7 @@ compatible = "amlogic,g12a-tdmout"; reg = <0x0 0x540 0x0 0x40>; sound-name-prefix = "TDMOUT_B"; + resets = <&clkc_audio AUD_RESET_TDMOUT_B>; clocks = <&clkc_audio AUD_CLKID_TDMOUT_B>, <&clkc_audio AUD_CLKID_TDMOUT_B_SCLK>, <&clkc_audio AUD_CLKID_TDMOUT_B_SCLK_SEL>, @@ -1698,6 +1705,7 @@ compatible = "amlogic,g12a-tdmout"; reg = <0x0 0x580 0x0 0x40>; sound-name-prefix = "TDMOUT_C"; + resets = <&clkc_audio AUD_RESET_TDMOUT_C>; clocks = <&clkc_audio AUD_CLKID_TDMOUT_C>, <&clkc_audio AUD_CLKID_TDMOUT_C_SCLK>, <&clkc_audio AUD_CLKID_TDMOUT_C_SCLK_SEL>,