Received: by 2002:ab2:2994:0:b0:1ef:ca3e:3cd5 with SMTP id n20csp708192lqb; Fri, 15 Mar 2024 04:30:44 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWCPJcP5Z/GTWVPfY5QmZS7/WKnpdjWi+wXWzZE3wAzp1CNSjS2ZzFQZwQadC4c5CEVk6ypGXQs2+j6rM27+hmqwZrd/sBkc6TylqNpWg== X-Google-Smtp-Source: AGHT+IGZA8j4akHunptaPwgtgKVgKJPFVae2ZkBtTRjTTumLT91Tv9Bpk/ffmuOyiRQhkMLdR4ZH X-Received: by 2002:a05:6a00:170b:b0:6e6:2946:2b6e with SMTP id h11-20020a056a00170b00b006e629462b6emr4883547pfc.32.1710502244019; Fri, 15 Mar 2024 04:30:44 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710502244; cv=pass; d=google.com; s=arc-20160816; b=NzL95dyKz9QdGPLfY64Q4EnyhFDbtvR/f8tQwcfX2kNGRo883rEQosy+/2OEYvURp/ uA6neyg0c16w+y8xvNFXZbWDmCM1IeGzpyKOBkwy2doUHdj6Ab23ftKZURIMCPL/VfKf PlwFZVT0SPq0YTJqjtQ2+IOE2FlYT0naOIZ+yiyO4qJ3j7TT+hMg0O74PNtEMBGW2TrH LAn+pn+ySEUXtvrYANQ5PAiCcmFm/bjmbe/GHQOuPK7/nlyLO1HO9bQ9xgT6CcCalS2R Q9AM+/IJRrVB/RdrloosZYpHWdSB8KtR31FQ5A0EvYnKBnJBJITNPf+uv3njrTwTuGmx YbKg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=DhTP6U7YQJjOZYBiRpOBKkfxCerw/wQuu637FFjp5+0=; fh=n4SwjJiNP2/Niz3kNAE60jWVwmW8nZqV++r9tHasXi4=; b=xEXzaw+LkyWzgxPXDOFyQh5QIXidM4V0QU2pZGw3+YhiV2S9KXvi8JDZQ/Gb4l2o91 OtTVVVJ3+9anlCJ5R1oFbG6+YmjCKL60x/MeMUvxkr7tE296o4svJGg2RmwD0KfQuD6E PwxGf+F7pfEk8XLg37xPqpSJzPrQWacXqY6JA1WEXMpCER+/+V6W2WUJKJEGHda0qhsS KvhLWFmwTr+7LlRL0b3wIouicJkJ3XloguLDcxPqAygvAD0h8gSZ9bVtPaal9d9DMXXi WgaD1GbHYgeHL8mZlOLorL/yfaJIKap1+sm1vK+IOtdCInQS0H2ISdyqlMY+5RDIyswz mctw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=Zqxffvng; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-104344-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-104344-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id j1-20020a056a00234100b006e69904aa49si3395081pfj.230.2024.03.15.04.30.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Mar 2024 04:30:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-104344-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=Zqxffvng; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-104344-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-104344-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 9799A282C76 for ; Fri, 15 Mar 2024 11:30:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 72A1C3A1A6; Fri, 15 Mar 2024 11:28:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="Zqxffvng" Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [217.70.183.196]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 87F173717C; Fri, 15 Mar 2024 11:28:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.196 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710502094; cv=none; b=RtNdWpoD78yoPrslbH0Buj5tnTAQgae/iUfFVFWngv+xkP+W6FauulncOUYxHURT/+xntBfn2nksfprTuCy2rB7nbHQ0GMKIQbYtMGT9MByrbSvA549TIB1J9yrea+VUvB0sSTwrzqOwMaKVdS6q0TKcncuuMrW1gSFBWP/BC6g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710502094; c=relaxed/simple; bh=GJ6RQynym7IzkN8dzvjBnAbZl2m4Fk+buwOjBvEbpkg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=PZ6vHBV1UXc+j0FoD04Nn0Ema92X+oCcCeEHmqQs6/IAZpibObBYL3E9QQ/HjXtfu/Tv1gZsNi6jfnfoHOibZUxcXKsHfknFZU8RnVtVAkzcVyEvhZQk0ZWXytUfJU8vKxYiqmEEszCvx44bV0DEZqzk/dMsX+Q4ESJ8urOuGZA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=Zqxffvng; arc=none smtp.client-ip=217.70.183.196 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPA id 33F01E0004; Fri, 15 Mar 2024 11:28:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1710502090; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=DhTP6U7YQJjOZYBiRpOBKkfxCerw/wQuu637FFjp5+0=; b=ZqxffvngtPIBKD+Q365GPXDXcCEySntYVgEaGJfhHtFvP/SdOYvT1OBsnbdFulFs0LIlmM ZaSjafSuv2ZYiSsK+uGZU7yzeKef6E+XLkywp5FfEKjKm2LAA3qz/Q8tlzhCWKXeGJarOu V8VjZBEP0ELy8lGq/xq4rwpvfoXYeqvrq4HNTFahENT0S8B2HReBiu3AXl5/dbZdsyaRSL ylXW0eFB5VCaqAFREh/iCYyfrl2V+SNAH3mZH+QqAmiBPYBAU0NZJ6vuj3XA/GCNhn1n6A hUEdaqstr3TuIu1ayKQRJb/KrImGpzxZs1QDtoXJ4Xx+MAyt5j2bnwq1uSlmTw== From: Bastien Curutchet To: Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Peter Ujfalusi , Jaroslav Kysela , Takashi Iwai , Bastien Curutchet Cc: linux-sound@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org, Thomas Petazzoni , herve.codina@bootlin.com, christophercordahi@nanometrics.ca Subject: [PATCH 12/13] ASoC: dt-bindings: davinic-mcbsp: Add the 'ti,drive-dx' property Date: Fri, 15 Mar 2024 12:27:44 +0100 Message-ID: <20240315112745.63230-13-bastien.curutchet@bootlin.com> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240315112745.63230-1-bastien.curutchet@bootlin.com> References: <20240315112745.63230-1-bastien.curutchet@bootlin.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-GND-Sasl: bastien.curutchet@bootlin.com McBSP is able to handle capture and playback stream. The McBSP's DX pins that outputs serial data during playback streams can be used to output a chosen pattern during capture streams. For instance, this can be useful to drive an active-low signal during capture streams (by choosing <0> as pattern) Add a 'ti,drive-dx' property that can be used to repeatedly output a chosen pattern on DX pin while capture stream is ON. Signed-off-by: Bastien Curutchet --- Documentation/devicetree/bindings/sound/davinci-mcbsp.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/davinci-mcbsp.yaml b/Documentation/devicetree/bindings/sound/davinci-mcbsp.yaml index d8d4e7ea6e02..f4d1fc6bcd61 100644 --- a/Documentation/devicetree/bindings/sound/davinci-mcbsp.yaml +++ b/Documentation/devicetree/bindings/sound/davinci-mcbsp.yaml @@ -80,6 +80,13 @@ properties: Enable synchronisation error detections when an unexpected frame pulse is received. If not present, unexpected frame pulses are ignored. + ti,drive-dx: + $ref: /schemas/types.yaml#/definitions/uint32 + description: + If the property is present, McBSP will repeatedly output the selected + value on DX pin during capture streams. For instance, if set to 0, this + can be used to drive an active-low signal. + required: - "#sound-dai-cells" - compatible -- 2.43.2