From patchwork Tue Oct 16 03:02:34 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vasily Khoruzhick X-Patchwork-Id: 10642681 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 25F7D157A for ; Tue, 16 Oct 2018 03:09:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 12D9229867 for ; Tue, 16 Oct 2018 03:09:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0630629866; Tue, 16 Oct 2018 03:09:38 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 85CAF29866 for ; Tue, 16 Oct 2018 03:09:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=QNlM+IagEkiSq3iRO/bqBNYqVmVmXJhZP1HL/uDZ0UQ=; b=X+SMLHrpoZ1Y3G ReTGnd/a9qbvOkeYluimP2cpxKZGXS/9jKwl5/mRbAJaRfRD+VnA0sK2PJRIEncoGSCymFq//KGFy Yyl12dnGTg5uUCJWafECxJT/xhiO1VmlGQjYTLWX8LAgr2uUSvkTqmcoR2O1zd4Co7wUC/ZnZKHI5 jI+WzjNmL91HztRoMRzVclwRIANLiDJp7VDEZXfsyadLUDbJvsBrzHFJfElpUuV0+VwDKXkK1xAVk ICgiZlFLC+arxZCmMneCOVFBJE2sbEl9b7pYnmQZMDwmda1QbsrGvyUE1K6YSPPIUIVN9Avq8vK/1 BgA5xKx+yhSXJkPC/hYQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gCFjf-0003jD-Fh; Tue, 16 Oct 2018 03:09:31 +0000 Received: from mail-pg1-f196.google.com ([209.85.215.196]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gCFdP-0008Fv-Ui for linux-arm-kernel@lists.infradead.org; Tue, 16 Oct 2018 03:04:20 +0000 Received: by mail-pg1-f196.google.com with SMTP id t70-v6so10094682pgd.12 for ; Mon, 15 Oct 2018 20:02:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=+zU3F+3HUNskC02tr5l8egTduscDKoYaVaz1eaU76RY=; b=fsNlFWcSK+n0YOY0Awxkfk/+QvKFDZyA7Bn0/RcKHidPnm3kYBqlcyOXJDebu50NWJ mSJExrf6Zvl8gnVc0I+5NFnQ+o/JR525K81ZJoIp3kYe9ZHgPrKp7A0BD07KsoxwbV0O 8GCNwfN5mrwp5vi0JKVklHBQ/IGuvE6J8GSigKMbJJIGByWqAYaAk7yvHbGzPciFLHlc tF5iyY0D2R9iTrWxkSYZFpRLs/EaEvgpJSGBIEvi11fzdS2/5DNFaY+oy0N/wSZgdZdB 9qxbxCzQTCxKDE1ND6FuDwhooa9ocpBSplIHqATc0zYtYYVzoebtJAx8c9nM7m2tRJf/ 2M9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=+zU3F+3HUNskC02tr5l8egTduscDKoYaVaz1eaU76RY=; b=QCZu7SLRupM7KHYw06+u5Lu6uj4akS5stxV8DwwFzBZPY+FpstY3QgNYOOq3ALibNA I6UJms6YKYfaDhQ5kawdFAzJfODcH1ri5Q9FPdGBDSKfNivCpzn0MYC0kbF4CeWDYT+p MlryLrmo9VW1yB4aM7i+0WWM//K4fjaN5pph66Qlond+azdwOuYif2yP1L1wWoca58Hc /5jiTXu9PsW1ZbEA4FPGTgLrMRXp6fxOhohir0X02Gcxvk3Z8+ENQ7BsRvg8ZRYILAge Hvov/BZRbtRtCRokEuJGpmsojnOLWNI9cnJ7fsoC94FdoFVfUxzek0meUcli9zGnB8Ei 4XGg== X-Gm-Message-State: ABuFfoh5Oc+cl635nnHhyrGgn2hGGE6PEFXvU2SrF7LaRtDmxA7aGEoh F51C6Vl+kqZ3tl8B3q1buDo= X-Google-Smtp-Source: ACcGV63xQEy8BoS638tbQ0Yaxo3Lg3/vmby739FSe9VTzCYEtm0Uvyx7zs9aUDOUl11MJ4b64V33ww== X-Received: by 2002:a62:1112:: with SMTP id z18-v6mr20245183pfi.200.1539658971997; Mon, 15 Oct 2018 20:02:51 -0700 (PDT) Received: from anarsoul-thinkpad.lan (216-71-193-140.dyn.novuscom.net. [216.71.193.140]) by smtp.gmail.com with ESMTPSA id p18-v6sm12812390pgi.5.2018.10.15.20.02.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 15 Oct 2018 20:02:51 -0700 (PDT) From: Vasily Khoruzhick To: Liam Girdwood , Mark Brown , Rob Herring , Mark Rutland , Maxime Ripard , Jaroslav Kysela , Takashi Iwai , Marcus Cooper , Mylene JOSSERAND , alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Jerome Brunet Subject: [PATCH v4 4/9] ASoC: dt-binding: Add bindings for Allwinner A64 codec's analog path controls Date: Mon, 15 Oct 2018 20:02:34 -0700 Message-Id: <20181016030239.15449-5-anarsoul@gmail.com> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20181016030239.15449-1-anarsoul@gmail.com> References: <20181016030239.15449-1-anarsoul@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181015_200304_112443_E34F111C X-CRM114-Status: GOOD ( 12.93 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Vasily Khoruzhick Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The internal codec on Allwinner A64 is split into 2 parts. The analog path controls are routed through an embedded custom register bus accessed through the PRCM block just as on A23/A33/H3. Add a binding for this hardware. Signed-off-by: Vasily Khoruzhick --- .../bindings/sound/sun50i-codec-analog.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/sun50i-codec-analog.txt diff --git a/Documentation/devicetree/bindings/sound/sun50i-codec-analog.txt b/Documentation/devicetree/bindings/sound/sun50i-codec-analog.txt new file mode 100644 index 000000000000..4f8ad0e04d20 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/sun50i-codec-analog.txt @@ -0,0 +1,12 @@ +* Allwinner A64 Codec Analog Controls + +Required properties: +- compatible: must be one of the following compatibles: + - "allwinner,sun50i-a64-codec-analog" +- reg: must contain the registers location and length + +Example: + codec_analog: codec-analog@1f015c0 { + compatible = "allwinner,sun50i-a64-codec-analog"; + reg = <0x01f015c0 0x4>; + };