Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp5283650imu; Tue, 25 Dec 2018 23:16:41 -0800 (PST) X-Google-Smtp-Source: ALg8bN4IzAhw6/DKWrCoOOCi0Uf94pfRF6t4ciGt6pjt15p94HhILIlpM2Lz0oKAVIAvPYVZ6mQJ X-Received: by 2002:a17:902:b20e:: with SMTP id t14mr18897437plr.128.1545808601435; Tue, 25 Dec 2018 23:16:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545808601; cv=none; d=google.com; s=arc-20160816; b=JXJv0R7mHOPGuVtFsjjXNXEFZgVpzvFb3cY9YEtTx1SGGW+FPTmmPERvRJhPVT10JY lKYXOoTPVMSMfpJyoRzCKLVwbeIbKEw0XwaG2ldKBomLVW4xtRPbwrdLANlwBRCSmt+9 J58U09f7emrWB5qZYXF/zNXGzj6cS7M7SW87UmdlBKpwcZ4qDMsBV2cUCkvYDoUfM5Va pgZuo/3y8LREULQW6q1kZ552SxGhBAPOOhGzLGs3su+XUVi8Mdy3nAl2JCPUfL3yBOUK OWPzNfpVlmUICEvDx37VQmp01ZZX2tsSBxJvawguuOkXbEAF0+VVv7ilTzqp4EoEXfKi G6+Q== 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=zcoSEGjxuSEIrQl28ukO3J49sznU0Pd5P50+ubK9Lzg=; b=B3IiJgONtSWko5kL6QesoYSzPWOy6W22g4uBESu9zEfCJnaKKR06Eq7yPiChZ1rxA0 inYidc2K4NnbBHqZ62ApkPq6AeyxsleHuy5Ho95j1xn+oGKsDJpqBSrJmNgnUZlnLLyo UaiCMSJnkyXMn3IBqmQHB3xjunjhGFX1IiGrqkiBnEqjXX23+2l7kYYkMRs+hLrZmX+S bL8SfAwNvD+GzMghAZf9LwH7jGJsZLDoC+WgR8yAMMzqKtEE3yAC7nQBOCeOnHBVAT+U tmmSRXs6jowmEfn/Tv100zgnTnu/8TaI+hjtRxKZxHr7km8EVCxOsDqgpYKdNUPxlt/4 QdOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=ZyBcGx2k; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 97si31961562ple.389.2018.12.25.23.16.25; Tue, 25 Dec 2018 23:16:41 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=ZyBcGx2k; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726165AbeLZHID (ORCPT + 99 others); Wed, 26 Dec 2018 02:08:03 -0500 Received: from mail-pf1-f193.google.com ([209.85.210.193]:39974 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725932AbeLZHIC (ORCPT ); Wed, 26 Dec 2018 02:08:02 -0500 Received: by mail-pf1-f193.google.com with SMTP id i12so7530399pfo.7 for ; Tue, 25 Dec 2018 23:08:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=zcoSEGjxuSEIrQl28ukO3J49sznU0Pd5P50+ubK9Lzg=; b=ZyBcGx2kmDyK/0rg9iq+w+JRwojWCpeKv8hvtUW0JDNJoKbD8j4Ag3DdPm9CdA/KRF zpHQo3b13c/pPR5gcYg5K/1RnsTIy5Vin11XXAr4F0VOEuLP8KoASpfJlIuiclEGqLwC tsDk/6kS8Vxqldo6KBlOm8F8crYdvnPlsrJMs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=zcoSEGjxuSEIrQl28ukO3J49sznU0Pd5P50+ubK9Lzg=; b=QJ+KBsr80+BADuAW3//N49vKpYyvkdlXGQc1sdQc2wDcKTucVyQ166rC/Q6oIe4BiF ZSzhD3+WCTyKN7AagxbRpldbUeIMvW5wHL5KhGJzHFCU1vTchfLJ6NviYYImlpOVh4Yx ZJ1sBhnprDysurkSBtyk83vS/zSlqPP9r/o6tPPVGeU0SuIDrK77erf1zmXR2HA1vkMB yDuMJR4pMWS5AcLwjks0vhhO9bVOEVmuZv+Kcb8EWRFXvlN98AayO9s/KIdjH/5l/L8n YkzntK1mSlGu/yXClim5CbDgxZ+5S0TXpehnTHpF8lukyLP/6gTiCv4un5Pp9tiC93IU 4t4A== X-Gm-Message-State: AJcUukdbbPidev6+zl9BooU6kdwKCF1fi4+H0MOA9oGK4XeEbsz47yxq u1+XFuv06SK4KcqQBSL0yUoY7gP+qEY= X-Received: by 2002:a63:8b41:: with SMTP id j62mr18191130pge.182.1545808081564; Tue, 25 Dec 2018 23:08:01 -0800 (PST) Received: from cychiang-z840.tpe.corp.google.com ([2401:fa00:1:b:e688:dfd2:a1a7:2956]) by smtp.gmail.com with ESMTPSA id n68sm52966030pfb.62.2018.12.25.23.07.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 25 Dec 2018 23:08:00 -0800 (PST) From: Cheng-Yi Chiang To: linux-kernel@vger.kernel.org Cc: Rob Herring , Benson Leung , Guenter Roeck , Lee Jones , Mark Brown , alsa-devel@alsa-project.org, dgreid@chromium.org, tzungbi@chromium.org, Rohit kumar , Cheng-Yi Chiang Subject: [PATCH v3 2/3] ASoC: Documentation: Add google,cros-ec-codec Date: Wed, 26 Dec 2018 15:03:17 +0800 Message-Id: <20181226070317.72022-2-cychiang@chromium.org> X-Mailer: git-send-email 2.20.1.415.g653613c723-goog In-Reply-To: <20181226070317.72022-1-cychiang@chromium.org> References: <20181226070317.72022-1-cychiang@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add documentation for Chrome EC codec driver. Signed-off-by: Cheng-Yi Chiang --- +Rob Herring for reviewing this patch. Hi Rob, Could you please take a look ? Thanks! .../bindings/sound/google,cros-ec-codec.txt | 24 +++++++++++++++++++ MAINTAINERS | 5 ++++ 2 files changed, 29 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/google,cros-ec-codec.txt diff --git a/Documentation/devicetree/bindings/sound/google,cros-ec-codec.txt b/Documentation/devicetree/bindings/sound/google,cros-ec-codec.txt new file mode 100644 index 0000000000000..57718382b3a36 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/google,cros-ec-codec.txt @@ -0,0 +1,24 @@ +* Audio codec controlled by ChromeOS EC + +Google's ChromeOS EC codec is a digital mic codec provided by the +Embedded Controller (EC) and is controlled via a host-command interface. + +An EC codec node should only be found as a sub-node of the EC node (see +Documentation/devicetree/bindings/mfd/cros-ec.txt). + +Required properties: +- compatible: Must contain "google,cros-ec-codec" +- #sound-dai-cells: Should be 1. The cell specifies number of DAIs. + +Example: + +cros-ec@0 { + compatible = "google,cros-ec-spi"; + + ... + + cros_ec_codec: ec-codec { + compatible = "google,cros-ec-codec"; + #sound-dai-cells = <1>; + }; +}; diff --git a/MAINTAINERS b/MAINTAINERS index 5b9c6af98283b..05e1922624e58 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3636,6 +3636,11 @@ S: Maintained T: git git://git.kernel.org/pub/scm/linux/kernel/git/bleung/chrome-platform.git F: drivers/platform/chrome/ +CHROMEOS EC CODEC DRIVER +M: Cheng-Yi Chiang +S: Maintained +F: Documentation/devicetree/bindings/sound/google,cros-ec-codec.txt + CIRRUS LOGIC AUDIO CODEC DRIVERS M: Brian Austin M: Paul Handrigan -- 2.20.1.415.g653613c723-goog