Received: by 10.192.165.148 with SMTP id m20csp488870imm; Fri, 27 Apr 2018 02:27:31 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpNn901pv2GVHK6N1vacrjZs7zZv362WRsiS8Scl3GnMz6NUVY49HkUQVqfkK1tavGITbgD X-Received: by 2002:a17:902:8307:: with SMTP id bd7-v6mr1336945plb.234.1524821251329; Fri, 27 Apr 2018 02:27:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524821251; cv=none; d=google.com; s=arc-20160816; b=Cg1QS7/7ESR3Wm07ShPInKS54t3ZEPUf8Cm2OMC09uD4EXT4IEdfQBZXZMFp/Zxbzz bUjk9MV79wfIV1dM6FnNa8g8FP6cmC5vLabdYqjItHlMsLScPWhwulKYuzE31V3RBDBk W9rO3Fk/GgxFt9W8mhA2vJQL8QJBwLWQxfB+HJhtXvGIhijcPO8gJqNdgs2HQIJrUTwm vi/bGxTqdthOGgzs/7ln6sRfi/xt0Ty5plfg4/Ac6ls5L6iGuTCxz8JhkVx5Mirb7AU7 dw7Ty8Aewdzup6/x5XgfR50DjoFbLd6dymZOfcKww0fTYFbaW8j3+pQcrZt8453WtZwI 3ICg== 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:references :in-reply-to:message-id:date:subject:cc:to:from:dmarc-filter :arc-authentication-results; bh=gR9MueLNwOrHH5adxCq6LzW22DgpViivBA+EzFwjB+I=; b=noK4VjJnnWdeJ7/OvcPid8X+RNv8MdhUmB5r5ziR/szjwZKOpIHmyNdBRDh5YFi/Dj xMhON/GWjn8q1sLJFWFRs2IpHpMU04mUUN9wT1EIJCCOGxa+ntYeAxtKYEK+wi/nL6uK +te0B5FRxtK+HS8G7As7G6Mnye5PXaOixrc4uzVqep/XSsWa0j1ZD2JIQLL7D609ug4K R1AbtMizjx15n/zsYWeh4EhsuL17+1ccKguma/h09TPy8E6fYCvaX+CxBcftUN8CccwS jdXxvYUfkb3hX/4v77m8Pb0XX9MzWHUmhiDPSLoOWG7EpNLqfhIRSoz0pHhr55WMSNot Wodw== ARC-Authentication-Results: i=1; mx.google.com; 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 c12-v6si893463pll.433.2018.04.27.02.27.17; Fri, 27 Apr 2018 02:27:31 -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; 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 S932474AbeD0JYx (ORCPT + 99 others); Fri, 27 Apr 2018 05:24:53 -0400 Received: from mail.kernel.org ([198.145.29.99]:36968 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932415AbeD0JYt (ORCPT ); Fri, 27 Apr 2018 05:24:49 -0400 Received: from ziggy.de (unknown [37.223.140.222]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 760BC21878; Fri, 27 Apr 2018 09:24:44 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 760BC21878 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=matthias.bgg@kernel.org From: matthias.bgg@kernel.org To: ulrich.hecht+renesas@gmail.com, laurent.pinchart@ideasonboard.com, ck.hu@mediatek.com, p.zabel@pengutronix.de, airlied@linux.ie, robh+dt@kernel.org, mark.rutland@arm.com, mturquette@baylibre.com, sboyd@codeaurora.org, lee.jones@linaro.org Cc: davem@davemloft.net, gregkh@linuxfoundation.org, mchehab@kernel.org, rdunlap@infradead.org, sean.wang@mediatek.com, linux-clk@vger.kernel.org, linux@armlinux.org.uk, matthias.bgg@gmail.com, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Matthias Brugger Subject: [v3 06/10] mfd: mtk-mmsys: Add mt8173 nodes Date: Fri, 27 Apr 2018 11:23:58 +0200 Message-Id: X-Mailer: git-send-email 2.16.3 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Matthias Brugger Add devices for the mt8173 SoC. Signed-off-by: Matthias Brugger Reviewed-by: Philipp Zabel --- drivers/mfd/mtk-mmsys.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/drivers/mfd/mtk-mmsys.c b/drivers/mfd/mtk-mmsys.c index c802343fb1c6..5585a561a02f 100644 --- a/drivers/mfd/mtk-mmsys.c +++ b/drivers/mfd/mtk-mmsys.c @@ -19,6 +19,7 @@ enum { MMSYS_MT2701 = 1, + MMSYS_MT8173, }; static const struct mfd_cell mmsys_mt2701_devs[] = { @@ -26,6 +27,12 @@ static const struct mfd_cell mmsys_mt2701_devs[] = { { .name = "drm-mt2701-mm", }, }; +static const struct mfd_cell mmsys_mt8173_devs[] = { + { .name = "clk-mt8173-mm", }, + { .name = "drm-mt8173-mm", }, +}; + + static int mmsys_probe(struct platform_device *pdev) { const struct mfd_cell *mmsys_cells; @@ -44,6 +51,10 @@ static int mmsys_probe(struct platform_device *pdev) mmsys_cells = mmsys_mt2701_devs; nr_cells = ARRAY_SIZE(mmsys_mt2701_devs); break; + case MMSYS_MT8173: + mmsys_cells = mmsys_mt8173_devs; + nr_cells = ARRAY_SIZE(mmsys_mt8173_devs); + break; default: return -ENODEV; } @@ -62,6 +73,9 @@ static const struct of_device_id of_match_mmsys[] = { { .compatible = "mediatek,mt2701-mmsys", .data = (void *) MMSYS_MT2701, }, + { .compatible = "mediatek,mt8173-mmsys", + .data = (void *) MMSYS_MT8173, + }, { /* sentinel */ }, }; -- 2.16.3