From patchwork Fri Jun 5 03:49:31 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tzung-Bi Shih X-Patchwork-Id: 192505 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.8 required=3.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D0398C433E0 for ; Fri, 5 Jun 2020 03:52:35 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 53EC52074B for ; Fri, 5 Jun 2020 03:52:35 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="vP436pv+"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=google.com header.i=@google.com header.b="CKsaViqh" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 53EC52074B Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=google.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id C53A91665; Fri, 5 Jun 2020 05:51:41 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz C53A91665 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1591329152; bh=uv5KE3lUub38o0RxoE+OYT6/+Q95KB8Xpvl+f3NkxUY=; h=Date:In-Reply-To:References:Subject:From:To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=vP436pv+X3+PpWJuCFQpItI/rMOsmHhaawZMC4nrB0Na/ymj/rxcaFJGAFpkipvEq xInHMFS6EJh5bWC/Ia6M/YPauepzvG7HMDlUkN2RHKVgWtvnqm1TiQ38+bQAbbz2lG teV+UL5kHetpSLKvFRBoKYAUsll2w4hAWtEA22No= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id B7CCAF8028E; Fri, 5 Jun 2020 05:50:06 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 04CF9F801F5; Fri, 5 Jun 2020 05:49:56 +0200 (CEST) Received: from mail-qv1-xf49.google.com (mail-qv1-xf49.google.com [IPv6:2607:f8b0:4864:20::f49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id DFCEBF80140 for ; Fri, 5 Jun 2020 05:49:52 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz DFCEBF80140 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="CKsaViqh" Received: by mail-qv1-xf49.google.com with SMTP id o1so6292111qvq.14 for ; Thu, 04 Jun 2020 20:49:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:in-reply-to:message-id:mime-version:references:subject:from:to :cc; bh=jCKvwkQZSa1fCIJgRci4SNm+ecTY7BLQ/n3YL8J5gJ8=; b=CKsaViqhw2d9KHrAB8tPbJOWXOsP2J7LAiZdqefwat20nJjXJoMsZsder6wp3aDa7t zipnI1U/z3PwikCcVYDXrkwZqGHkYxSOsHFMO1nRrBRRaw5rxn6J9oxryTzII7AzMNT1 7zvAAHsXxMv7ahYncyzE4YxuEEJel3Y+40dKdR61r39jOPGwNprCjj9MfchBK4RiIF1s 1ifH9c+Dri38GJhhDX9/PltRk5pmLXAbGqf3EDF8EyCEqC/JZAU9zU6R3ZVcdF3bdDv8 XTFJbTE5/STektjUEJXGSMpVgQxWFziqhFOa+kGcGOqT3Dl+22HtSOnC8xxWEVji/XN3 TG8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=jCKvwkQZSa1fCIJgRci4SNm+ecTY7BLQ/n3YL8J5gJ8=; b=eddQ30//irWAqTzRttgHhIZiyo9Ecf5ZoQql4LBNkhoGTgxI80YrrEPCRscK7Evl/9 YbDlj85nQwTEf/FNbfQOhdebCgwzncTte0X+U0XYLu7k/d1TJZy+gWDmr+0EBeH56Hkh kmRRPc+zjJM0ZUuwmajNXgkpz0U3za81yfMx3BWFxVSENETIm6dEaEtgwZ9zeyU92Lb9 TaMc0K/zYViQ9fF8eg+wnt9p2fA64c5Dyrh9gMPehtz/E/mc3AxN+ueb2OY5sIkfpfFg TveD3KkvjNBk0+6p3oI5eTSCh8DixJdYBedHlg4Gngn1n5pM9gyzGrae6+7ih0Vv40VX ZPvA== X-Gm-Message-State: AOAM530B1Bum4bBAz/0aGix12Fa8q73WFBurYAXonMsBnR0T5cTxKwyj PMGKKNeM8nfIr4g7er/n7yA5eWtQOcel X-Google-Smtp-Source: ABdhPJz95KhsyQun9QYEz+apHIZfhyAEfeiqcXg7IbVhQZOOg3TMrjIsXxA+nrLSiH5jnauwUMWJQhC4EBjy X-Received: by 2002:a0c:f6c3:: with SMTP id d3mr8089108qvo.138.1591328991352; Thu, 04 Jun 2020 20:49:51 -0700 (PDT) Date: Fri, 5 Jun 2020 11:49:31 +0800 In-Reply-To: <20200605034931.107713-1-tzungbi@google.com> Message-Id: <20200605034931.107713-3-tzungbi@google.com> Mime-Version: 1.0 References: <20200605034931.107713-1-tzungbi@google.com> X-Mailer: git-send-email 2.27.0.278.ge193c7cf3a9-goog Subject: [PATCH 2/2] ASoC: dt-bindings: add compatible string for MAX98360A From: Tzung-Bi Shih To: broonie@kernel.org, robh+dt@kernel.org Cc: devicetree@vger.kernel.org, alsa-devel@alsa-project.org, tzungbi@google.com X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 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" Maxim MAX98360A audio amplifier is functionally identical to MAX98357A. Adds compatible string "maxim,max98360a" for driver reuse. Signed-off-by: Tzung-Bi Shih --- .../devicetree/bindings/sound/max98357a.txt | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/sound/max98357a.txt b/Documentation/devicetree/bindings/sound/max98357a.txt index 4bce14ce806f..75db84d06240 100644 --- a/Documentation/devicetree/bindings/sound/max98357a.txt +++ b/Documentation/devicetree/bindings/sound/max98357a.txt @@ -1,9 +1,10 @@ -Maxim MAX98357A audio DAC +Maxim MAX98357A/MAX98360A audio DAC -This node models the Maxim MAX98357A DAC. +This node models the Maxim MAX98357A/MAX98360A DAC. Required properties: -- compatible : "maxim,max98357a" +- compatible : "maxim,max98357a" for MAX98357A. + "maxim,max98360a" for MAX98360A. Optional properties: - sdmode-gpios : GPIO specifier for the chip's SD_MODE pin. @@ -20,3 +21,8 @@ max98357a { compatible = "maxim,max98357a"; sdmode-gpios = <&qcom_pinmux 25 0>; }; + +max98360a { + compatible = "maxim,max98360a"; + sdmode-gpios = <&qcom_pinmux 25 0>; +};