From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1FA57D46BE9 for ; Wed, 28 Jan 2026 17:49:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=JTKAnis2yAKQB4fugnwanWHgSzwPVyMWBsOqAhgifiU=; b=g+RE9sqwfXzTzh KAFhk00qwIyMwkZ0uSEkOJ3BjzYz+KsR9bKFbchR2aTeZ1sW3HdAlSnw40CooToDCG+giXGBR8brZ yfGmVfZnokR8pck+ZNrCXeI532MCiSXEqXuXbEu1Uq1+zSPu385cIZV5oj3LlNoj8f3k1suUxjh5J Xe+yOyNmS/QROh189FoBJ0P+MS8oAeVKdn/JzSSX1qfAPpkqhCf0p24oSqXBK8kthBpRi4fHb8+DD ec5/VGWcAbXVEodzMx9tZNsZaY4Ed3uSSqThc47XJ2FvhzPqKkHugo32/VipgJiTq/zyn6gEotTOX wjmQXc5devPsj5h/fjeQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1vl9ep-0000000GWSI-3h8t; Wed, 28 Jan 2026 17:48:47 +0000 Received: from mail-oa1-x2c.google.com ([2001:4860:4864:20::2c]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1vl9en-0000000GWQh-2Ik2 for linux-rockchip@lists.infradead.org; Wed, 28 Jan 2026 17:48:47 +0000 Received: by mail-oa1-x2c.google.com with SMTP id 586e51a60fabf-4042f55de3aso75351fac.1 for ; Wed, 28 Jan 2026 09:48:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1769622524; x=1770227324; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=IM1HgF8lQ5KCUPSngea1L4dZ9ovQlt8fHo3wYhN+zkM=; b=UtuYFCH1oTqiWoTN47D6AvlLMlXaa1EMdsgRRHK7gRDE4eYpqrQPBRaW0nqPd865mr EpakEzv406B2ah3Gi6gxoiBBHSN/iMQDAPU/OAgf2C839SsAbxzJEJZ/4GG8aggW9TqV ixOKrlX7aETwx6R7pAiYkRtrT8FJChKH7HhOe4/NCYTJy6SB12xW6aDi7g3jePX3/p9w CblDpW2vq/VwxMOobktE1XfbMiHTbgpzbOPjNemgNikKRA8iNIv+QH5hiSML9vTidlWi ZqkgtwJoG/pAbX6Z6ArLEC1iTsbwrLOyvHUDDjlPBU7/e+uO4sHJOOqYnEe84krrjYJL 7WhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769622524; x=1770227324; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=IM1HgF8lQ5KCUPSngea1L4dZ9ovQlt8fHo3wYhN+zkM=; b=XXXRiu0M+mFyr/VdN/WivFnnxs6vVgfp6KKH3IWKBy49l75D4y+IqeK2n7RN1E8ou0 ewCCqdwI6VEGw3ecOsDBX12+ixCkBEnS3XBu2XLxT0IAR89o9axRua1pcHvDr/UDONsZ gPJwEyYEPjb9BsU71Vcl/iiipdEsnnOSn3qYvaBDGq/vQCd8JxjjaMU9NV3cJF4a5r6L i1u0DARasGyO02b/cLE0ThKsPU8NsYtMuECH2Iz2BbaWWgkqyVbYJOfIkaZ8NBeLSBGJ T8k/U9fngX6MlH3GVJu5kYotXyIwACjfnZ3Fk1KltEe03Pap2strFGAu4BaHGf7uWmYt fxlQ== X-Forwarded-Encrypted: i=1; AJvYcCVANy2mdBVHZKS5bEUZuGAThjB3x9sK+vGYxa9kkB6/rdC6NurdlVQqmUXkyLdmNkYVxt+qDS0QTC2LcDIw4Q==@lists.infradead.org X-Gm-Message-State: AOJu0Yy/FcLKH+R8EMLF8NYJ6z/9Qs1HawC5dlUvUQCxaWPF7InlVf5c QGVJJPeR8feUQyUqPTINjPC2CHm2+K4vj5Z3fYjIcTewf6BIQciE7leo X-Gm-Gg: AZuq6aLnjv7Zx3E/X2aEi3THtjQf18p9SRmIZtKx+aCg9TX+IhPRAc3+339dkYFaFvu bYuXnQ4tFBldDW85AqGGPdjqg3Ve5D01iEYiwO6PpYYSs0/1cF03eOkc5ajujYc6Wy7h4H9YlsN l6lHiOZIVX3Eo6pCcFMI4l77aliR5fK/mvtKXVbsK8W4V6jK0aM5gC3bUVVnRVLsvaXpx3gbBJG bNTSZNCoeRs2I1hdQQdb7Zjrw32exi+e+2apHCscWpke44Y0kPwFDwBhSiSzvc2Jih2J+mq7Eat NNLuGS2fL6f1r+ZpgKJjDDjwGU/Bu7RGF2NOoQhrewEEwjKbhwalC2jcdq3bVBRqCWjE9Yexe0s fG/sux+w46Z2xBwb4seTxQtdfHABD72ANJDnM3WjWbmtXQ2ABnTEJ3t+p3BuJfqbK3H9f3Wmupg opV4PWy0AC X-Received: by 2002:a05:6870:c6a0:b0:409:62ce:83f6 with SMTP id 586e51a60fabf-4097fb10886mr166968fac.5.1769622524344; Wed, 28 Jan 2026 09:48:44 -0800 (PST) Received: from localhost.localdomain ([2600:1700:fb0:1bc0::54]) by smtp.gmail.com with ESMTPSA id 586e51a60fabf-409575b0a89sm2187647fac.20.2026.01.28.09.48.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Jan 2026 09:48:43 -0800 (PST) From: Chris Morgan To: linux-sound@vger.kernel.org Cc: devicetree@vger.kernel.org, wangweidong.a@awinic.com, tiwai@suse.com, perex@perex.cz, conor+dt@kernel.org, krzk+dt@kernel.org, robh@kernel.org, broonie@kernel.org, lgirdwood@gmail.com, heiko@sntech.de, linux-rockchip@lists.infradead.org, Chris Morgan Subject: [PATCH V2 3/3] arm64: dts: rockchip: add Awinic aw87391 for Anbernic RG-DS Date: Wed, 28 Jan 2026 11:46:08 -0600 Message-ID: <20260128174608.1498-4-macroalpha82@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260128174608.1498-1-macroalpha82@gmail.com> References: <20260128174608.1498-1-macroalpha82@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260128_094845_594507_9DE2632C X-CRM114-Status: GOOD ( 13.42 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org From: Chris Morgan Add support for the two Awinic aw87391 audio amplifiers used in the Anbernic RG-DS. These amplifiers require a specific init sequence to start which is usually provided by a firmware file, but in our case the manufacturer only provided the sequence. As a result, we hard-code a device specific compatible. Additionally, add support for the VDD regulator used to power both amplifiers. Note that the amps can accept and respond to i2c commands even without regulator power (perhaps due to a secondary power source) but cannot play audio. Signed-off-by: Chris Morgan --- .../dts/rockchip/rk3568-anbernic-rg-ds.dts | 44 +++++++++++++++++-- 1 file changed, 40 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3568-anbernic-rg-ds.dts b/arch/arm64/boot/dts/rockchip/rk3568-anbernic-rg-ds.dts index 6ac1fe0d3c98..8d906ab02c5f 100644 --- a/arch/arm64/boot/dts/rockchip/rk3568-anbernic-rg-ds.dts +++ b/arch/arm64/boot/dts/rockchip/rk3568-anbernic-rg-ds.dts @@ -354,6 +354,7 @@ sound { compatible = "simple-audio-card"; pinctrl-0 = <&hp_det>; pinctrl-names = "default"; + simple-audio-card,aux-devs = <&aw87391_pa_l>, <&aw87391_pa_r>; simple-audio-card,format = "i2s"; simple-audio-card,hp-det-gpios = <&gpio4 RK_PC2 GPIO_ACTIVE_HIGH>; simple-audio-card,mclk-fs = <256>; @@ -363,8 +364,10 @@ sound { "MICL", "Mic Jack", "Headphones", "HPOL", "Headphones", "HPOR", - "Internal Speakers", "HPOL", - "Internal Speakers", "HPOR"; + "Internal Speakers", "Left Amp OUT", + "Internal Speakers", "Right Amp OUT", + "Left Amp IN", "HPOL", + "Right Amp IN", "HPOR"; simple-audio-card,widgets = "Microphone", "Mic Jack", "Headphone", "Headphones", @@ -468,6 +471,18 @@ vcc_wifi: regulator-vcc-wifi { regulator-max-microvolt = <3300000>; regulator-name = "vcc_wifi"; }; + + vdd_amp: regulator-vcc-amp { + compatible = "regulator-fixed"; + enable-active-high; + gpio = <&gpio4 RK_PC3 GPIO_ACTIVE_HIGH>; + pinctrl-0 = <&vdd_amp_h>; + pinctrl-names = "default"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + vin-supply = <&vccio_acodec>; + regulator-name = "vdd_amp"; + }; }; &cpu0 { @@ -840,8 +855,22 @@ &i2c2 { pinctrl-names = "default"; status = "okay"; - /* awinic,aw87391 at 0x58 */ - /* awinic,aw87391 at 0x5b */ + aw87391_pa_l: audio-codec@58 { + compatible = "anbernic,rgds-amp", "awinic,aw87391"; + reg = <0x58>; + vdd-supply = <&vdd_amp>; + #sound-dai-cells = <0>; + sound-name-prefix = "Left Amp"; + }; + + aw87391_pa_r: audio-codec@5b { + compatible = "anbernic,rgds-amp", "awinic,aw87391"; + reg = <0x5b>; + vdd-supply = <&vdd_amp>; + #sound-dai-cells = <0>; + sound-name-prefix = "Right Amp"; + }; + /* invensense,icm42607p at 0x68 */ }; @@ -1014,6 +1043,13 @@ touch1_irq: touch1-irq { }; }; + vdd-amp { + vdd_amp_h: vdd-amp-h { + rockchip,pins = + <4 RK_PC3 RK_FUNC_GPIO &pcfg_pull_none>; + }; + }; + vcc-lcd { vdd_lcd0_h: vdd-lcd0-h { rockchip,pins = -- 2.43.0 _______________________________________________ Linux-rockchip mailing list Linux-rockchip@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-rockchip From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oa1-f42.google.com (mail-oa1-f42.google.com [209.85.160.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0813836EA91 for ; Wed, 28 Jan 2026 17:48:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769622528; cv=none; b=mTrws1hZROKY79krd8a+mWel+nBcrQgD3HYoOKxi/+ALFNzhY0ISSH2My7ojMBAfN/tWUMoIxYPcKVNOze5SJrsgeYWM7sMcIGydh9G7Y6kGJoOIBS/R51aaDUty+oa27CEdx1CBeR47PZiNc3Q0ln+v1G0DsdRWwClP4fcDGvc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769622528; c=relaxed/simple; bh=PKQ9ZA4OzAcviDxcmcU38wqNemRfIIokYyl6cY8TCIA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=DJJI/UwtUCv8zAWua1d0jN5Pbd01LiL2Ho+qd1PXnNKEuOXGsNjKUn+fKadq5iKhu+ZsJp0zrlGMDDFAVhLAXQ7MP/tb+S+upSiE0syo/O9tsFMqJ7a8009YnncxlI3Ww1UbsdxjPZomoDbBJH3nQk7hJAImjWEmXWrHvGs1PHI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=Jgkx5198; arc=none smtp.client-ip=209.85.160.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Jgkx5198" Received: by mail-oa1-f42.google.com with SMTP id 586e51a60fabf-4042f55de3aso75362fac.1 for ; Wed, 28 Jan 2026 09:48:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1769622524; x=1770227324; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=IM1HgF8lQ5KCUPSngea1L4dZ9ovQlt8fHo3wYhN+zkM=; b=Jgkx5198sLQdINQYClmLaz9wiKxasV48hPwHm/V3LLK20QKedkemSa+/RWKKvB0bxD XRrQorN57R1xZZAqOaHr5nNcg2M+KnzurqvoYCix/qslpb492TLLd+MBhuQQ3VwA4zCM EpfACxfsgvKEWqvHBt+lPMD/KJZzdrTlvaCH9LbSwMex27WM//I4KJYT3LuKjrRlGgVE EZgxH2AIgXArPaQ+3dHifrQ1SM9ylh2OKqpFugazVgy6r9fTUn4t9sSZEgNl3zLjO9PB KAcaHkNGAy6OfofV9JIw8nD88yoa/krKugCpI4jgJDX86dMks+enyK3G0L8wntLCt3Vg 3cgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769622524; x=1770227324; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=IM1HgF8lQ5KCUPSngea1L4dZ9ovQlt8fHo3wYhN+zkM=; b=V37stGf7XAxB5r+tcx9iX1zA3TyOmnIhrfqOwHFFWQheSTxW3FMm5ILlx6+1EBs821 4sOFM9AnFxNyMAV+pcLl5m//T2/qvnaLxvyycMCeavMkoM9SDXkOApYT1XsETPqzA8h2 C0ZMMcr3MSIKFIg//ArrCHXrz4Og0oqNbSnM8Hi16CLPMYAnTmTnIA0N0qgC1giEHJW8 SEUWOkjlesndi5SbnPd4LNo+FT1zWtJqXmIw1Zn5v7deKnD8f3qbX5m1gv0ci5K0SUGO 1+8v31L/ErQR8bQfBSWlVbjEer9tkhD9fYX8nNB7pGluqWcFTXs0OMzmFfdolKRddo0W CsJw== X-Gm-Message-State: AOJu0Yzq5+Ie1PKH+yYgYOA4SbXonaZqMmghAUEWUkXseHmTsrmfIOMC /ibgr0jaUdSQdmU0mH7+feMpnKMoI2DpFK6RLgeumxAzuc1Fjr3qOPY1je6eZw== X-Gm-Gg: AZuq6aILILKQ0wVQeop02wi3LPFdjuLVn1+Y1rvaAR+fuzeV9w/Hov7J2WQcQse/LKp d1Lt38Y7VJnNufNjVQUHLAYEyIfpLcAXClwoC5+gZBLt1YX7MfyctlofEVSSEZe/sp5we8XKrs9 aafU40hAu3aowO/e/clwXqhnr9xEwGVMrCADmlQ7vrt5wnQ/whG5pwKZ2H8WcUeocEA5ccqnfn3 Z3aJnuLzAWQ8QDrMtYNZj98Aysxl1Uktn+yekuELuTkXryV+Q/r/BvdKFKA8JF5SFKO5fwSIvrE jvme5MGfC9oLxkWliF6deK+3nQFy2P0qlVo9iu+6IdvX4H6AmHRcCNc+3Js0zDbqHrLZuJw8UwD I83EBTsCFWTqTHEzBhM17LX7DEzYWEfcrurXijOdpToIf1sUiutv9/7CPeRC2l2B/Yo+wJFXA/b eLe34yaec2 X-Received: by 2002:a05:6870:c6a0:b0:409:62ce:83f6 with SMTP id 586e51a60fabf-4097fb10886mr166968fac.5.1769622524344; Wed, 28 Jan 2026 09:48:44 -0800 (PST) Received: from localhost.localdomain ([2600:1700:fb0:1bc0::54]) by smtp.gmail.com with ESMTPSA id 586e51a60fabf-409575b0a89sm2187647fac.20.2026.01.28.09.48.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Jan 2026 09:48:43 -0800 (PST) From: Chris Morgan To: linux-sound@vger.kernel.org Cc: devicetree@vger.kernel.org, wangweidong.a@awinic.com, tiwai@suse.com, perex@perex.cz, conor+dt@kernel.org, krzk+dt@kernel.org, robh@kernel.org, broonie@kernel.org, lgirdwood@gmail.com, heiko@sntech.de, linux-rockchip@lists.infradead.org, Chris Morgan Subject: [PATCH V2 3/3] arm64: dts: rockchip: add Awinic aw87391 for Anbernic RG-DS Date: Wed, 28 Jan 2026 11:46:08 -0600 Message-ID: <20260128174608.1498-4-macroalpha82@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260128174608.1498-1-macroalpha82@gmail.com> References: <20260128174608.1498-1-macroalpha82@gmail.com> Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Chris Morgan Add support for the two Awinic aw87391 audio amplifiers used in the Anbernic RG-DS. These amplifiers require a specific init sequence to start which is usually provided by a firmware file, but in our case the manufacturer only provided the sequence. As a result, we hard-code a device specific compatible. Additionally, add support for the VDD regulator used to power both amplifiers. Note that the amps can accept and respond to i2c commands even without regulator power (perhaps due to a secondary power source) but cannot play audio. Signed-off-by: Chris Morgan --- .../dts/rockchip/rk3568-anbernic-rg-ds.dts | 44 +++++++++++++++++-- 1 file changed, 40 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3568-anbernic-rg-ds.dts b/arch/arm64/boot/dts/rockchip/rk3568-anbernic-rg-ds.dts index 6ac1fe0d3c98..8d906ab02c5f 100644 --- a/arch/arm64/boot/dts/rockchip/rk3568-anbernic-rg-ds.dts +++ b/arch/arm64/boot/dts/rockchip/rk3568-anbernic-rg-ds.dts @@ -354,6 +354,7 @@ sound { compatible = "simple-audio-card"; pinctrl-0 = <&hp_det>; pinctrl-names = "default"; + simple-audio-card,aux-devs = <&aw87391_pa_l>, <&aw87391_pa_r>; simple-audio-card,format = "i2s"; simple-audio-card,hp-det-gpios = <&gpio4 RK_PC2 GPIO_ACTIVE_HIGH>; simple-audio-card,mclk-fs = <256>; @@ -363,8 +364,10 @@ sound { "MICL", "Mic Jack", "Headphones", "HPOL", "Headphones", "HPOR", - "Internal Speakers", "HPOL", - "Internal Speakers", "HPOR"; + "Internal Speakers", "Left Amp OUT", + "Internal Speakers", "Right Amp OUT", + "Left Amp IN", "HPOL", + "Right Amp IN", "HPOR"; simple-audio-card,widgets = "Microphone", "Mic Jack", "Headphone", "Headphones", @@ -468,6 +471,18 @@ vcc_wifi: regulator-vcc-wifi { regulator-max-microvolt = <3300000>; regulator-name = "vcc_wifi"; }; + + vdd_amp: regulator-vcc-amp { + compatible = "regulator-fixed"; + enable-active-high; + gpio = <&gpio4 RK_PC3 GPIO_ACTIVE_HIGH>; + pinctrl-0 = <&vdd_amp_h>; + pinctrl-names = "default"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + vin-supply = <&vccio_acodec>; + regulator-name = "vdd_amp"; + }; }; &cpu0 { @@ -840,8 +855,22 @@ &i2c2 { pinctrl-names = "default"; status = "okay"; - /* awinic,aw87391 at 0x58 */ - /* awinic,aw87391 at 0x5b */ + aw87391_pa_l: audio-codec@58 { + compatible = "anbernic,rgds-amp", "awinic,aw87391"; + reg = <0x58>; + vdd-supply = <&vdd_amp>; + #sound-dai-cells = <0>; + sound-name-prefix = "Left Amp"; + }; + + aw87391_pa_r: audio-codec@5b { + compatible = "anbernic,rgds-amp", "awinic,aw87391"; + reg = <0x5b>; + vdd-supply = <&vdd_amp>; + #sound-dai-cells = <0>; + sound-name-prefix = "Right Amp"; + }; + /* invensense,icm42607p at 0x68 */ }; @@ -1014,6 +1043,13 @@ touch1_irq: touch1-irq { }; }; + vdd-amp { + vdd_amp_h: vdd-amp-h { + rockchip,pins = + <4 RK_PC3 RK_FUNC_GPIO &pcfg_pull_none>; + }; + }; + vcc-lcd { vdd_lcd0_h: vdd-lcd0-h { rockchip,pins = -- 2.43.0