Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp408684rbb; Sat, 24 Feb 2024 05:57:08 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWyIeos8fnWgNAB/h5yFow5xMJLnBG4jbAtlX5EokRk69Bi6iAJByRT5p7plreZTWXaC3ViIlyTkyh8kfLV304oOZ8hu9y3Wfj8+Cbjqw== X-Google-Smtp-Source: AGHT+IHvKjlYhp5SUQ76waEDntWvF6NHNmRcrckVJIyztz3CnYnD7tCHQEjhyycawU+w/GHFg+tg X-Received: by 2002:a17:903:234b:b0:1dc:8db3:16e9 with SMTP id c11-20020a170903234b00b001dc8db316e9mr398087plh.45.1708783028170; Sat, 24 Feb 2024 05:57:08 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708783028; cv=pass; d=google.com; s=arc-20160816; b=BguIx2/MkCLjR7tTkdOLtSv4ii5EaxRLf7Si2PYr1AWP6wntNzQ8GCyF2NjeZ3hHun 84F4XUgVb/h/PEEhx5O2vl86DDoTPad1/k5ZVTy9dknRURrFkAZoRZX6KZvR4nACy2q8 0hN90/gc7YPnlcWV5QwnxIrIBXE0oFovGlvVwf1ev6DBbZXEBY5UXU1BRikhtAoTcvZo opb+WwYYbQ1SDLNriF8ueW1OsPB+xB5wP1J+gmFpXKGeygVZ0C7LHv12NuLzAE5vffCo iLfBELJyEvEKaKXdqpD0DuGzYjGi1KZII1C7xaD6t4HDqdHWFYbU6DYr9eXoC8zwouKa UKWg== 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=VMM3kr0XFuu4JkBUoBGLzM8sz7y9oqJcf7OMoDjJSlc=; fh=BtptTc38Fo4YUTAEjUDBJT4+tGt26BbgQPuKT5WgtPM=; b=O6IAYr/AepHcEkaXrh9kp9uTy692GTseSVPfGvjK5l7aEnuChHx+fm3vgiPBerr9j6 NGrEuuuDNfmC2lO+3lXSKZWezgDzuiwPwP8LmCzhLRTElEYTQ2cAaPVnaxQikFEcGHoi 7rXVVUn4dG+TPpLoYSPZ/mi1rHt0LMPkpsTOdD2ErDGEJkrPwzxD9gYnZPUIPMOHOC8C w6evYRkSni8rEoR71A1Kb8mDnCS/Fu38B1H2Og4O5iRRwUFLfkSuCxYV40S9Xiwi4ZPy c55DvtPzfqo+v0hpi+1T5gp/jyTlptdRRfwgD4G2PqWU05sUja0ZpVv7LJExnUkBeQiY 5N3A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@xff.cz header.s=mail header.b="tn8/8t7m"; arc=pass (i=1 spf=pass spfdomain=xff.cz dkim=pass dkdomain=xff.cz dmarc=pass fromdomain=xff.cz); spf=pass (google.com: domain of linux-kernel+bounces-79693-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79693-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=xff.cz Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id je19-20020a170903265300b001dc7ab9d21csi856150plb.83.2024.02.24.05.57.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Feb 2024 05:57:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-79693-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@xff.cz header.s=mail header.b="tn8/8t7m"; arc=pass (i=1 spf=pass spfdomain=xff.cz dkim=pass dkdomain=xff.cz dmarc=pass fromdomain=xff.cz); spf=pass (google.com: domain of linux-kernel+bounces-79693-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79693-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=xff.cz 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 D49AC283217 for ; Sat, 24 Feb 2024 13:57:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 264E545976; Sat, 24 Feb 2024 13:55:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=xff.cz header.i=@xff.cz header.b="tn8/8t7m" Received: from vps.xff.cz (vps.xff.cz [195.181.215.36]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9C26B29438; Sat, 24 Feb 2024 13:55:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.181.215.36 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708782912; cv=none; b=NpsWXJcTXdq0fBERvwgcoxUoYCNqmf5RfAt9dktHYoMUpuiWPqZ8SAP0BssqhclVPRmiwUVmL/4R20I/XhyAKkt37QwLuJ98uvP6fSEoQynBuZ/PxQTPEyvQmsCsPyglzm9JmGa6VHPibvX4DrDuY0EQGewouaGk1Ae3Xlpdpjk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708782912; c=relaxed/simple; bh=worLZTo9a3xOqnG2MGSIZHpGnCKBAdHSzTO+24Aiyj8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=VH4OMuQ6WNQq2Zv0OuTQ+U0iZ3UsPSdLden5+BAOH6CaFTMHSfxSjo5JP2S7MPP9oTrpgaptlZVh62ZxqkYlH3Igy769FhxPG5ZdbcJ+7i4xx1pGW8TKgKX53KclO4iJD1V6FXxSuEaene13FLstNfnEUK7ewqsvnPC27tjIJEk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=xff.cz; spf=pass smtp.mailfrom=xff.cz; dkim=pass (1024-bit key) header.d=xff.cz header.i=@xff.cz header.b=tn8/8t7m; arc=none smtp.client-ip=195.181.215.36 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=xff.cz Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=xff.cz DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=xff.cz; s=mail; t=1708782908; bh=worLZTo9a3xOqnG2MGSIZHpGnCKBAdHSzTO+24Aiyj8=; h=From:To:Cc:Subject:Date:References:From; b=tn8/8t7mgo1t0W+dgEr3h18KJxNXgTwIDGoRwGL0K1ToGMr+JXPkjDgWyZH3WlDaQ ++ktmgqP+wztmcEKw37RGrWx2mGWU7p/XBN+Mxm9xwgW40Rqm6pGiFojY+B0rFK4gF nuR/lqe88VaCCdfVDJ87ucvKDna7KxuCUsKoaukg= From: =?UTF-8?q?Ond=C5=99ej=20Jirman?= To: linux-kernel@vger.kernel.org, Liam Girdwood , Rob Herring , Conor Dooley , Mark Brown , Jaroslav Kysela , Takashi Iwai Cc: Ondrej Jirman , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Arnaud Ferraris , linux-sound@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-sunxi@lists.linux.dev Subject: [RESEND PATCH v2 1/5] dt-bindings: sound: Add jack-type property to sun8i-a33-codec Date: Sat, 24 Feb 2024 14:54:54 +0100 Message-ID: <20240224135501.3822390-2-megi@xff.cz> In-Reply-To: <20240224135501.3822390-1-megi@xff.cz> References: <20240224135501.3822390-1-megi@xff.cz> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Ondrej Jirman The codec driver needs to know what jack connector it is connected to on the board. Add proprty to describe the type of connector. Signed-off-by: Ondrej Jirman --- .../bindings/sound/allwinner,sun8i-a33-codec.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/allwinner,sun8i-a33-codec.yaml b/Documentation/devicetree/bindings/sound/allwinner,sun8i-a33-codec.yaml index 63eadc4200ac..399fc00ad3f4 100644 --- a/Documentation/devicetree/bindings/sound/allwinner,sun8i-a33-codec.yaml +++ b/Documentation/devicetree/bindings/sound/allwinner,sun8i-a33-codec.yaml @@ -44,6 +44,15 @@ properties: - const: bus - const: mod + jack-type: + enum: + - headset + - headphone + description: + Type of jack connector connected to the codec. This can be either + a 3-pin headphone connector or 4-pin headset connector. If not + specified, jack detection is disabled. + required: - "#sound-dai-cells" - compatible -- 2.43.0