Received: by 10.223.185.116 with SMTP id b49csp3578872wrg; Tue, 6 Mar 2018 01:11:53 -0800 (PST) X-Google-Smtp-Source: AG47ELsxCeZFLvrD48qNqphw/gazY07ZxGRZwLo+1VTJta3O5UBbz+4iwlUBsYz/2/NxqgvzsXEA X-Received: by 10.98.1.88 with SMTP id 85mr18250532pfb.226.1520327513703; Tue, 06 Mar 2018 01:11:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520327513; cv=none; d=google.com; s=arc-20160816; b=PqY+JCjL4ssr0gOsE3IOXs/Eu8lOhjY3tEa0zIuri/iHBi91Vzq/2su07QJpYpZOVD WhxoYAnSZc71Qv9KKFd0itZ0mg7ruAvVtyHTQ9Ze3SMPYZfcFwTQ7krnN+MP7OOKGuWT 4Jq4kKTbrgvRJ4wklcXBAKXBrISyvZX4bKzAa8U0ZSu+ufDEBbOhsuTGVL/B546+jVy0 Mjdj30tULKIFJUjE48mICkYZ6gjn+X0VBO7+MggdN9WV+/5rRrQvDZk7s4oRitFHAFal Jyt9Q/ntEVtsajDtUlJONpz1d9+SV32AMEFDsoZ7uJ057UKyTcPNuxNj00DuCjCldz0/ pDhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:arc-authentication-results; bh=xvTb1xHzqaYmStZ5qA9dpmTSHsnKfZGabfz7Anb6PFI=; b=rv+6W6qx2tJWrtEOAOssG9E+bgU1NbKuhjJjRI7gCZ53dALHaUFse3UmY4YmTCq64u +l5pPUjx0lZRxPeVi3YKHss0T/ZvJuf57w8z3T2w/ZEUIU/KVyYvQnggSXufqblupT41 jhcxKOJyy8jw6fSoQ3FhWTlUQwyDid8rV0ANX4GnOoKjgP4T+mQlQqXryykztdTblCBr zX3NymxusJI9vvhBKViyn1PJJpIPMHyhuyzFIegKdG86ApEjAMddDNxui6Ro50KshhKs CQb1JrzDZ1WFBS063T5ixQCAG4Q24G2D5wwFqNJlZ65uPSPISHl5YJwpqSiR38l+34Sd 4z1A== 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 92-v6si4832954plw.562.2018.03.06.01.11.40; Tue, 06 Mar 2018 01:11:53 -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 S1753347AbeCFJKH (ORCPT + 99 others); Tue, 6 Mar 2018 04:10:07 -0500 Received: from mailgw01.mediatek.com ([210.61.82.183]:53308 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1753286AbeCFJKE (ORCPT ); Tue, 6 Mar 2018 04:10:04 -0500 X-UUID: 903266ef5ccc45149f73e7d8011688a8-20180306 Received: from mtkexhb01.mediatek.inc [(172.21.101.102)] by mailgw01.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 2096256553; Tue, 06 Mar 2018 17:09:59 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs08n1.mediatek.inc (172.21.101.55) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Tue, 6 Mar 2018 17:09:58 +0800 Received: from mtkslt306.mediatek.inc (10.21.14.136) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1210.3 via Frontend Transport; Tue, 6 Mar 2018 17:09:58 +0800 From: Ryder Lee To: Stephen Boyd , Rob Herring CC: Mark Brown , Lee Jones , Matthias Brugger , , , , , , Garlic Tseng , Ryder Lee Subject: [PATCH v4 4/6] dt-bindings: clock: mediatek: update audsys documentation to adapt MFD device Date: Tue, 6 Mar 2018 17:09:29 +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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The MediaTek audio hardware block that exposes functionalities that are handled by separate subsystems in the kernel. These functions are all mapped somewhere at 0x112xxxxx, and there are some control bits are mixed up with other functions within the same registers. This patch modifies example to illustrate child nodes. Signed-off-by: Ryder Lee --- .../bindings/arm/mediatek/mediatek,audsys.txt | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/Documentation/devicetree/bindings/arm/mediatek/mediatek,audsys.txt b/Documentation/devicetree/bindings/arm/mediatek/mediatek,audsys.txt index 9b8f578..97b304e 100644 --- a/Documentation/devicetree/bindings/arm/mediatek/mediatek,audsys.txt +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,audsys.txt @@ -13,10 +13,19 @@ 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. +Required sub-nodes: +------- +For common binding part and usage, refer to +../sonud/mt2701-afe-pcm.txt. + Example: -audsys: audsys@11220000 { - compatible = "mediatek,mt7622-audsys", "syscon"; - reg = <0 0x11220000 0 0x1000>; - #clock-cells = <1>; -}; + audsys: clock-controller@11220000 { + compatible = "mediatek,mt7622-audsys", "syscon"; + reg = <0 0x11220000 0 0x2000>; + #clock-cells = <1>; + + afe: audio-controller { + ... + }; + }; -- 1.9.1