Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp3527523ybl; Sun, 8 Dec 2019 17:08:32 -0800 (PST) X-Google-Smtp-Source: APXvYqwdrEZafTO3YlobPP9Hutmhqy7seLi30ZCITDMyI4ZdS5IXxGvpa4MLTwnrBgWiRkml5WwY X-Received: by 2002:a05:6830:1407:: with SMTP id v7mr20113945otp.58.1575853712128; Sun, 08 Dec 2019 17:08:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575853712; cv=none; d=google.com; s=arc-20160816; b=XFN0YALBlMXilwnFSR773Tfokr7SFdltLhdJnJonnffsmf8vZT7ugRFl4pTXrB4cp1 Eg7mr9Sk1Ng9UsJ5pH+JNN+i4y1Mo7hqQl0yifPU/0o7NYExYRgrqkZWAdWkvjBiHYtu tuiL3Q7IYDWj4bSZvtVM9C4w2N0so3AINn2Wviap9gpMj1ce/qSHaZhOLfWSiUoNbQbe aK21XHzVZW0LagctzFPH98PuVQBLqGZCQ8HjjTE5vv8gtLYaohL9bYI4zYn/ZJKun17V wk9mvcUurZazJZtozMaCIsyBdM0AXa2D9xc3B2wJO/zIdBm4c+q86AomheMX6KGqPxgR X4gQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=0LktpQoLH1BqDdfX4GhrRHEJHo7O9PKcWj8BfxB1t/I=; b=rms6ncf61uBac2gEcfJ2Ss5qeaTilTmrDhvm2G59+EXR5ttgLx7rLgfFUU3ta6CiIC YdwaRyFzPDTm1OMV4pWblqOnozNWtrNjpD6zxUZCA/Yg9en8dqYLSKcsdMIF61qpHBg6 5XJEnmZ8z5OJgYPVMDcqFexGWKYkMaUYWaBekSx83tqXxL5afFszHfhLvKpJycqGi1lb RD3ldooengNyj07wHdInGnoGbr5fypGZ9jXr+RRDd7Dhy8AObSMzzdCafjMPwrCQvb5j OxLoITozEifh6bdn2Oaa4/mr0f/HfZ8TFuriekUwiaEAZMJSiRb+rEz6MG9wKfYhMkwM Vnpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=JXD0FoNc; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f7si10658771otp.6.2019.12.08.17.08.06; Sun, 08 Dec 2019 17:08:32 -0800 (PST) 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=@kernel.org header.s=default header.b=JXD0FoNc; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726717AbfLIBGO (ORCPT + 99 others); Sun, 8 Dec 2019 20:06:14 -0500 Received: from mail.kernel.org ([198.145.29.99]:48696 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726596AbfLIBGN (ORCPT ); Sun, 8 Dec 2019 20:06:13 -0500 Received: from dragon (98.142.130.235.16clouds.com [98.142.130.235]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id DB68A2070A; Mon, 9 Dec 2019 01:06:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1575853572; bh=diImKIxWYiCfkVFDpFphmhIAKhSJkzitOSJh3ppOi8c=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=JXD0FoNc+Hf9Pd51Sg5TFhXQdy/jILHk2oxaKvx8nNkgYUTogvLeifcwjg2FefGpu FzzScTc/MEMZtXZ3xiDSD8l7ZrVSWXeWD4vJE+XtTnMutj0mA1p614qMS5TZuADRYg zPnqBm3su8c94kAu9k4IZ5Ac3q0m7mrpYaFcdEQk= Date: Mon, 9 Dec 2019 09:05:55 +0800 From: Shawn Guo To: Abel Vesa Cc: Aisheng Dong , Stephen Boyd , Sascha Hauer , Jacky Bai , Daniel Baluta , dl-linux-imx , "linux-clk@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , Linux Kernel Mailing List , "S.j. Wang" Subject: Re: [PATCH 1/3] dt-bindings: imx8-clock: Add ADMA clock ids Message-ID: <20191209010031.GP3365@dragon> References: <1573647909-31081-1-git-send-email-abel.vesa@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1573647909-31081-1-git-send-email-abel.vesa@nxp.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 13, 2019 at 12:25:13PM +0000, Abel Vesa wrote: > According to the RM, the Audio and DMA (ADMA) subsystem is a collection > of audio peripherals and some system modules. > Add the ADMA specific clock ids to the dt-bindings clock file. > > Signed-off-by: Shengjiu Wang > Signed-off-by: Abel Vesa > --- > include/dt-bindings/clock/imx8-clock.h | 96 +++++++++++++++++++++++++++++++++- > 1 file changed, 94 insertions(+), 2 deletions(-) > > diff --git a/include/dt-bindings/clock/imx8-clock.h b/include/dt-bindings/clock/imx8-clock.h > index 673a8c6..6e0c752 100644 > --- a/include/dt-bindings/clock/imx8-clock.h > +++ b/include/dt-bindings/clock/imx8-clock.h > @@ -131,7 +131,60 @@ > #define IMX_ADMA_PWM_CLK 188 > #define IMX_ADMA_LCD_CLK 189 > > -#define IMX_SCU_CLK_END 190 > +#define IMX_ADMA_AUD_PLL0 190 > +#define IMX_ADMA_AUD_PLL1 191 > + > +#define IMX_ADMA_AUD_PLL_DIV_CLK0_CLK 192 > +#define IMX_ADMA_AUD_PLL_DIV_CLK1_CLK 193 > +#define IMX_ADMA_AUD_REC_CLK0_CLK 194 > +#define IMX_ADMA_AUD_REC_CLK1_CLK 195 > + > +/* CM40 SS */ > +#define IMX_CM40_IPG_CLK 196 > +#define IMX_CM40_I2C_DIV 197 These two don't look like ADMA clock. Shawn > + > +#define IMX_SCU_CLK_END 198 > + > +#define IMX_ADMA_ACM_AUD_CLK0_SEL 0 > +#define IMX_ADMA_ACM_AUD_CLK0_CLK 1 > +#define IMX_ADMA_ACM_AUD_CLK1_SEL 2 > +#define IMX_ADMA_ACM_AUD_CLK1_CLK 3 > +#define IMX_ADMA_ACM_MCLKOUT0_SEL 4 > +#define IMX_ADMA_ACM_MCLKOUT1_SEL 5 > +#define IMX_ADMA_ACM_ESAI0_MCLK_SEL 6 > +#define IMX_ADMA_ACM_GPT0_MUX_CLK_SEL 7 > +#define IMX_ADMA_ACM_GPT1_MUX_CLK_SEL 8 > +#define IMX_ADMA_ACM_GPT2_MUX_CLK_SEL 9 > +#define IMX_ADMA_ACM_GPT3_MUX_CLK_SEL 10 > +#define IMX_ADMA_ACM_GPT4_MUX_CLK_SEL 11 > +#define IMX_ADMA_ACM_GPT5_MUX_CLK_SEL 12 > +#define IMX_ADMA_ACM_SAI0_MCLK_SEL 13 > +#define IMX_ADMA_ACM_SAI1_MCLK_SEL 14 > +#define IMX_ADMA_ACM_SAI2_MCLK_SEL 15 > +#define IMX_ADMA_ACM_SAI3_MCLK_SEL 16 > +#define IMX_ADMA_ACM_SAI4_MCLK_SEL 17 > +#define IMX_ADMA_ACM_SAI5_MCLK_SEL 18 > +#define IMX_ADMA_ACM_SPDIF0_TX_CLK_SEL 19 > +#define IMX_ADMA_ACM_MQS_TX_CLK_SEL 20 > +#define IMX_ADMA_ACM_ASRC0_MUX_CLK_SEL 21 > +#define IMX_ADMA_ACM_ASRC1_MUX_CLK_SEL 22 > + > +#define IMX_ADMA_EXT_AUD_MCLK0 23 > +#define IMX_ADMA_EXT_AUD_MCLK1 24 > +#define IMX_ADMA_ESAI0_RX_CLK 25 > +#define IMX_ADMA_ESAI0_RX_HF_CLK 26 > +#define IMX_ADMA_ESAI0_TX_CLK 27 > +#define IMX_ADMA_ESAI0_TX_HF_CLK 28 > +#define IMX_ADMA_SPDIF0_RX 29 > +#define IMX_ADMA_SAI0_RX_BCLK 30 > +#define IMX_ADMA_SAI0_TX_BCLK 31 > +#define IMX_ADMA_SAI1_RX_BCLK 32 > +#define IMX_ADMA_SAI1_TX_BCLK 33 > +#define IMX_ADMA_SAI2_RX_BCLK 34 > +#define IMX_ADMA_SAI3_RX_BCLK 35 > +#define IMX_ADMA_SAI4_RX_BCLK 36 > + > +#define IMX_ADMA_ACM_CLK_END 37 > > /* LPCG clocks */ > > @@ -287,7 +340,46 @@ > #define IMX_ADMA_LPCG_DSP_IPG_CLK 42 > #define IMX_ADMA_LPCG_DSP_CORE_CLK 43 > #define IMX_ADMA_LPCG_OCRAM_IPG_CLK 44 > +#define IMX_ADMA_LPCG_AMIX_IPG_CLK 45 > +#define IMX_ADMA_LPCG_ESAI_0_IPG_CLK 46 > +#define IMX_ADMA_LPCG_ESAI_0_EXTAL_CLK 47 > +#define IMX_ADMA_LPCG_SAI_0_IPG_CLK 48 > +#define IMX_ADMA_LPCG_SAI_0_MCLK 49 > +#define IMX_ADMA_LPCG_SAI_1_IPG_CLK 50 > +#define IMX_ADMA_LPCG_SAI_1_MCLK 51 > +#define IMX_ADMA_LPCG_SAI_2_IPG_CLK 52 > +#define IMX_ADMA_LPCG_SAI_2_MCLK 53 > +#define IMX_ADMA_LPCG_SAI_3_IPG_CLK 54 > +#define IMX_ADMA_LPCG_SAI_3_MCLK 55 > +#define IMX_ADMA_LPCG_SAI_4_IPG_CLK 56 > +#define IMX_ADMA_LPCG_SAI_4_MCLK 57 > +#define IMX_ADMA_LPCG_SAI_5_IPG_CLK 58 > +#define IMX_ADMA_LPCG_SAI_5_MCLK 59 > +#define IMX_ADMA_LPCG_MQS_IPG_CLK 60 > +#define IMX_ADMA_LPCG_MQS_MCLK 61 > +#define IMX_ADMA_LPCG_GPT5_IPG_CLK 62 > +#define IMX_ADMA_LPCG_GPT5_CLKIN 63 > +#define IMX_ADMA_LPCG_GPT6_IPG_CLK 64 > +#define IMX_ADMA_LPCG_GPT6_CLKIN 65 > +#define IMX_ADMA_LPCG_GPT7_IPG_CLK 66 > +#define IMX_ADMA_LPCG_GPT7_CLKIN 67 > +#define IMX_ADMA_LPCG_GPT8_IPG_CLK 68 > +#define IMX_ADMA_LPCG_GPT8_CLKIN 69 > +#define IMX_ADMA_LPCG_GPT9_IPG_CLK 70 > +#define IMX_ADMA_LPCG_GPT9_CLKIN 71 > +#define IMX_ADMA_LPCG_GPT10_IPG_CLK 72 > +#define IMX_ADMA_LPCG_GPT10_CLKIN 73 > +#define IMX_ADMA_LPCG_MCLKOUT0 74 > +#define IMX_ADMA_LPCG_MCLKOUT1 75 > +#define IMX_ADMA_LPCG_SPDIF_0_TX_CLK 76 > +#define IMX_ADMA_LPCG_SPDIF_0_GCLKW 77 > +#define IMX_ADMA_LPCG_ASRC_0_IPG_CLK 79 > +#define IMX_ADMA_LPCG_ASRC_1_IPG_CLK 80 > +#define IMX_ADMA_LPCG_AUD_PLL_DIV_CLK0_CLK 81 > +#define IMX_ADMA_LPCG_AUD_PLL_DIV_CLK1_CLK 82 > +#define IMX_ADMA_LPCG_AUD_REC_CLK0_CLK 83 > +#define IMX_ADMA_LPCG_AUD_REC_CLK1_CLK 84 > > -#define IMX_ADMA_LPCG_CLK_END 45 > +#define IMX_ADMA_LPCG_CLK_END 85 > > #endif /* __DT_BINDINGS_CLOCK_IMX_H */ > -- > 2.7.4 >