From patchwork Wed Oct 17 07:38:08 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vasily Khoruzhick X-Patchwork-Id: 985159 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="eFFHcIKG"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 42ZkYx1Rfzz9sCW for ; Wed, 17 Oct 2018 18:38:29 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727223AbeJQPcu (ORCPT ); Wed, 17 Oct 2018 11:32:50 -0400 Received: from mail-pl1-f193.google.com ([209.85.214.193]:43016 "EHLO mail-pl1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726947AbeJQPcu (ORCPT ); Wed, 17 Oct 2018 11:32:50 -0400 Received: by mail-pl1-f193.google.com with SMTP id 30-v6so12251934plb.10 for ; Wed, 17 Oct 2018 00:38:28 -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=hpFOn0EH2koVVNQ7cZKbdUTx0qrvbWgcTQBp61OJt3I=; b=eFFHcIKGr7cowJuIA5xekEn1Ce+2qtdP934Rcg3Nx3HHsiV6uYij/1k0RlkOXVotZM h7C1+tKB+AGo/0b7fO5Dqy6mTBn8VV8pELmUiakmTmzFbU/Ky8YBXlDmwKsYIlBPpv73 HpNV9+N78rGp4FEQFZ35v7tz9IAHTkzgnUagWxOCgUWhTaLOzaTkjEaXGXNZa2Qtoqhx d9AXQN0w+LK4kgG39MY72H7zUFeLtn5sSRT7KGexnbOzKgeVZeaHfOuH53sXxGpT11VQ P0kEzNEupUrh8wDhC6IiyT+qWn9/yTvixEkU5CU/XBzJ8XmvYOq2DGVv4ctg93/7zWBf nUdQ== 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=hpFOn0EH2koVVNQ7cZKbdUTx0qrvbWgcTQBp61OJt3I=; b=f4/pGbiSZJZpP5e8da4NEoXLeXZodAn53pCJfcJ6//a9Eq3rhJkTFZZXtjTgrjJRyq TwMo834Fux9DmofFkjOonMmy4KtL1AoWJRJQj2HA1tJctgVynSTfL+vVcgKDsv2rrVRf MQfwlb+hVs0QGNT4ZAf9BXfJDDgO44tAH6/Pvh+Sq7Gnyu/nb5vAWGOme0kxvNNYT9EH LI7t81V2hNOuJ+gmSQ7r+xRT/64EaOKpHZzMBHHuA79L/ufc0/Ws8LljtZG7nUSqO9KK TSDdrX82t/lsHTAZcakKpQF98jiPE7/UUeEMG+X8J4eujR5f3FiqzNwxoJk++LvCJSm9 y5bQ== X-Gm-Message-State: ABuFfog99j2rcr+SiQSKbkcNVQmunZ2A1AtKTqdJC2CmxXUTNMw6JxcN Qdu4la8/QpGh7omZrlralT0= X-Google-Smtp-Source: ACcGV62Ly46SadRDxxhPIndRupQMeEw/X5KkhbZ2IatTpoB+72/5RbTG+F8nGxS9faQB6t5YrCnCUw== X-Received: by 2002:a17:902:ba8d:: with SMTP id k13-v6mr25002744pls.12.1539761907809; Wed, 17 Oct 2018 00:38:27 -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 o12-v6sm23426387pfh.20.2018.10.17.00.38.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 17 Oct 2018 00:38:27 -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 Cc: Vasily Khoruzhick Subject: [PATCH v5 4/9] ASoC: dt-binding: Add bindings for Allwinner A64 codec's analog path controls Date: Wed, 17 Oct 2018 00:38:08 -0700 Message-Id: <20181017073813.14127-5-anarsoul@gmail.com> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20181017073813.14127-1-anarsoul@gmail.com> References: <20181017073813.14127-1-anarsoul@gmail.com> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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 Acked-by: Maxime Ripard --- .../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>; + };