From patchwork Mon Aug 30 10:44:22 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alejandro X-Patchwork-Id: 504345 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=-11.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, 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 A3143C432BE for ; Mon, 30 Aug 2021 10:49:14 +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 10DB461102 for ; Mon, 30 Aug 2021 10:49:12 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 10DB461102 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=dnyon.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=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 D01941700; Mon, 30 Aug 2021 12:48:20 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz D01941700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1630320550; bh=0csqc1ZbDXmIHRbQOhyIoXigMPaPkBz6pMKmCmRXOcA=; h=From:To:Subject:Date:Cc:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=iHgmSjSd4pIHV/+34QK+MCdLlS9wuhunMpoiQfnk6uF18dR/k4iS5KPQFh6Kqu6Xc eCC6rh0p57IpumRO8cwacjLUMYvOWl5BuhKTUSQ6LIAqV0Jqt4b8nwE0VmDc/LzIor ZQpWe9o/6Sd7yc/HZOEDUoEBQCP3cn0Zuam7jKas= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 560B0F80218; Mon, 30 Aug 2021 12:48:20 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 8E3D5F80218; Mon, 30 Aug 2021 12:48:18 +0200 (CEST) Received: from dnyon.com (dnyon.com [82.223.165.189]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 4E235F80169 for ; Mon, 30 Aug 2021 12:48:13 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 4E235F80169 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=dnyon.com header.i=@dnyon.com header.b="RuRGLtZm" Received: from dnyon.com (45.74.222.87.dynamic.jazztel.es [87.222.74.45]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by dnyon.com (Postfix) with ESMTPSA id 8F7C640442; Mon, 30 Aug 2021 10:48:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=dnyon.com; s=mail; t=1630320491; bh=0csqc1ZbDXmIHRbQOhyIoXigMPaPkBz6pMKmCmRXOcA=; h=From:To:Cc:Subject:Date:From; b=RuRGLtZmWZEbZSqXziYuHTi4c328X/G+cL4SX1UfhpSWYq+O3dPllp7twYJc4K6Sp XlRysrCA6j/VNMipnwL6oijEszJghvVMrJhqbI8jOayZ0pBB8ot9GjuotF6XBtKUB6 UVlDhwgVhSRv5p/Os2g/7IVE8dyWkJxXOHa/Nk5BDBjBcWrTezscY9Tw5/xmLPaPIv Vd4ciwZiH/AZqe5nZiZ2IYhBdQ3QfVJlH2IYLeVBD98WAfygcI5hKlPyCOnfv9ouGl jvT7JmmrNVYmarDc2PuiEC5cUBxbosCncO1ANHbdg9vFDc6xwcVF8HHT1EDqoBdpNr 1fPR7EqBdVEUw== From: Alejandro Tafalla To: Liam Girdwood , Mark Brown , Andy Shevchenko , alsa-devel@alsa-project.org Subject: [PATCH v2 0/2] Add reset-gpios handling for max98927 Date: Mon, 30 Aug 2021 12:44:22 +0200 Message-Id: <20210830104426.487246-1-atafalla@dnyon.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Takashi Iwai , Rob Herring , Alejandro Tafalla 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" The max98927 codec on some devices (i.e. Xiaomi Mi A2 Lite phone) require hardware-resetting the codec by driving a reset-gpio. This series add support for it through an optional reset-gpios property. Alejandro Tafalla (2): ASoC: max98927: Handle reset gpio when probing i2c dt-bindings: sound: max98927: Add reset-gpios optional property .../devicetree/bindings/sound/max9892x.txt | 3 +++ sound/soc/codecs/max98927.c | 15 +++++++++++++++ 2 files changed, 18 insertions(+)