Received: by 10.223.176.5 with SMTP id f5csp1021923wra; Tue, 30 Jan 2018 23:45:39 -0800 (PST) X-Google-Smtp-Source: AH8x225aM2HPYyNiitkLKjZzl0upjv8Xslg8pR29/QFoTVpgyMV3QN6c5vrNHkxzLscN7lxA9Yb7 X-Received: by 10.98.46.2 with SMTP id u2mr32858396pfu.30.1517384739092; Tue, 30 Jan 2018 23:45:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517384739; cv=none; d=google.com; s=arc-20160816; b=cB2rRIpaMU5xrtZ10x7hcCdZD9almoW2xJT3fWb4OXaalQbGHSErT2yR6GfBl9Pw7F rFgKkOJFpobamhDY4G0id9Lw5LvWYIRsDB/Ket5xCoBqmyQ+9kZqSicJ3Y86M/WI2Lku rCZtgrPHQa1Klggh4Er9NFI85mnfnDIOyS/v6qQp+cFrPKbqlp4Atg9zv4CFxwC6wPUo iGUSZdTK7PJ5c8d/ek5oywkt7SA+7NglncvM7JZShiLcRkOXF8q7GdJ6WzdZ98XC6USU zlsA0J/SwvFWVKiwjwn/AgDOaTx5W5UpO39i6B72lLKVc2OcSdlkYNnK5x9RYzrSCDfH I3Wg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:arc-authentication-results; bh=rkW2Twwbd3uVuzKUf+LI10BT5ma2HkEuhM+kFxMMb1w=; b=n3FfxCEwusav9roLZRdQh8gKwvGbMYtP1wz1U0GAuAYds0ZZquqNr+pDdjcLH+Rr8r bKPI5nmBcc+42s3rQ+8xPwbx94S0Y0LO+FcYqVz7li9JqTE9FnBRXkykXhtXn4TyhcTn 1mvQmy5FKrCWRQ9q4hNcFXkMZLcanKp8+OMqW10K10XvN8CbkPgWEderfiJmCJ6v90Px aSbMG89hl5UYvD0kVLlKRHtPjirY63s0CZ9JxE72e1NvruqBZQOYvfI04Jj6ucNdpCQT tJqoYb4jjzYYcfW23CdUMb58YPNx7+4JukmCMlx72ljsoRU/72Jmjxys7BfhCnVSWgY8 Ln6g== 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 b24si644717pgn.767.2018.01.30.23.45.24; Tue, 30 Jan 2018 23:45:39 -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; 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 S1753184AbeAaHmw (ORCPT + 99 others); Wed, 31 Jan 2018 02:42:52 -0500 Received: from mailgw01.mediatek.com ([210.61.82.183]:62891 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1752909AbeAaHmv (ORCPT ); Wed, 31 Jan 2018 02:42:51 -0500 X-UUID: 635dfe6a135249a0b9e4494c18fbec8d-20180131 Received: from mtkcas09.mediatek.inc [(172.21.101.178)] by mailgw01.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 708386450; Wed, 31 Jan 2018 15:42:48 +0800 Received: from mtkcas09.mediatek.inc (172.21.101.178) by mtkmbs08n1.mediatek.inc (172.21.101.55) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Wed, 31 Jan 2018 15:42:46 +0800 Received: from mtkslt306.mediatek.inc (10.21.14.136) by mtkcas09.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1210.3 via Frontend Transport; Wed, 31 Jan 2018 15:42:47 +0800 From: Ryder Lee To: Stephen Boyd , Rob Herring CC: Mark Brown , Lee Jones , Matthias Brugger , , , , , , Garlic Tseng , Ryder Lee Subject: [PATCH v2 0/5] add MFD support for MediaTek audio subsystem Date: Wed, 31 Jan 2018 15:42:40 +0800 Message-ID: X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, This is the 2nd version of the patch sets which modify clock driver to adapt audio subsystem. I still keeping 'simple-mfd' in the binding for discussion. Rob, let me know if there is any problem with this. changes since v2: - Drop useless changes in clk-mt7622-aud.c. - Revise binding text: - Add more information about audio subsystem. - Separate clock node and AFE node. - Update license header. changes since v1: - To avoid writing an MFD driver, we add "simple-mfd" in the audsys binding. - Move three top clocks to audio driver [1] as we remove mfd/mtk-audsys.c in v1. Ryder Lee (5): clk: mediatek: update missing clock data for MT7622 audsys clk: mediatek: modify MT7622 audsys to adapt MFD device clk: mediatek: add audsys support for MT2701 dt-bindings: clock: mediatek: update audsys documentation to adapt MFD device arm: dts: mediatek: add audio-subsystem node for both MT2701 and MT7623 .../bindings/arm/mediatek/mediatek,audsys.txt | 37 +++- arch/arm/boot/dts/mt2701.dtsi | 192 ++++++++++---------- arch/arm/boot/dts/mt7623.dtsi | 193 ++++++++++----------- drivers/clk/mediatek/Kconfig | 6 + drivers/clk/mediatek/Makefile | 1 + drivers/clk/mediatek/clk-mt2701-aud.c | 175 +++++++++++++++++++ drivers/clk/mediatek/clk-mt7622-aud.c | 4 +- include/dt-bindings/clock/mt7622-clk.h | 3 +- 8 files changed, 406 insertions(+), 205 deletions(-) create mode 100644 drivers/clk/mediatek/clk-mt2701-aud.c -- 1.9.1