Received: by 2002:a05:7412:798b:b0:fc:a2b0:25d7 with SMTP id fb11csp702286rdb; Thu, 22 Feb 2024 17:52:47 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVbgd1ZiCGDOsCy+ORNWz2K0vPbM/97u3sxpK5h/hkYnlEP+EwAZ4TF+ZywvwxsvmMoWnL2JAf5h79EIOfmibaMmMy7S6JESQP1RQoMTg== X-Google-Smtp-Source: AGHT+IE5r3+VnVvgqHaCd8FWqFFWxo2nsi/pCCKYULI9MiEPj3GDQEZGBvLJeP3KnYBG4RxmpxyV X-Received: by 2002:aa7:d409:0:b0:565:4ef2:4f1f with SMTP id z9-20020aa7d409000000b005654ef24f1fmr265212edq.30.1708653167237; Thu, 22 Feb 2024 17:52:47 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708653167; cv=pass; d=google.com; s=arc-20160816; b=XqRVEj6mlL/WQjTgJcwkGBCyr4T5ltdkzxzl9/TFMMlWuvInETwssqtJ6zVlbdxiB7 aR1+chLmPkRppoiFK1nphO2h28z/Km9tlih5oz8CTHpbuzgi2ZurT4mlrzihiRxel0nk uog7juV5qI2LNG/xp3XC39TaOj3xX0FL8ozkDosXp+9rpEqpLQuLFYb+5vUZ5WsYFw// s80rqDWRu9SZV4v2xj7j6I2seMKW50XfbajWqzIwO5G4LM9ancrxkfMn33qVm/NCOQfm 9BQ5WPionXE84y18sOURh8SmO6pCfGZe8UbWmXwoeiyIH/V6i5ty1CZIpFDLRvgaIlxb tZ4A== 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=DBRqqF7A2APxIOQ3hlOaI6UC69pgVvO3cwuWdEHkmZM=; fh=LyOUUyERizBut43yg2bQgiL8MyPFN7nnSRizOKM8oK8=; b=CQSwG/HgmXXphnwMiIlQu8bP1GWGKiP1nPUll9pk1dKimPRADe6hEqvpuVceVx5JNI sSkFDOIMkuG8DHK3k6PzvY1G/p2NTAK2XUabgafyLBWkl7CYfmBHWGe7NVPH8KkXZy7r QrgzmPCns34BfHi9mB/Jqm0dQVbZ0sZMMGEkUPlFjwC1z6Ctm6yHfkD20WSEUtKYpbNT c2oBq0C57dYmVgyqLiweslTpyT2dArMe/YSR9HLdwl7Arl1hMkxCNu05SjIOgeEvwO5S sFJuNupvx6iGAgOQIWgV2pw7HyZxdhdi0bdeJvmkWolrYLwmHHE8v1glPyUK35WXPRCe qb9w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@xff.cz header.s=mail header.b=hDfWFMaD; 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-77652-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-77652-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=xff.cz Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id h22-20020a50cdd6000000b00564ac44a4a3si3275856edj.421.2024.02.22.17.52.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Feb 2024 17:52:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-77652-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@xff.cz header.s=mail header.b=hDfWFMaD; 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-77652-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-77652-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 am.mirrors.kernel.org (Postfix) with ESMTPS id D050E1F230D5 for ; Fri, 23 Feb 2024 01:52:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 64172BE6F; Fri, 23 Feb 2024 01:52:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=xff.cz header.i=@xff.cz header.b="hDfWFMaD" 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 2B2BAB64C; Fri, 23 Feb 2024 01:52:29 +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=1708653151; cv=none; b=rcMnpH1EBFkNh21SZYTJ4/VQ3CicHVNorPD1aRLA+KRTPduQOhxUvUeEEvpooCmT6ahOnYMxy7qiVpRCw1VbhYeL2G1oZx4SaHYpRoUhv293xYmQcaIWX8tmELcSa+Qd4crzpGBvLlyXGYfZmQhVHHIYXIQ0/EcOGCFWseYqQyk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708653151; c=relaxed/simple; bh=6sk56gVI0A8n0qFpYuh7aNKcgFgXVN6+8f765I+Eq54=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=n9L1K/0MqyOgndb4vlO0w3FZLpoardoZvJJowbc4bbhMtrXSpXlAlKNdhi42AQRo4Cnh5cMy8HclIHO83UMMkXLGTZOA/UoQ/ZRfBA6KlCv4j3a2+Cz544PfobrGvd7evOmQ04PeyOn9rSrgYHOb+wiiLF8V9Qb6hRBu8dvAifs= 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=hDfWFMaD; 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=1708653141; bh=6sk56gVI0A8n0qFpYuh7aNKcgFgXVN6+8f765I+Eq54=; h=From:To:Cc:Subject:Date:References:From; b=hDfWFMaDLa++M0quMYHdkRxCRJlCxKh5BaSwKUm23H97hHGG/ReKWrWqL5Hu/5pGI ACb4sJ8tnsO6c67fGmF9CmfIFWF4Xzry6EwwV49c1ZMDa4SyN+lXRBsaAwhY4/ToIi Kw8TMVIJMRibVj7kE+P6l18pRTbNfGp7BHFAVc1k= From: =?UTF-8?q?Ond=C5=99ej=20Jirman?= To: linux-kernel@vger.kernel.org, Liam Girdwood , 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, linux-sunxi@lists.linux.dev Subject: [PATCH v2 1/5] dt-bindings: sound: Add jack-type property to sun8i-a33-codec Date: Fri, 23 Feb 2024 02:52:11 +0100 Message-ID: <20240223015219.3618111-2-megi@xff.cz> In-Reply-To: <20240223015219.3618111-1-megi@xff.cz> References: <20240223015219.3618111-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 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