Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp7154809yba; Thu, 2 May 2019 05:19:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqy4hb/PhWQYS/SJGERFYAhJ/rElZEP81unZkC/C4CWeI3/fDQpxfFIcYPoAxhwrPcbKcBnI X-Received: by 2002:aa7:8652:: with SMTP id a18mr3719330pfo.167.1556799594098; Thu, 02 May 2019 05:19:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556799594; cv=none; d=google.com; s=arc-20160816; b=t0j/gOVYg+MHtdz/IOKAqyU6Ca2Fu0u2TGnSa9sbIaOwnDVEMnKMUoeJ7JSy+l9954 6lQSmJDMzbzPcsXKM25RgFZwUCB0qzSM1wdMm+gh93GxGIMe5s8C+PxjxUkMYcRbXth7 uBhhJ+75xw7rBGQzXxWxCTH5ewyogIEpBnEjGH2ahq/5JYzihJ3Cn39GHq9VY96nvmJi 4eWuLmtQkAHzvNMQhTQ/uIv6uHMvoerxtq5OsmpfuU78eMNIk+ZqoFLLu3vcU4B0UtKa JDpNVtcn+8klQPtDjnMYGYAhQo0tHT3VIAMksnKUGBVkj0keir91WzBw9mzSsff16ef7 aeug== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=8yhaNFcdvOpPcpBYXUdsomaKk+La2YImNQmSmSh3PjY=; b=MOq+T7pINlW4VLq4R+Vo8gFCsNjElFzBjB1nvlkI2sCqHDDXvehq0D350QpxpK8CFi WT8BijQc9Gdfc91ONF/b/YSUfiCyp+OKId8ps0qhjHBB6TSmzdeuTA0Eg7ImBknokOVk YNmLrsTR5gOxyPJ/ogxz0b553KCM0XIkzaWGNw9ZB9bfQpepmMHw8mW7EjZgNabeOJML jo4EN2NJtnvSs8Wnigm7nh984llAT9ydLuQizsJ9ckveb56xjpGM3gg4zj8s6rxjYQuP V4+JbbmBUqBkfX5FFfZFy9X7WaC8q2NdRU3LrexrGeoHJDO1JJL53dxRvCNoxthv8oRu cBiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=SZbstBAy; 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 r12si25784079pli.103.2019.05.02.05.19.38; Thu, 02 May 2019 05:19:54 -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=SZbstBAy; 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 S1726357AbfEBMSs (ORCPT + 99 others); Thu, 2 May 2019 08:18:48 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:41851 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726268AbfEBMSs (ORCPT ); Thu, 2 May 2019 08:18:48 -0400 Received: by mail-wr1-f68.google.com with SMTP id c12so3036209wrt.8 for ; Thu, 02 May 2019 05:18:47 -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:mime-version :content-transfer-encoding; bh=8yhaNFcdvOpPcpBYXUdsomaKk+La2YImNQmSmSh3PjY=; b=SZbstBAyWZbN8X23/VP/9UhABke/igJxDJHJXB7ekMR7k3qBy+2f19eHpUZX5I08QV tTytHe/uhg8qsFMTNfklzN5ZSg0BYys58sh/b8IzQsJD0Pmf2KDRJehfrtPzev/RDOh3 AU6e7dc/yW6EjebbghR2bq7+ekr2NGzHd3s8cVdxDQ5/mIJb8wS9oY+9QkU/vBeot2cZ uWxEAgGCDwUHnTeWuqWBshvrUNEp/bxUcbDDF7nDG79Z6VJrfTvtRaLd/h6aZIpHU0y1 GIRP3mlVC5fW5U0Ce8rwO9h6nHKBOVxrNleoF0o4rauPZyFM8bEPPNJ9CvmL5vcQosnR yJlQ== 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:mime-version :content-transfer-encoding; bh=8yhaNFcdvOpPcpBYXUdsomaKk+La2YImNQmSmSh3PjY=; b=VEVAru3iX31RIvstCnJanrdveKwvhlDP7R3lxw9gCfsi4DKoK2BhwHyTDBwPvUnS1M HKIDaDHxOkvtA2BTfkl1s7X4Fm0MGK0vxMO26ctHnrHr6crNLriPyyb7RDMqUw3jOv7S dKtsu6hpGRTdUdm3rnB3+TYgMr/IO11gyL9r0Z7qlQo8BFmT8Qe0rl1wIq7+E04GYRjE dAGChCfo1uqDklGInvwhAzbBoSR9W2e+tW0nbjOgUQhY1RC6mOt0Ait6dyCvD1Ct/7Yh vpun++OgKcNB4qMkZFVYDM2O/Igk4LesWDz2vpeAArtTGpBA9N0krh9y/MZbbJXJ+0JB UnMA== X-Gm-Message-State: APjAAAVjbclDUQnugbBasz2b1PJBWHp1vGlvGTFYg4QtmrsQ6wl/bWz4 Iq+jQt8mH34EuI29YeoAIND9GA== X-Received: by 2002:adf:e70a:: with SMTP id c10mr1268627wrm.278.1556799526486; Thu, 02 May 2019 05:18:46 -0700 (PDT) Received: from localhost.localdomain (aputeaux-684-1-8-187.w90-86.abo.wanadoo.fr. [90.86.125.187]) by smtp.gmail.com with ESMTPSA id f6sm4392842wmh.13.2019.05.02.05.18.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 02 May 2019 05:18:45 -0700 (PDT) From: Fabien Parent To: robh+dt@kernel.org, mark.rutland@arm.com, mturquette@baylibre.com, sboyd@kernel.org, matthias.bgg@gmail.com, wenzhen.yu@mediatek.com, sean.wang@mediatek.com, ryder.lee@mediatek.com Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Fabien Parent Subject: [PATCH 1/2] dt-bindings: mediatek: audsys: add support for MT8516 Date: Thu, 2 May 2019 14:18:42 +0200 Message-Id: <20190502121843.14493-1-fparent@baylibre.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add AUDSYS device tree bindings documentation for MediaTek MT8516 SoC. Signed-off-by: Fabien Parent --- .../bindings/arm/mediatek/mediatek,audsys.txt | 1 + include/dt-bindings/clock/mt8516-clk.h | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/mediatek/mediatek,audsys.txt b/Documentation/devicetree/bindings/arm/mediatek/mediatek,audsys.txt index d1606b2c3e63..a4d07108bd4c 100644 --- a/Documentation/devicetree/bindings/arm/mediatek/mediatek,audsys.txt +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,audsys.txt @@ -9,6 +9,7 @@ Required Properties: - "mediatek,mt2701-audsys", "syscon" - "mediatek,mt7622-audsys", "syscon" - "mediatek,mt7623-audsys", "mediatek,mt2701-audsys", "syscon" + - "mediatek,mt8516-audsys", "syscon" - #clock-cells: Must be 1 The AUDSYS controller uses the common clk binding from diff --git a/include/dt-bindings/clock/mt8516-clk.h b/include/dt-bindings/clock/mt8516-clk.h index 9cfca53cd78d..816447b98edd 100644 --- a/include/dt-bindings/clock/mt8516-clk.h +++ b/include/dt-bindings/clock/mt8516-clk.h @@ -208,4 +208,21 @@ #define CLK_TOP_MSDC2_INFRA 176 #define CLK_TOP_NR_CLK 177 +/* AUDSYS */ + +#define CLK_AUD_AFE 0 +#define CLK_AUD_I2S 1 +#define CLK_AUD_22M 2 +#define CLK_AUD_24M 3 +#define CLK_AUD_INTDIR 4 +#define CLK_AUD_APLL2_TUNER 5 +#define CLK_AUD_APLL_TUNER 6 +#define CLK_AUD_HDMI 7 +#define CLK_AUD_SPDF 8 +#define CLK_AUD_ADC 9 +#define CLK_AUD_DAC 10 +#define CLK_AUD_DAC_PREDIS 11 +#define CLK_AUD_TML 12 +#define CLK_AUD_NR_CLK 13 + #endif /* _DT_BINDINGS_CLK_MT8516_H */ -- 2.20.1