Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753743AbeABLsZ (ORCPT + 1 other); Tue, 2 Jan 2018 06:48:25 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:47675 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1752377AbeABLsC (ORCPT ); Tue, 2 Jan 2018 06:48:02 -0500 X-UUID: cf110a8635e748b48ea19e439b419fc1-20180102 From: Ryder Lee To: Stephen Boyd CC: Lee Jones , Matthias Brugger , Mark Brown , , , , , , Garlic Tseng , Ryder Lee Subject: [PATCH 12/12] dt-bindings: clock: mediatek: update audsys bindings to adapt the wrapper Date: Tue, 2 Jan 2018 19:47:54 +0800 Message-ID: X-Mailer: git-send-email 1.9.1 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: Update the DT binding to adapt the new audio subsystem wrapper. Also add a compatible string for MT2701. Signed-off-by: Ryder Lee --- .../bindings/arm/mediatek/mediatek,audsys.txt | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/Documentation/devicetree/bindings/arm/mediatek/mediatek,audsys.txt b/Documentation/devicetree/bindings/arm/mediatek/mediatek,audsys.txt index 9b8f578..106defa 100644 --- a/Documentation/devicetree/bindings/arm/mediatek/mediatek,audsys.txt +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,audsys.txt @@ -6,17 +6,24 @@ The MediaTek AUDSYS controller provides various clocks to the system. Required Properties: - compatible: Should be one of: - - "mediatek,mt7622-audsys", "syscon" + - "mediatek,mt2701-audsys", + - "mediatek,mt7622-audsys", - #clock-cells: Must be 1 The AUDSYS controller uses the common clk binding from Documentation/devicetree/bindings/clock/clock-bindings.txt The available clocks are defined in dt-bindings/clock/mt*-clk.h. +Must be a subnode of MediaTek audio subsystem device tree node. +See ../mfd/mtk-audsys.txt for details about the parent node. + Example: -audsys: audsys@11220000 { - compatible = "mediatek,mt7622-audsys", "syscon"; - reg = <0 0x11220000 0 0x1000>; - #clock-cells = <1>; -}; + audio-subsystm@11220000 { + compatible = "mediatek,mt2701-audsys-core"; + ... + audsys: clock { + compatible = "mediatek,mt2701-audsys"; + #clock-cells = <1>; + }; + }; -- 1.9.1