Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp492935rwn; Thu, 15 Sep 2022 01:47:46 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6hPxeRhhEACkEspn8SQaaNU13RT9idsR+vmXprrk68VpPmJ0tXt/3w2CKc7UPmaDBcK7fQ X-Received: by 2002:a05:6402:2498:b0:452:ce23:c9da with SMTP id q24-20020a056402249800b00452ce23c9damr5384939eda.387.1663231665822; Thu, 15 Sep 2022 01:47:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663231665; cv=none; d=google.com; s=arc-20160816; b=NbBvsw3P7gsOKs1WZgbj4+4gKgQi4WzzkecUG7jMbkjDyAkT3BLyegQNmMPWPed3s3 BeXsL1W2jK4jfVzA5ZMLgCRTUYOP5/IKknPn20SfxI/6O4bH6OM4W7dGE0ABxkIAC/dC x5DH16Jm8bqTAGm2B0oQF6tC7QdSn/RHN8AA2dXZjhYER9cvnD4t58LwZJNUp24SILJ8 gLXGKCdVmSoFkWS7ThqrUKDbj8tggxppiNW9GqW9ujWq7G6nJrwP5UJW+WkaCmsKgG+d mI3VW/ZC4En50QsZRBp0NQgOO6sjTwscMpbomdKuCrY6Apttsz1FCZ30657zQ16IO1ni L1bA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :feedback-id:dkim-signature:dkim-signature; bh=dMfmPBWYKlmBZ304Vkqkg+k2Mpdstu9DKucN48OgE4M=; b=MfTql4oyZOvTsjCct2OWARdI1+unQIO8v35BHjh+y26muMAAOsHGFPkxB841iU1Snz C543+XnVxensH9MPy18PY/r4EwMln6970jxWDhH+q4AXdNibmlQgfyZ7/DNsB7Erqd/G 4VHqDlQYXUWqeVhr0T/o/I8xlG1OjdoLtsLHwiH6iJ7sng5R4SCrJ866xnyNkibb1QJf evTk+BoecbC39WWlVLVGS1FvTkEsomv7wrdc6wiJmeHReasWSbEeNoh2FUwqyEgBw9DF SrgBX+eCfm7UPyoQsJ8+uEet1vh/jT+xHSdBaqkYeFNrntzF7LX9HPvzwGBKn9jN/2Bu dNgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ljones.dev header.s=fm3 header.b=xbzjfqrw; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=BUcPEp7G; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s18-20020a056402521200b0044e85e75120si17342027edd.84.2022.09.15.01.47.20; Thu, 15 Sep 2022 01:47:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ljones.dev header.s=fm3 header.b=xbzjfqrw; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=BUcPEp7G; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229562AbiIOIJx (ORCPT + 99 others); Thu, 15 Sep 2022 04:09:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39682 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229512AbiIOIJk (ORCPT ); Thu, 15 Sep 2022 04:09:40 -0400 Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8435FE0AD for ; Thu, 15 Sep 2022 01:09:39 -0700 (PDT) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 9E2F53200B6F; Thu, 15 Sep 2022 04:09:38 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Thu, 15 Sep 2022 04:09:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ljones.dev; h=cc :cc:content-transfer-encoding:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm3; t=1663229378; x=1663315778; bh=dM fmPBWYKlmBZ304Vkqkg+k2Mpdstu9DKucN48OgE4M=; b=xbzjfqrwUDX5GopTNT 3X6goUOaQDVCQWGNHm2rw68w7zpIPtIaqdxMUFsgwks8JbjSRHusD0+rZ56gezhz nvypBNZbSxl60j0bq3vWA77NvYfTV9DIFJ19s4371vmqNWoV1PuY5iuBUTKRRYSa 3xdjiK1ETELWx2elmhtpih+ZpxYsR995i8+yJPn1SGMNFjz5rs30DGNWSe4BqhZT 47KsUe7kzj6cJ3WDUyfgVOYpn/HS3HcBBtUWmUkiY14hb8uHTF5z58cfJyGgiWbW l14oiyp66dCAg/kOWWPAMi42crXkxwZgBaZlN/Yn/fCiygOgaUXGKWs0Ko19L/pW gi9w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; t=1663229378; x=1663315778; bh=dMfmPBWYKlmBZ 304Vkqkg+k2Mpdstu9DKucN48OgE4M=; b=BUcPEp7GmAktWHGaXPhWwlNgxBhlc dJyJENHScLvg1n+g3U3uJQxGoREjd/f6pXLg/nSQHQejkM4+3QuVA02bgDGcZaYC H41QCTp8eD1XBnWXBvEPD55746ZppJvndD2ofhLjE+nu1VuFtW5pGWT2Hq5VYnNv Yc+NpRitGHkJo2a80+w8UtIQkmWvlnb5o/423nbLVQGbg9xhHxZCj6p/BOGdEbpl PvWENOd01fv22cjtxkpaYy9NGhNYv+ZCItV5ZTDoHRJ2/8DeMgoGOdi5mSEZPp5v wyJZPc5D+lJVGanOR79MEbqq1RrR4jL1W6GcVsEXvGetdD/5oNjPKlllA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrfedukecutefuodetggdotefrodftvfcurf hrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekredtre dttdenucfhrhhomhepfdfnuhhkvgcuffdrucflohhnvghsfdcuoehluhhkvgeslhhjohhn vghsrdguvghvqeenucggtffrrghtthgvrhhnpefgteefudfgteduueehteejhfeugffgle eltedvveethfeuueejfedvgeelveehgfenucevlhhushhtvghrufhiiigvpedtnecurfgr rhgrmhepmhgrihhlfhhrohhmpehluhhkvgeslhhjohhnvghsrdguvghv X-ME-Proxy: Feedback-ID: i5ec1447f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 15 Sep 2022 04:09:34 -0400 (EDT) From: "Luke D. Jones" To: tiwai@suse.com Cc: linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org, perex@perex.cz, "Luke D. Jones" Subject: [PATCH v2 1/3] sound: realtek: Add pincfg for ASUS G513 HP jack Date: Thu, 15 Sep 2022 20:09:19 +1200 Message-Id: <20220915080921.35563-2-luke@ljones.dev> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20220915080921.35563-1-luke@ljones.dev> References: <20220915080921.35563-1-luke@ljones.dev> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fixes up the pincfg for ASUS ROG Strix G513 headphone and mic combo jack Signed-off-by: Luke D. Jones --- sound/pci/hda/patch_realtek.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index fd630d62b5a0..1485dea712d8 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -7025,6 +7025,7 @@ enum { ALC294_FIXUP_ASUS_GU502_HP, ALC294_FIXUP_ASUS_GU502_PINS, ALC294_FIXUP_ASUS_GU502_VERBS, + ALC294_FIXUP_ASUS_G513_PINS, ALC285_FIXUP_HP_GPIO_LED, ALC285_FIXUP_HP_MUTE_LED, ALC236_FIXUP_HP_GPIO_LED, @@ -8362,6 +8363,15 @@ static const struct hda_fixup alc269_fixups[] = { [ALC294_FIXUP_ASUS_GU502_HP] = { .type = HDA_FIXUP_FUNC, .v.func = alc294_fixup_gu502_hp, + }, + [ALC294_FIXUP_ASUS_G513_PINS] = { + .type = HDA_FIXUP_PINS, + .v.pins = (const struct hda_pintbl[]) { + { 0x19, 0x03a11050 }, /* front HP mic */ + { 0x1a, 0x03a11c30 }, /* rear external mic */ + { 0x21, 0x03211420 }, /* front HP out */ + { } + }, }, [ALC294_FIXUP_ASUS_COEF_1B] = { .type = HDA_FIXUP_VERBS, @@ -9314,6 +9324,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = { SND_PCI_QUIRK(0x1043, 0x1e8e, "ASUS Zephyrus G15", ALC289_FIXUP_ASUS_GA401), SND_PCI_QUIRK(0x1043, 0x1f11, "ASUS Zephyrus G14", ALC289_FIXUP_ASUS_GA401), SND_PCI_QUIRK(0x1043, 0x1d42, "ASUS Zephyrus G14 2022", ALC289_FIXUP_ASUS_GA401), + SND_PCI_QUIRK(0x1043, 0x1e5e, "ASUS ROG Strix G513", ALC294_FIXUP_ASUS_G513_PINS), SND_PCI_QUIRK(0x1043, 0x16b2, "ASUS GU603", ALC289_FIXUP_ASUS_GA401), SND_PCI_QUIRK(0x1043, 0x3030, "ASUS ZN270IE", ALC256_FIXUP_ASUS_AIO_GPIO2), SND_PCI_QUIRK(0x1043, 0x831a, "ASUS P901", ALC269_FIXUP_STEREO_DMIC), -- 2.37.3