Received: by 10.223.185.116 with SMTP id b49csp2051971wrg; Mon, 12 Feb 2018 03:32:28 -0800 (PST) X-Google-Smtp-Source: AH8x226jmMo/5Pbvg2FTnKwB3rfgeTIbQrIaN8e9+ss6YrfO2LSrDU/mB6CF1zx6OJ2T0DUmQLhd X-Received: by 2002:a17:902:b685:: with SMTP id c5-v6mr10695958pls.174.1518435148251; Mon, 12 Feb 2018 03:32:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518435148; cv=none; d=google.com; s=arc-20160816; b=xGjtCtKEp4tyoGCKUqC5YiWVYEsCGbhww1nXJXd/oDH7oAjNmKCzqiGLXYUwwcF9xM V2Y0GEFbIxT/P9ETvFqDKW59FUds3Edh7pS1K8WrjYV8w10tNSmAV3y152UE4z7RV5SM oTFhjW7KYHoYBx350E3Cyj7LbKyAlVMqSijHzoe1GZ8zsSm3Se86y6YEBn3J1A8vNdqQ 0UXW1x8ETaN9OHyC0Zfw6i7W9/ADU/gFoZ8spz5mw/G4gWDWIWundw1ZJvlJ28N+ZxHz w3a5rNp7YSA5BHGPTCCPicgt3TMeTxpCY/EETVUWeXBMz3UWJ8k3S3aQU5CeiJSF/BUz 3mDg== 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=CIzmHf9FZhJMQfcoiPYBG/Xp9uQ3viyjvrw/KNkX5JE=; b=TfI1LS2dDMHnV4gEXBVudltpabhctYloZdp2EG+78mHfoKkfLJs7DP9/BjUnBc1PA+ VoVhgBFc4nSr5FS+U9l8evnx2ZG3k/8GcWQT7kzgwRZ+UzOdY/qjg4nAR9lCiuzMs2Db X++0sU1pyj2RtsYawFaTV7df+zH58IRRvPXH2jZf2yFEHJalH+HRec8xi00eVv3aKIMt JGjFvRWtu0PS0v6dyjd8JcQd692HrhwS8YIqwn8zRt/6TYfUAWGqj6HUwLUZ1ctATr4v jPR5Cd3tgylYToT2xRmbPkync36FZxZJlZNTCYMNhaLWhX1wn9pGWpu7sztiNMbNXt85 IbqQ== 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 3-v6si3727567plv.727.2018.02.12.03.32.14; Mon, 12 Feb 2018 03:32:28 -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 S934150AbeBLLbL (ORCPT + 99 others); Mon, 12 Feb 2018 06:31:11 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:64949 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S934047AbeBLL3q (ORCPT ); Mon, 12 Feb 2018 06:29:46 -0500 X-UUID: 43dc6e212d734bc89c00e4ae929f0b25-20180212 Received: from mtkcas09.mediatek.inc [(172.21.101.178)] by mailgw02.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 1545124616; Mon, 12 Feb 2018 19:29:40 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs08n2.mediatek.inc (172.21.101.56) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Mon, 12 Feb 2018 19:29:34 +0800 Received: from mtkslt306.mediatek.inc (10.21.14.136) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1210.3 via Frontend Transport; Mon, 12 Feb 2018 19:29:35 +0800 From: Ryder Lee To: Stephen Boyd , Rob Herring CC: Mark Brown , Lee Jones , Matthias Brugger , , , , , , Garlic Tseng , Ryder Lee Subject: [PATCH v3 0/5] switch to MFD device for MediaTek audio subsystem Date: Mon, 12 Feb 2018 19:28:46 +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 series switches the clock driver to adapt the new MFD parent. I still keep the previous version of the bindings (patch 4/5) for discussion. Rob, let me know if there is any problem with this. changes since v3: - Rebase to v4.16. - Modify clock driver for the sake of the backward compatibility. - Rewrite commit message of patch 4/5 to make it more specific. 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 | 179 +++++++++++++++++++ drivers/clk/mediatek/clk-mt7622-aud.c | 8 +- include/dt-bindings/clock/mt7622-clk.h | 3 +- 8 files changed, 414 insertions(+), 205 deletions(-) create mode 100644 drivers/clk/mediatek/clk-mt2701-aud.c -- 1.9.1