Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp795022ybk; Wed, 13 May 2020 13:19:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz4axBXQ8bCKi8R71DAUlsg0xUaiLlHv+U+WVb9z2us5P8NbqZCTUw7OO4YTQajNJzt3O0u X-Received: by 2002:a17:906:2b4f:: with SMTP id b15mr789647ejg.64.1589401156704; Wed, 13 May 2020 13:19:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589401156; cv=none; d=google.com; s=arc-20160816; b=uOWUot69sv13A7FgHf6xFxeuM/B3plkR54ndLKRK8fvcfgKugK0YPbaFbWCtnp0zWM KdmQrQjl8J4gFO1ShQOf87fx6DmaYBYfhldmNtX4zvIuBMjaUXC8PmfjcRoo28VzLKyH 9nydKB4SuFeZTacxb3neTTIzOPFmohQAA+iNtxA+l/ELlsQOnbgDeyFQBV9+ONVQF6q8 Atsrb7RfVaSKnnbaKm/bQqSCSsjWGVvsU5HBR1yy7OKjHpC5peWJYde4mxN9TWsljRLP 5YqOTIx9nA2NGl9m2kwEs0g25tmz7KKVSp3cZl/0LXYbthkVUYQyaABH9WIMXFsrx4se PKGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=H30QMIFzoF2nkWUEQ+aNsHNe38YJ4A6p2K+vwiRIvOs=; b=eR9uktjzaEADwwazFLJTrMVNtb6pCc1RQkGL6AMXR/fTGvlVgszqKzBbI7PAraegni ge71ecsoTo900GXyyOUMuagm+EwhLLjRTrqHGGDMw/hOUMs6U8jOaSDwK9m5yCh91MxA oq13xRPm/Av4FF0hrJsNh5t58EmzmAY858yHF5x0lraa3OTgjp/zu7Irgpw1K3JK40RV dvNePBK50k7g2AXXO53BHZpFFtchBnw8vd7kx9Zg/oCNkoI9azTElBNHMzcOYc7C59jS gCAba+NbV7jaBORqoyT8NOe98G9LKRU3DObASy5pBFa7F+VnUoSgXVanNLvcErxiotV0 cpPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=h05ZFNyJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ly17si497618ejb.148.2020.05.13.13.18.53; Wed, 13 May 2020 13:19:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=h05ZFNyJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390878AbgEMUQL (ORCPT + 99 others); Wed, 13 May 2020 16:16:11 -0400 Received: from lelv0143.ext.ti.com ([198.47.23.248]:43790 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387732AbgEMUQK (ORCPT ); Wed, 13 May 2020 16:16:10 -0400 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 04DKFQht122613; Wed, 13 May 2020 15:15:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1589400926; bh=H30QMIFzoF2nkWUEQ+aNsHNe38YJ4A6p2K+vwiRIvOs=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=h05ZFNyJrByhxULBd8H1XQzC7WSLa9PNGvvJ4TBrhFwqeqsF+t2Kcu7s7KgedIh1Q eOktVWAdmBXGq7hlGyJBdzfe1KDYtEOUEibBSuyeOvmxbE8r2w/zlBr47XJFdAd72g RcYihNk/n6fRbax+mPduA2L4xurtEqlXQlu9RXBs= Received: from DFLE112.ent.ti.com (dfle112.ent.ti.com [10.64.6.33]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 04DKFQVp090834 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 13 May 2020 15:15:26 -0500 Received: from DFLE103.ent.ti.com (10.64.6.24) by DFLE112.ent.ti.com (10.64.6.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Wed, 13 May 2020 15:15:26 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DFLE103.ent.ti.com (10.64.6.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3 via Frontend Transport; Wed, 13 May 2020 15:15:26 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 04DKFQsl017974; Wed, 13 May 2020 15:15:26 -0500 From: Dan Murphy To: , , , CC: , , Dan Murphy , Rob Herring Subject: [PATCH v2 2/3] ASoC: tlv320adcx140: Add device tree property for PDM edges Date: Wed, 13 May 2020 15:05:48 -0500 Message-ID: <20200513200549.12213-2-dmurphy@ti.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200513200549.12213-1-dmurphy@ti.com> References: <20200513200549.12213-1-dmurphy@ti.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add a device tree property to configure the PDM sampling edge for each digital microphone. CC: Rob Herring Signed-off-by: Dan Murphy --- .../devicetree/bindings/sound/tlv320adcx140.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/tlv320adcx140.yaml b/Documentation/devicetree/bindings/sound/tlv320adcx140.yaml index ab2268c0ee67..55668c7d261d 100644 --- a/Documentation/devicetree/bindings/sound/tlv320adcx140.yaml +++ b/Documentation/devicetree/bindings/sound/tlv320adcx140.yaml @@ -63,6 +63,19 @@ properties: - $ref: /schemas/types.yaml#/definitions/uint32 - enum: [0, 1, 2] + ti,pdm-edge-select: + description: | + Defines the sampling edge configuration for the PDM inputs. This is an + array defined as . 0 (default) is negative + sampling edge and 1 is positive sampling edge. + allOf: + - $ref: /schemas/types.yaml#/definitions/uint32-array + - minItems: 1 + maxItems: 4 + items: + maximum: 1 + default: [0, 0, 0, 0] + required: - compatible - reg @@ -77,6 +90,7 @@ examples: compatible = "ti,tlv320adc5140"; reg = <0x4c>; ti,mic-bias-source = <6>; + ti,pdm-edge-select = < 0 1 0 1>; reset-gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>; }; }; -- 2.26.2