From patchwork Wed Apr 25 16:33:02 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 134373 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp1085204lji; Wed, 25 Apr 2018 09:34:13 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpoGAMefSkkS7pUgVySc2GHhrk/vL5fm1C3933vCKmV51lhV+Wo+KJ0zkkeKCKZHrlfotyP X-Received: by 10.99.65.197 with SMTP id o188mr6570101pga.7.1524674052862; Wed, 25 Apr 2018 09:34:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524674052; cv=none; d=google.com; s=arc-20160816; b=giAasllgdGGBe8kqa8FZgI/0C8GhkQagd1t8prIO+k4nZlJHXAWtYb2/gfeGj764C0 m6sx6Ao1rAMp0V0Pc+hiWRSFBe+JD2FMNELeMp9Khrz6C9E39apbUsZX8Xi+Dkb9AlN+ +U7Zktmeg6S/E+kFPy9el4zEumvE70kXhtQ/hvkKOyn9efOMVCyxWwsZFCykCik+ZZGg jWMyRPcIncMDj9WT0QnABaS6ynSSqUDvL/wAFYbSDvtVZcwsbySyFmMxyOBuc8wVXSgw q8Zj+DU41cgy43a+zZCC/RVtQ7C9fBgrUKE/PnKWxhLv8hrnpNT7mdzkTJ1fsYKHc2vH 3zng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=9VWMG//fV1zvPspZdS8cJb9C5KvUkoYMBep/wnMfSqg=; b=YAOsr6MYXdtLWMD7nff/YD9MdH5xUXagrhgonUogXOfYi521cviLUUPgbcGxIoku60 gjSnMb/pPQgQWIX3NyBqK0b7LPf/14TQxOUqvfEppsD0Xva8vo62TU1MMzcWG9j7+/6L p5CiqESUoDpvBYUn4XElTwbiAjNTQnFiemsIQiDgeMWz0I1JVQ2ytIiUzORrsqb48L0A ulpdwtGllHDUujsBWv34NQxZzBt7w7cb9ZmZaiTkdpi/EuFFJyfUsDIfUUM1a2P2g68d 465/ogwC0UOIjcqBaFlTCVLotbk2ol+WIXFmdjrIoujM430K8L8Y2wC1wYSFzZ9wWs0U Diyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=yIBA51I9; 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 v64si16154439pfb.78.2018.04.25.09.34.12; Wed, 25 Apr 2018 09:34:12 -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=yIBA51I9; 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 S1755481AbeDYQeJ (ORCPT + 29 others); Wed, 25 Apr 2018 12:34:09 -0400 Received: from mail-wr0-f193.google.com ([209.85.128.193]:37352 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755620AbeDYQdU (ORCPT ); Wed, 25 Apr 2018 12:33:20 -0400 Received: by mail-wr0-f193.google.com with SMTP id c14-v6so13823286wrd.4 for ; Wed, 25 Apr 2018 09:33:19 -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; bh=9VWMG//fV1zvPspZdS8cJb9C5KvUkoYMBep/wnMfSqg=; b=yIBA51I9iOZEH3yOz3hWaP9fYGeqy6b16jtOhQstyLnvBg61oD9FkBhp7702OgnDxp RLxGdoUHCprkhcer+aIfdaIeHTsECcEwj1k2qMFlmRoQIpfsUc89rM6jWVNm61vxJt+3 f4cmFwdcEF2cfQS+PLQAjf5qR3CK/9srRkrOlMbdT+DCVE8m8+HwvVlClfs/C2NoNYXu lf1qII1wE0LOhat1sU1YZEtkKe0gi1TPwq3/U8rVPAcOTT+BmY2g9E9iP2IY+Bz7MpT9 LBqKN6a91adOiOhXholp+ntji3N0siMBRLpDptRCDqKF3kCKwvGwyPPyCUFNzsXhEea9 yLYg== 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; bh=9VWMG//fV1zvPspZdS8cJb9C5KvUkoYMBep/wnMfSqg=; b=RLucojnb3I+HSV4Ay0NnZ9a97WIV9AZKYSifzydAYDgs2MTIRxnSDZKikKmNnvq9h1 ETeyAwf6bkEsj/g3itHYGsqh7NYiPXi5qCYnBicml8fWZS6Ygs2UldzjSyHjkVhve6Fm LLASnRbmgYiCzGw27ff3Ad1heDjlmPA8rm0joBqPmpKGsEZu3PqFjYlBCE4iMAio+a9/ Sb6OgVcY1oBaWJ0c69aztXk8DPxUaaxw+WByrmC8m8vBUaHb3isxtZEyY9GMrx8SdnQ/ vOEw9Kx064tMar/yHkwDnAB4Om7+r2DZK+YtbQzmpCH18cW+hQ+H2PXtWQrmU08oWpqg DW4A== X-Gm-Message-State: ALQs6tD0m9y22ypiVqWsVpmqARgEIALLfupmpsIdu27goBf4R/OomoPO 34hqyom31He57Nm9oVP2xYTn6w== X-Received: by 2002:adf:9d0d:: with SMTP id k13-v6mr24784251wre.179.1524673998237; Wed, 25 Apr 2018 09:33:18 -0700 (PDT) Received: from boomer.baylibre.local ([2a01:e34:eeb6:4690:3146:aafc:91d9:4b96]) by smtp.googlemail.com with ESMTPSA id 44-v6sm17300548wrk.48.2018.04.25.09.33.16 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 25 Apr 2018 09:33:17 -0700 (PDT) From: Jerome Brunet To: Neil Armstrong , Carlo Caione , Kevin Hilman Cc: Jerome Brunet , Michael Turquette , Stephen Boyd , linux-amlogic@lists.infradead.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 5/7] clk: meson: axg: export audio clock controller id bindings Date: Wed, 25 Apr 2018 18:33:02 +0200 Message-Id: <20180425163304.10852-6-jbrunet@baylibre.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180425163304.10852-1-jbrunet@baylibre.com> References: <20180425163304.10852-1-jbrunet@baylibre.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org export the clock ids dt-bindings usable by the consumers of the axg audio clock controller Signed-off-by: Jerome Brunet --- include/dt-bindings/clock/axg-audio-clkc.h | 94 ++++++++++++++++++++++++++++++ 1 file changed, 94 insertions(+) create mode 100644 include/dt-bindings/clock/axg-audio-clkc.h -- 2.14.3 diff --git a/include/dt-bindings/clock/axg-audio-clkc.h b/include/dt-bindings/clock/axg-audio-clkc.h new file mode 100644 index 000000000000..4426ae655858 --- /dev/null +++ b/include/dt-bindings/clock/axg-audio-clkc.h @@ -0,0 +1,94 @@ +/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */ +/* + * Copyright (c) 2018 Baylibre SAS. + * Author: Jerome Brunet + */ + +#ifndef __AXG_AUDIO_CLKC_BINDINGS_H +#define __AXG_AUDIO_CLKC_BINDINGS_H + +#define AUD_CLKID_SLV_SCLK0 9 +#define AUD_CLKID_SLV_SCLK1 10 +#define AUD_CLKID_SLV_SCLK2 11 +#define AUD_CLKID_SLV_SCLK3 12 +#define AUD_CLKID_SLV_SCLK4 13 +#define AUD_CLKID_SLV_SCLK5 14 +#define AUD_CLKID_SLV_SCLK6 15 +#define AUD_CLKID_SLV_SCLK7 16 +#define AUD_CLKID_SLV_SCLK8 17 +#define AUD_CLKID_SLV_SCLK9 18 +#define AUD_CLKID_SLV_LRCLK0 19 +#define AUD_CLKID_SLV_LRCLK1 20 +#define AUD_CLKID_SLV_LRCLK2 21 +#define AUD_CLKID_SLV_LRCLK3 22 +#define AUD_CLKID_SLV_LRCLK4 23 +#define AUD_CLKID_SLV_LRCLK5 24 +#define AUD_CLKID_SLV_LRCLK6 25 +#define AUD_CLKID_SLV_LRCLK7 26 +#define AUD_CLKID_SLV_LRCLK8 27 +#define AUD_CLKID_SLV_LRCLK9 28 +#define AUD_CLKID_DDR_ARB 29 +#define AUD_CLKID_PDM 30 +#define AUD_CLKID_TDMIN_A 31 +#define AUD_CLKID_TDMIN_B 32 +#define AUD_CLKID_TDMIN_C 33 +#define AUD_CLKID_TDMIN_LB 34 +#define AUD_CLKID_TDMOUT_A 35 +#define AUD_CLKID_TDMOUT_B 36 +#define AUD_CLKID_TDMOUT_C 37 +#define AUD_CLKID_FRDDR_A 38 +#define AUD_CLKID_FRDDR_B 39 +#define AUD_CLKID_FRDDR_C 40 +#define AUD_CLKID_TODDR_A 41 +#define AUD_CLKID_TODDR_B 42 +#define AUD_CLKID_TODDR_C 43 +#define AUD_CLKID_LOOPBACK 44 +#define AUD_CLKID_SPDIFIN 45 +#define AUD_CLKID_SPDIFOUT 46 +#define AUD_CLKID_RESAMPLE 47 +#define AUD_CLKID_POWER_DETECT 48 +#define AUD_CLKID_MST_A_MCLK 49 +#define AUD_CLKID_MST_B_MCLK 50 +#define AUD_CLKID_MST_C_MCLK 51 +#define AUD_CLKID_MST_D_MCLK 52 +#define AUD_CLKID_MST_E_MCLK 53 +#define AUD_CLKID_MST_F_MCLK 54 +#define AUD_CLKID_SPDIFOUT_CLK 55 +#define AUD_CLKID_SPDIFIN_CLK 56 +#define AUD_CLKID_PDM_DCLK 57 +#define AUD_CLKID_PDM_SYSCLK 58 +#define AUD_CLKID_MST_A_SCLK 79 +#define AUD_CLKID_MST_B_SCLK 80 +#define AUD_CLKID_MST_C_SCLK 81 +#define AUD_CLKID_MST_D_SCLK 82 +#define AUD_CLKID_MST_E_SCLK 83 +#define AUD_CLKID_MST_F_SCLK 84 +#define AUD_CLKID_MST_A_LRCLK 86 +#define AUD_CLKID_MST_B_LRCLK 87 +#define AUD_CLKID_MST_C_LRCLK 88 +#define AUD_CLKID_MST_D_LRCLK 89 +#define AUD_CLKID_MST_E_LRCLK 90 +#define AUD_CLKID_MST_F_LRCLK 91 +#define AUD_CLKID_TDMIN_A_SCLK_SEL 116 +#define AUD_CLKID_TDMIN_B_SCLK_SEL 117 +#define AUD_CLKID_TDMIN_C_SCLK_SEL 118 +#define AUD_CLKID_TDMIN_LB_SCLK_SEL 119 +#define AUD_CLKID_TDMOUT_A_SCLK_SEL 120 +#define AUD_CLKID_TDMOUT_B_SCLK_SEL 121 +#define AUD_CLKID_TDMOUT_C_SCLK_SEL 122 +#define AUD_CLKID_TDMIN_A_SCLK 123 +#define AUD_CLKID_TDMIN_B_SCLK 124 +#define AUD_CLKID_TDMIN_C_SCLK 125 +#define AUD_CLKID_TDMIN_LB_SCLK 126 +#define AUD_CLKID_TDMOUT_A_SCLK 127 +#define AUD_CLKID_TDMOUT_B_SCLK 128 +#define AUD_CLKID_TDMOUT_C_SCLK 129 +#define AUD_CLKID_TDMIN_A_LRCLK 130 +#define AUD_CLKID_TDMIN_B_LRCLK 131 +#define AUD_CLKID_TDMIN_C_LRCLK 132 +#define AUD_CLKID_TDMIN_LB_LRCLK 133 +#define AUD_CLKID_TDMOUT_A_LRCLK 134 +#define AUD_CLKID_TDMOUT_B_LRCLK 135 +#define AUD_CLKID_TDMOUT_C_LRCLK 136 + +#endif /* __AXG_AUDIO_CLKC_BINDINGS_H */