From patchwork Mon Dec 24 08:37:24 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cheng-yi Chiang X-Patchwork-Id: 10742071 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 48E5813A4 for ; Mon, 24 Dec 2018 08:39:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 36D90289CB for ; Mon, 24 Dec 2018 08:39:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 26DDE289CF; Mon, 24 Dec 2018 08:39:52 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6A041289CB for ; Mon, 24 Dec 2018 08:39:51 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 35326267A6C; Mon, 24 Dec 2018 09:39:50 +0100 (CET) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 8493C267A6E; Mon, 24 Dec 2018 09:39:48 +0100 (CET) Received: from mail-pg1-f193.google.com (mail-pg1-f193.google.com [209.85.215.193]) by alsa0.perex.cz (Postfix) with ESMTP id 16FFC2679F3 for ; Mon, 24 Dec 2018 09:39:45 +0100 (CET) Received: by mail-pg1-f193.google.com with SMTP id y4so5352109pgc.12 for ; Mon, 24 Dec 2018 00:39:45 -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=ilSlR+CLtzMBfDdXJ3oXdMqstsLzRCty6BU1tKZ3IUs=; b=KLFweUxZqt1MAELm2KAl41xoiN166xLO8cYNoZMYTA4/Sakz/QO3KJRcpbIwAmIZQA QJfBmOXEuQKgvqR7qONOyaBzHU4Vb8UeT6xTqLDs4oInIXS14he6pGy4G0cS0P+tjhAg S7/KUYmQ0KOzkjXbTOfh3OyFq82kWmOBardF0= 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=ilSlR+CLtzMBfDdXJ3oXdMqstsLzRCty6BU1tKZ3IUs=; b=QdrH/9Ypt8k7g+siFzuKQTRT7e7V/7D0OJcNTAxnWtFeNrgSf7dKUy1nJIAuZk4SFo QcsveisVmV4/q3lBiwgRsD0Kj6ITqi4hAicK9E2AC1tWAuJXKweeZs7fpk4uJdy6kKK/ xbtT+cXw2814K/oSqO6tAddF2a8AbH+PIRF3vYS0QBKP9Cq4yc7RpzftcDSwKdhvqyDm BQlEQl92pgQdDNdv2nFdTFOjLP3v40g0HCVSStUQXpbNf6bxMfyvx15HgaGY8kdJ/2Vw fGoRl2sg2/dQjCS5sAeRH1ljH+rtR+4AK9nT0zjEeFYSCGM5FS8b3RVM+e22Erja5ojM 62dQ== X-Gm-Message-State: AA+aEWZIMURzMBt5WT/sNyWGhQ2xVSrhlg97DXGvVTPW9CmT2+70G7ny RRFfjyeNhzdz3E4UaYeiNB1wKg== X-Google-Smtp-Source: AFSGD/VMgXLenR9XsVHoEFKNu/dbWlWMEnWnB7SiXuc4T15BvDP2GVXtsw3zAibKjfFdhyG3LDKGfg== X-Received: by 2002:a62:1043:: with SMTP id y64mr12552993pfi.78.1545640784859; Mon, 24 Dec 2018 00:39:44 -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 r130sm59078720pfr.48.2018.12.24.00.39.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 24 Dec 2018 00:39:44 -0800 (PST) From: Cheng-Yi Chiang To: linux-kernel@vger.kernel.org Date: Mon, 24 Dec 2018 16:37:24 +0800 Message-Id: <20181224083724.75618-2-cychiang@chromium.org> X-Mailer: git-send-email 2.20.1.415.g653613c723-goog In-Reply-To: <20181224083724.75618-1-cychiang@chromium.org> References: <20181224083724.75618-1-cychiang@chromium.org> MIME-Version: 1.0 Cc: alsa-devel@alsa-project.org, tzungbi@chromium.org, Benson Leung , Mark Brown , Rohit kumar , Guenter Roeck , dgreid@chromium.org, Lee Jones , Cheng-Yi Chiang Subject: [alsa-devel] [PATCH v2 2/3] ASoC: Documentation: Add google, cros-ec-codec X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP Add documentation for Chrome EC codec driver. Signed-off-by: Cheng-Yi Chiang --- Change in v2: Fixed name of driver in MAINTAINERS. .../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