From patchwork Sat Oct 13 03:32:25 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vasily Khoruzhick X-Patchwork-Id: 983418 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="Xgi3OVtc"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 42X9JM66fRz9sBZ for ; Sat, 13 Oct 2018 14:32:51 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725970AbeJMLIS (ORCPT ); Sat, 13 Oct 2018 07:08:18 -0400 Received: from mail-pf1-f195.google.com ([209.85.210.195]:33636 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726131AbeJMLIR (ORCPT ); Sat, 13 Oct 2018 07:08:17 -0400 Received: by mail-pf1-f195.google.com with SMTP id 78-v6so4717953pfq.0 for ; Fri, 12 Oct 2018 20:32:49 -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=Xgi3OVtc2KZ3UMvr9JourEZUJVzOl+iYumg46dimgn1KR9l+TzgEVyJj5E0Vkx2lOV hAIVeD1DdSrTzYKBbuSEMuCE9z86iIEw+thSRA5RIuYGDtPs9gZJIE6iZ+6zJVaDlFB5 4NODB6Oju+hj4EV1Rf55P0WfOS188k1hAS+lIpeDDpvm9iFL0zYYRDkOj9qVY0fvynk8 kebxgnuJfi/rDB1ETH2X/QNBWtJUH6PNVAOXW6Ajpgaq1/o3vVR+iW07JMPrilrHDsOO B6ZqdqILY4H67nWBqDTiwVSsmbbV6DldHdbK17SsmQx1qVdmVZhnwgMYGteOyzJoCSod 69ag== 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=UJFdZoMwy563dIUi+sJdU4Z/CsG1ePdpe7yP4F5wlDzbycxu0zJVDvA5QXaV8COikG xoe+Tr4T9vCNYP4KGRNyz55H2/S8lyndiNGtIVPuvNda59msjW90q3xuYNxDOsVvV9YS nw6w0bsRd5qjgqHFFBZJnNNGY/RG/JvUXRBErQnzXEGnHVCQWnWarip5KEKjcMj2Z4/T 4X661MRXe2YGJZbz+kxgMqjeOS8lZ0vJOiPnK6qyeKx2c71hhVUQnsQMCTiy2ri16qqJ i7cnUtsI0M8G1SJA6zwHepFHWHxcE2GiQaZqjRWLwlBddhuh83zqCl2jqdtDyHODvQuZ KCsA== X-Gm-Message-State: ABuFfojERcwLPsABFgH/rjsdpPATuKqtU+4laEcEzo/rydnFvy+uKJAr cuCfQZBqX4VujvcgbJlPj5U= X-Google-Smtp-Source: ACcGV62tzPsN9/hw8gSr1dwpO/O5Vmgrxhm8RCXTwS5XHMwwOU0G2TgLqBYlzQE9LMl9rK30kOsprQ== X-Received: by 2002:a63:e347:: with SMTP id o7-v6mr8094376pgj.251.1539401569631; Fri, 12 Oct 2018 20:32:49 -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 u79-v6sm5565039pfi.104.2018.10.12.20.32.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 12 Oct 2018 20:32:48 -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 Cc: Vasily Khoruzhick Subject: [PATCH 05/10] ASoC: dt-binding: Add bindings for Allwinner A64 codec's analog path controls Date: Fri, 12 Oct 2018 20:32:25 -0700 Message-Id: <20181013033230.6506-6-anarsoul@gmail.com> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20181013033230.6506-1-anarsoul@gmail.com> References: <20181013033230.6506-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 --- .../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>; + };