Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp487733lqo; Fri, 10 May 2024 06:13:38 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX74KVSRX6CFI5rJd9FS72BQy2fba8duVh4UXfpZu4UiBEBV2htjrDkjgT/4GYfp5nLTAXpSFvV9385NmHOESTeza43dtpp9iQFs/PVWA== X-Google-Smtp-Source: AGHT+IEFujSFnpTD7dKKEu6WHPdTxfAz/YhKz7Ql5/iR8BSMUjRakZRPbjOYQxhecKZ5GhGVT8qh X-Received: by 2002:a17:903:245:b0:1e8:92:c5e2 with SMTP id d9443c01a7336-1ef43f4e422mr36696395ad.47.1715346818377; Fri, 10 May 2024 06:13:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715346818; cv=pass; d=google.com; s=arc-20160816; b=GTsxm77lPZUrejnslHfFZntpqWequzZMVRcXWQL84tHADbExP6AT9yJidTArNgw3Rf ZusnGdBYtWVRAFRKcInat+8KNQ8croZvRQsYYYlAPrNQ+FTj/BhKSJU85PBAGKLV7J6v 4Q7tNcsEKX2lGahM4QX0RS5hIgLQGCsrbN2VNjHJVXQwECqDEPZ4cAhfrr+iU8y31Gsu /MXV3jA/r1l1hsOmIbTQeTzG+nuKv5q8ZqfbaAUJ6B6eQ6YOyof6Y958O3oqtFuUzn4G 5Gf97gjNMKW/2Twg0SZp+FRlOMDS4KFHxi7m5VR5VRWe6GZSA9FvZ/kDWQC5wdzQEA0K cXSQ== 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=C//oVJ20yh+kou4nsdrVNMWq5Hv1zFS3WhKqZWl/XAY=; fh=9HKGVo8AXD2fT7t/vaNsNJPSNb/rjJPAxG0k14uogms=; b=zTCk/tb+LlJ4hqJd6PjLnoIFXdiE1qP8Ox+VSa5EoV0T5hM38OpGP/HzoPc9IBDlml j2gyGecQ+zcnbjt6RoYlpEBdRwhbyEMShrlIoRQzdJDsFdO6FE08XBkFrtTbQ7PasYB0 +MB1TJk78YesjvBdIBFjJc8c9yOebj2eDcpP8cQk/czfWmUaJ+Ucn57mcvGv6ZgrwfcV 1uwMQRmqdbPv3u3B0CMG3LCCXv0yvImY3bSeVpwHWY6kFYMB/e+PNSiEBCDNuMQuvqIe +zb2VpDvF92QYXjCYQAePJ9xlDyBs4VUDkrXoyfaTRW1ZHxBU503w+c7FhrzbH7uVkt5 dQ9w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=aFK3i6n8; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-175814-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175814-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d9443c01a7336-1ef0c15ede8si36981595ad.502.2024.05.10.06.13.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 May 2024 06:13:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-175814-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=@gmail.com header.s=20230601 header.b=aFK3i6n8; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-175814-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175814-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.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 BC786283C84 for ; Fri, 10 May 2024 13:13:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B388D12C46E; Fri, 10 May 2024 13:13:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="aFK3i6n8" Received: from mail-lf1-f44.google.com (mail-lf1-f44.google.com [209.85.167.44]) (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 687E712A171; Fri, 10 May 2024 13:13:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715346798; cv=none; b=jyTK0HCURggKZc4VP5cmu9S9pTzjqA4ya+ZOceB9D49WjXq5sNuzTTAXqexDnBMRUM7hflVlaM7jfAwofyEcVy47RSQet9WbJ8V1bUNIMzcxt8oI+PZfd0vdLLMoAWQuiP9cTDrg9v9hBTPvOcCpVTSboIjTT2/K//jTzKg7TMA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715346798; c=relaxed/simple; bh=8JrqbqQ2BG8wvX50IgeVr/P/vz0sXlkUdxE27nnRu1E=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=S2nBDoeEtB9TxZBuubTf9Own3XERa1YQSz3fasilgo0NSnyvZXS6vBAssXKRCBZbo5oAeyShNZWgwrk3pQaEClPFO5LCBUX132fQ1phR1AW9sShFSXE7YGGsLR0IRpcS9TqxSNmko9QUUZ+Q97xbNdXV1mnx7LxGDyYwMrjEpxM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=aFK3i6n8; arc=none smtp.client-ip=209.85.167.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-lf1-f44.google.com with SMTP id 2adb3069b0e04-51fea3031c3so2776024e87.0; Fri, 10 May 2024 06:13:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715346796; x=1715951596; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=C//oVJ20yh+kou4nsdrVNMWq5Hv1zFS3WhKqZWl/XAY=; b=aFK3i6n8qMCZ0qB7LP7txUx6lROjFLhrI/WwWIyMx0iK04r5C1A7fowX4R/Uof4CcX K5jXWQ7gqDiyzxg/0R0spK4awXvXMIHMyasLudwVqHSmxlwxGsOmdqWmmKvqX6l70xXM R5llX8BQZxfI37dUVlDi56smVQMLsnFN0DNd/jqQDDsl72dLdOj9lBQvr3pvnYn2mJUP iIXxAkVm+3lxX3VbiAROWbtxo3l0aBkYZkJcpNh1zGkydj8GXgMMZnefsatzHqNqX5qI W61ahajoflK4rf2copfZt+Vkrjtij3oiJxUuPWGHLdq2NkoCjsFXDR1oiPcktRqvw1IH 6p0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715346796; x=1715951596; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=C//oVJ20yh+kou4nsdrVNMWq5Hv1zFS3WhKqZWl/XAY=; b=QkhcAlxOiN5dnX4T3h1wId2+p2REfV2x46iqil3OJ0CmFbqDhAa0BSbnqcmDAZrESQ XsUhmOmfACc2pqDLR76NewQ3+8DfgIxu+gffxGp9n7MiCd0vT9sQggPVPOiztpHyLvx0 2mkdPNXIv3/Zh7yyazY3TU4uXpm+VZHwO2msFKhaKfgQ9bMBKGWgVx+tGWvSnM1RjAAC sBDqdGdzIXrhUJxv9GeIzE0Yl4SKpKMwv8h2WpSH7Jb+crlIYm0ToWwnT0JNbxj/5qnI b1WQuIiud0bt2QOQ/LAKiNEDS27aXFedonqRlhEwCo+MFiJDa0xs6hhAitL55vOKOwwR HLQg== X-Forwarded-Encrypted: i=1; AJvYcCWHEFXTPKoNMqoYMrAX3V1iF7s0x9uHZn79589IkCD1wBH4KCk08xYXqzMYw+ngJcHmQ7PISpWKBeDtxBswT2Aj1c8wh2mZ2XKxT+71cIg2CNuTLTtXCJL+7wGYohwjuClN26FYoSxDqQ== X-Gm-Message-State: AOJu0YyzcuoK9xR3WEUSt8OM3crnB6nv072jmViBAqB8JTlFZ8pxZPBn y0JM8sF1ZWScKKTS6401VlaDeeE40hu155css90TtuyEQVZ/KzNm X-Received: by 2002:a05:6512:33cf:b0:51d:9291:6945 with SMTP id 2adb3069b0e04-522102785abmr2647690e87.44.1715346795531; Fri, 10 May 2024 06:13:15 -0700 (PDT) Received: from localhost (host-79-55-54-147.retail.telecomitalia.it. [79.55.54.147]) by smtp.gmail.com with UTF8SMTPSA id a640c23a62f3a-a5a17b0173asm185050166b.179.2024.05.10.06.13.14 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 10 May 2024 06:13:15 -0700 (PDT) From: Matteo Martelli To: Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-sound@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Matteo Martelli Subject: [PATCH 1/2] ASoC: es8311: dt-bindings: add everest es8311 codec Date: Fri, 10 May 2024 15:00:13 +0200 Message-ID: <20240510131238.1319333-2-matteomartelli3@gmail.com> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240510131238.1319333-1-matteomartelli3@gmail.com> References: <20240510131238.1319333-1-matteomartelli3@gmail.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 Add DT bindings documentation for the Everest-semi ES8311 codec. Everest-semi ES8311 codec is a low-power mono audio codec with I2S audio interface and I2C control. Signed-off-by: Matteo Martelli --- .../bindings/sound/everest,es8311.yaml | 52 +++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/everest,es8311.yaml diff --git a/Documentation/devicetree/bindings/sound/everest,es8311.yaml b/Documentation/devicetree/bindings/sound/everest,es8311.yaml new file mode 100644 index 000000000000..54fb58b9ab58 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/everest,es8311.yaml @@ -0,0 +1,52 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/everest,es8311.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Everest ES8311 audio CODEC + +maintainers: + - Matteo Martelli + +allOf: + - $ref: dai-common.yaml# + +properties: + compatible: + const: everest,es8311 + + reg: + maxItems: 1 + + clocks: + items: + - description: clock for master clock (MCLK) + + clock-names: + items: + - const: mclk + + "#sound-dai-cells": + const: 0 + +required: + - compatible + - reg + - "#sound-dai-cells" + +unevaluatedProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + es8316: codec@18 { + compatible = "everest,es8311"; + reg = <0x18>; + clocks = <&clks 10>; + clock-names = "mclk"; + #sound-dai-cells = <0>; + }; + }; -- 2.44.0