From patchwork Sun Feb 21 11:07:05 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Guido_G=C3=BCnther?= X-Patchwork-Id: 12097227 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=-12.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham 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 803ACC433E0 for ; Sun, 21 Feb 2021 11:08:50 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 41FB364E92 for ; Sun, 21 Feb 2021 11:08:50 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 41FB364E92 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=sigxcpu.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe :List-Id:MIME-Version:Message-Id:Date:Subject:To:From:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Owner; bh=myHEIlrYGA1ib0BsDX+EFsob2ycf0pMV6zi/qcSTVRc=; b=M+WPqoBzGhoAmupCc77NgTljWD tMMpZQV3h8lklmTRb7QzA12UF0UlNdVcO6Z7sSAD5v2eOdPA8KzeTBswQPRY19CxOZMVBsM7eerNk 4AHz3tBpoMcPuEMPX+Bd2Dyjpv4dnHu8hmYAWaLybF2UHWB5mwjOx49vwhR3E+1TTaDcAq8AITvQX 7zUWi/lF3w3zk3VJqYqXQtdDLTVODF+D2XcjZnLf/XM+aj2H03nd6UZzhZZOsgRMsMjWwlyeaRlIP a4lioP+modxmLWx6RfIrcIey074bKnTYMciKYgvoi9ipiITFWXIty1RAUXJ2GWDyPsAfWkXxEVjqK iALg36fg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1lDmaA-0002Gu-PG; Sun, 21 Feb 2021 11:07:22 +0000 Received: from honk.sigxcpu.org ([24.134.29.49]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1lDma7-0002FD-Ku for linux-arm-kernel@lists.infradead.org; Sun, 21 Feb 2021 11:07:20 +0000 Received: from localhost (localhost [127.0.0.1]) by honk.sigxcpu.org (Postfix) with ESMTP id 872EAFB0A; Sun, 21 Feb 2021 12:07:14 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at honk.sigxcpu.org Received: from honk.sigxcpu.org ([127.0.0.1]) by localhost (honk.sigxcpu.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DF_wmRXuiGUH; Sun, 21 Feb 2021 12:07:12 +0100 (CET) Received: by bogon.sigxcpu.org (Postfix, from userid 1000) id 99808403CD; Sun, 21 Feb 2021 12:07:11 +0100 (CET) From: =?utf-8?q?Guido_G=C3=BCnther?= To: Rob Herring , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Catalin Marinas , Will Deacon , =?utf-8?q?Guido_G=C3=BCnther?= , Martin Kepplinger , "Angus Ainslie (Purism)" , Krzysztof Kozlowski , Bjorn Andersson , Li Yang , Geert Uytterhoeven , Michael Walle , Max Krummenacher , Nishanth Menon , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 0/6] arm64: dts: librem5-devkit: Improve audio support Date: Sun, 21 Feb 2021 12:07:05 +0100 Message-Id: X-Mailer: git-send-email 2.30.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210221_060719_899435_1B51B9DD X-CRM114-Status: UNSURE ( 9.79 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org So far only headphone output worked. Thesse patches add support for the built in speaker and mic, allow a headset microphone to work and wire up jack detection so audio output can switch to headphones automatically. They also adjust the card name to match the board not the codec, similar what's done for the Librem 5. Patches are against next-20210210 but also apply against Shawn's imx-dt64-5.12 Guido Günther (6): arm64: dts: librem5-devkit: Use a less generic codec name arm64: dts: librem5-devkit: Add speaker amplifier arm64: dts: librem5-devkit: "Drop Line In Jack" arm64: defconfig: Enable asoc simple mux arm64: dts: librem5-devkit: Add mux for built-in vs headset mic arm64: dts: librem5-devkit: Move headphone detection to sound card .../dts/freescale/imx8mq-librem5-devkit.dts | 69 ++++++++++++++----- arch/arm64/configs/defconfig | 1 + 2 files changed, 52 insertions(+), 18 deletions(-)