Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp1854664img; Sat, 23 Mar 2019 14:18:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqxtLQtb6Z0rHSuY7aGDXvbCl3yVoRQiXxCdhDpaJ2YRk3nLa4FZImx21am+HZLlucrW+u+c X-Received: by 2002:a62:a509:: with SMTP id v9mr16784411pfm.64.1553375905752; Sat, 23 Mar 2019 14:18:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553375905; cv=none; d=google.com; s=arc-20160816; b=Y10oZVOnJ0tTFDvUZJSxj3zOolvZLHL2eMdWClQY440I5Q9xtnvLoNRKRxdPlueHxe 8k4nF8ztSMNm9n8ADU8FkuoL7Bq2128ajFBUOCdIIBnkTH4NisbtqLmnOxtsbkmX0991 uCWY7NldzAWWpnSBtwgBmQWf6nunqoifV5n+Gq7Dag8SZoI2kSHP13aPZddqyfIeJdQq Yc+uCfSha1gAXz+Tc7gZy4Zx7efWVR9zgwrWXhoKAqPVtLPE4cO8JT2p/hBNjaMnP9pq OLfTIYpV63SS4GJMyfMHxpFqtFRkfjMbxHUelmIzzo/yc+McdRGUC5sFyGYn1eFdMm9m qQjA== 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=K20dmGWJ700LL+vpJjpcnDlimzQRZKLYUWDMmgR6T8c=; b=dc+4j1HWBFCHCS0UsxjKpHvbudtuRqvoygN9SMsDIvj5Po+GAlAAQsQT23sPY7heUM 2JoDcUu7Kq1N9WpDnH0IYHa1lxALkQjgGmWWBd33sjW9HgW8w/LWeS+5FcHcyMRN4ETt zkoU6NYHK2384WMF+GkZqY3g2U7tPuVNDqVmlo7jeuz+R4XnblI1AeO5lecorNMZtzqk lLMzTKrtr5L65kp4LojW/7SAflo66EgqEVXS4VtqAekMejeYbioW8Fk+Egz4jpSJUTfN RWEzTIkpXvgNBdci5ISwPJV66kjozmiPmBZpUZ27EywEdZMbIzIM51LKME/itHEY9cNK lzCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=Ax2CAfHO; 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 33si10853608plg.3.2019.03.23.14.18.11; Sat, 23 Mar 2019 14:18:25 -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=Ax2CAfHO; 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 S1728548AbfCWVRP (ORCPT + 99 others); Sat, 23 Mar 2019 17:17:15 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:38561 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728520AbfCWVRL (ORCPT ); Sat, 23 Mar 2019 17:17:11 -0400 Received: by mail-wr1-f67.google.com with SMTP id g12so5976713wrm.5 for ; Sat, 23 Mar 2019 14:17:10 -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=K20dmGWJ700LL+vpJjpcnDlimzQRZKLYUWDMmgR6T8c=; b=Ax2CAfHOTtSVpQD45ZlHkjQ1osTfDL6m+S2jsdo6/daBbRaOSRhb+YHpJsmcYagxYl LzuawF35/KY3VeCxMJrCCt+W7l6v/DBsN+vtzTjsEqUzAKuGpJ6P5J1BPeA25dM0SGYk UXh99ev8n35Vc82HR/XgHc+9ssKMZYPFZ00ck2Sob/F0CdVs/FHZ08EMlRwwsY6RGdpn qHhMd8SEeqbFRz14MnvdcwneYd+jFv37DFIa3Hodt0wMui421gW0RZnIbk0/J7GwYQ4D eX+VS7aSmMoA803EHq3QY3hUL7+i3kub/m14dyWIUREkoaiSny3QdlFMtg53culKeldb NRjA== 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=K20dmGWJ700LL+vpJjpcnDlimzQRZKLYUWDMmgR6T8c=; b=Mjn9AnIFmGHFmLEkSqG22cCEIZK9woOytzYOMOrzBXJfxJD8J7U4vCS8zQxR71RYzu 2VAQ/vPNy6CzA9yrfuiEimjbE9JGchiKqA9HYECKtdU48VaM4TVRDd/Hoaaf7ossgmS8 Ri9AFVdaLXCayZSb+vRcM/+21zV61qjK//1WX9R9ZqNqt2TXF7pGe1/N9kpEyK/ABTbR oeZocF6Zv6Y0sjwTDsSwyRagCLkMmPvK00BfncuWKS7YbD8fOVnNXR5G3Ic6MZgGIIp2 rodsWf3pi+LrELGYV30sxlaSjLs1GU3ny2PfI7Tlqh63/MrT0TP2SsLzgadMP0q7/hAe USjw== X-Gm-Message-State: APjAAAXl7W/pUO/qPNqI22WRf76vCwic7aRKAYauBZtu8LviiLRLgll/ +FqMiZ0ZZcpbm2dy+qDsienJbQ== X-Received: by 2002:a05:6000:1291:: with SMTP id f17mr10665878wrx.201.1553375829378; Sat, 23 Mar 2019 14:17:09 -0700 (PDT) Received: from localhost.localdomain (cag06-8-78-203-165-84.fbx.proxad.net. [78.203.165.84]) by smtp.gmail.com with ESMTPSA id y66sm8050503wmd.37.2019.03.23.14.17.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 23 Mar 2019 14:17:08 -0700 (PDT) From: Fabien Parent To: matthias.bgg@gmail.com, robh+dt@kernel.org, mark.rutland@arm.com Cc: sean.wang@kernel.org, ryder.lee@mediatek.com, hsin-hsiung.wang@mediatek.com, wenzhen.yu@mediatek.com, chaotian.jing@mediatek.com, yong.mao@mediatek.com, jjian.zhou@mediatek.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-i2c@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-mmc@vger.kernel.org, linux-gpio@vger.kernel.org, linux-serial@vger.kernel.org, linux-spi@vger.kernel.org, linux-watchdog@vger.kernel.org, linux-clk@vger.kernel.org, stephane.leprovost@mediatek.com, Fabien Parent Subject: [PATCH 12/24] dt-bindings: mediatek: infracfg: add support for MT8516 Date: Sat, 23 Mar 2019 22:16:00 +0100 Message-Id: <20190323211612.860-13-fparent@baylibre.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190323211612.860-1-fparent@baylibre.com> References: <20190323211612.860-1-fparent@baylibre.com> 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 binding documentation of infracfg for MT8516 SoC. Signed-off-by: Fabien Parent --- .../bindings/arm/mediatek/mediatek,infracfg.txt | 1 + include/dt-bindings/clock/mt8516-clk.h | 9 +++++++++ 2 files changed, 10 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/mediatek/mediatek,infracfg.txt b/Documentation/devicetree/bindings/arm/mediatek/mediatek,infracfg.txt index 417bd83d1378..cbc38a8ee985 100644 --- a/Documentation/devicetree/bindings/arm/mediatek/mediatek,infracfg.txt +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,infracfg.txt @@ -15,6 +15,7 @@ Required Properties: - "mediatek,mt7629-infracfg", "syscon" - "mediatek,mt8135-infracfg", "syscon" - "mediatek,mt8173-infracfg", "syscon" + - "mediatek,mt8516-infracfg", "syscon" - #clock-cells: Must be 1 - #reset-cells: Must be 1 diff --git a/include/dt-bindings/clock/mt8516-clk.h b/include/dt-bindings/clock/mt8516-clk.h index 8d44cb32efba..956ee2c0748e 100644 --- a/include/dt-bindings/clock/mt8516-clk.h +++ b/include/dt-bindings/clock/mt8516-clk.h @@ -8,6 +8,15 @@ #ifndef _DT_BINDINGS_CLK_MT8516_H #define _DT_BINDINGS_CLK_MT8516_H +/* INFRACFG */ + +#define CLK_IFR_MUX1_SEL 0 +#define CLK_IFR_ETH_25M_SEL 1 +#define CLK_IFR_I2C0_SEL 2 +#define CLK_IFR_I2C1_SEL 3 +#define CLK_IFR_I2C2_SEL 4 +#define CLK_IFR_NR_CLK 5 + /* TOPCKGEN */ #define CLK_TOP_CLK_NULL 0 -- 2.20.1