From patchwork Tue Jul 3 13:28:44 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 140958 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp1168958ljj; Tue, 3 Jul 2018 06:29:06 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfGlFxWgcUuisO1joPa/ZZKQ8Dep+RTtKKipBUpQaMykpSX+rPM4E9BispXtkIxb95tzwCU X-Received: by 2002:a1c:ed0d:: with SMTP id l13-v6mr11337371wmh.73.1530624545967; Tue, 03 Jul 2018 06:29:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530624545; cv=none; d=google.com; s=arc-20160816; b=t5T/K2F8BGwvL9SyAv6WS2zvarpty1Jx9DOcezt21LewrxgkpFnzVndDktMmWRuvbc sSwfMxREcps4DRpCbvgf6DpRw2FWp838XCrk7uNYUSOmODmvUlxDXTRNzJbTZ1UAxWha g+VDFkHC3rpgKAVsw6QdvCFpvCVix+bl3o2XJ1Ecvi44LEfJAXl+DtIiIcuM9a1G+Sbf LUK1kw4lG9HJbd5ElsPXZWhfirgVBTWSMj4oNFppiyW5Ct0+UtyhR+owLRaeUsdEjBvO b+9V9hylU6+fIvOaKEMhIW6Cu/ATHK0NZSNA+pgOx0nqwIT05J5657+uuIb3wdp+Nae6 AAqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:references:in-reply-to:message-id :date:to:from:dkim-signature:delivered-to:arc-authentication-results; bh=6WdZr6shbmyClIrcJJdrVCPYN3WODrXZDFwZ9avpOSI=; b=ZuuNQbhu84JwiG6axQEGU/LHMz4NULTw4Vp2Eswa1XzWfixErrTrFp2XdfwlAgki5x wmBF8WIvvNer1RjoJ6OEdoInkzsFdImcp1z9Pv7sLzDnRzcjgnr4TwToUcFCKTMfjJJe UPaWzQNUK1foPY5NwnsIgXZI5C5wj6zL+tVIEDtqg2WHzrIi50W6Vas34++lFCzK277V pY/d6E7cewPdkcaeE6cMfoD3ev2yXjif8VZzkWr5mukZRmYcBDfQeEBat77XP/Gbn/RG ffUN4aDVlmdcNCPUib/3RwGbZYhAhAZINDEwlgbO4jXVavPIsesCrfaDi4mmb3wrWbpK qdcg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=xC8jxGwP; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org Return-Path: Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTP id o16-v6si942462wro.383.2018.07.03.06.29.05; Tue, 03 Jul 2018 06:29:05 -0700 (PDT) Received-SPF: pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) client-ip=77.48.224.243; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=xC8jxGwP; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 3426326773A; Tue, 3 Jul 2018 15:28:57 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id A336726771C; Tue, 3 Jul 2018 15:28:53 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail1.perex.cz X-Spam-Level: X-Spam-Status: No, score=1.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_SOFTFAIL,T_DKIMWL_WL_MED autolearn=disabled version=3.4.0 Received: from mail-wr0-f193.google.com (mail-wr0-f193.google.com [209.85.128.193]) by alsa0.perex.cz (Postfix) with ESMTP id AF0012673CB for ; Tue, 3 Jul 2018 15:28:51 +0200 (CEST) Received: by mail-wr0-f193.google.com with SMTP id f18-v6so1978425wre.10 for ; Tue, 03 Jul 2018 06:28:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=2a4YlPp82XXhtbstYb9AyI/InJJaeU2xFpxue7j/yCM=; b=xC8jxGwP9Dzngt/5UWhwlmgHGjIFnyMPxRV3rA/AtSGdHbjXqueQscahxekvZLL5hs CyMMlLArt6yqSzLeLBaVudMhqjHqokTpIzmYKa8JShj8NDNjxuAnQzL8CxufPsp9shYF 82xgPHGubn0GoKDp/0d2hyBOUBoKBgoNTKlklfqzhx15+k+/5K3DyBVVqJzRSJN1J9cf f28HL5V8DIDUWTGmxCN0qjGuvbOXwPCRRdDiDO9zkAegFBqz+TOv4geItJxGQpsaKqKo HuTSKbU10ekJfQFF79eVR2eIWiqe1gRbfYcm5viksoF4m3WsHwrrV5ww4vPQIA+JjhXw 9frA== 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; bh=2a4YlPp82XXhtbstYb9AyI/InJJaeU2xFpxue7j/yCM=; b=kRtQdxj2QQlmlqKm9jN///0/VGx266ECcYGWvbl3ZDYGauAQDja+xiwm4T6zy4+62W sBjkqdDea2/QYzgtXy2yOzj0iAuMCFiC5Bh0TvIlYlCrK/9X0k/2ZscamMeU+xOdHR0s 6q8U+72at9UkhrRnxzvf/h2acFoo+uWThXJ1x8VMzxs+RtsrKAIAg1cpvpYRAgaml0h6 rXROL59siFBoYV031CSMkJqy46sMZn+BLFoWuYhvcLbwUifmrKGC0r8MwXRF2pZWAsBT Kh4RUmPTLayobo5XVD0he9+dPkzGkd7d8V0FujIPvoX8ivRz21XXO5410/bAJNUEN2Ka nf/Q== X-Gm-Message-State: APt69E230EtdkBV00dIviMid9FqQUU9N9I7AlJpRUsREHltTDSECOU7v X2FwOPQj2Gq/EnJcU9W34bpIhw== X-Received: by 2002:adf:fac6:: with SMTP id a6-v6mr21860273wrs.74.1530624530994; Tue, 03 Jul 2018 06:28:50 -0700 (PDT) Received: from boomer.baylibre.local ([90.63.244.31]) by smtp.googlemail.com with ESMTPSA id q140-v6sm2247763wmb.35.2018.07.03.06.28.50 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 03 Jul 2018 06:28:50 -0700 (PDT) From: Jerome Brunet To: Liam Girdwood , Mark Brown Date: Tue, 3 Jul 2018 15:28:44 +0200 Message-Id: <20180703132845.26554-2-jbrunet@baylibre.com> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180703132845.26554-1-jbrunet@baylibre.com> References: <20180703132845.26554-1-jbrunet@baylibre.com> Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Jerome Brunet Subject: [alsa-devel] [PATCH v3 1/2] ASoC: es7241: add dt-bindings documentation for the es7241 adc X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org Signed-off-by: Jerome Brunet --- .../devicetree/bindings/sound/everest,es7241.txt | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/everest,es7241.txt -- 2.14.4 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel diff --git a/Documentation/devicetree/bindings/sound/everest,es7241.txt b/Documentation/devicetree/bindings/sound/everest,es7241.txt new file mode 100644 index 000000000000..28f82cf4959f --- /dev/null +++ b/Documentation/devicetree/bindings/sound/everest,es7241.txt @@ -0,0 +1,28 @@ +ES7241 i2s AD converter + +Required properties: +- compatible : "everest,es7241" +- VDDP-supply: regulator phandle for the VDDA supply +- VDDA-supply: regulator phandle for the VDDP supply +- VDDD-supply: regulator phandle for the VDDD supply + +Optional properties: +- reset-gpios: gpio connected to the reset pin +- m0-gpios : gpio connected to the m0 pin +- m1-gpios : gpio connected to the m1 pin +- everest,sdout-pull-down: + Format used by the serial interface is controlled by pulling + the sdout. If the sdout is pulled down, leftj format is used. + If this property is not provided, sdout is assumed to pulled + up and i2s format is used + +Example: + +linein: audio-codec@2 { + #sound-dai-cells = <0>; + compatible = "everest,es7241"; + VDDA-supply = <&vcc_3v3>; + VDDP-supply = <&vcc_3v3>; + VDDD-supply = <&vcc_3v3>; + reset-gpios = <&gpio GPIOH_42>; +};