From patchwork Wed Oct 23 16:41:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Morgan X-Patchwork-Id: 13847780 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 72395CFA45C for ; Wed, 23 Oct 2024 18:16:06 +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=HKnZui+VJKnvYQ8wK1Mm+SCokrbZynC5jRASPR/jyOE=; b=NchftxOKH40B7T B1QgaPmq85syFFM13txdgrPooDG6Wj9IcWCLpofaeE1n/IVLW5uLcwgJweLjKLfJVzSHoE1L2OlCn k8xzOO2rHY6YCXIFDBphDy2jYcSnUZ9illRXlDgjNNkrqGEYnguf5Km8od7nOXETzc/bjysPLSQGH qng/EC6Qat3l9MmwWVIKQj+ydQ8mCiiJCiqgWLpsXjW6LhGRQtc9KZPqJl9K5TnEtwnqV2A14rzs6 oYbGmjw9m8qJrhHV06uKoa4cs9OWjcU8rbjvDSNQ+dJ/5IUHODSS5EMpR7EGwrzqayeTzyqZjxy3m 7hKBoz73rBuM3KqUe1Qw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t3ftl-0000000FUN1-0h2Y; Wed, 23 Oct 2024 18:15:57 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t3eSZ-0000000FCXU-1z0C for linux-rockchip@bombadil.infradead.org; Wed, 23 Oct 2024 16:43:47 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:MIME-Version :References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=N0jI7anFu6tACdmq1ktw+g6zdLi6HmxfPbYpW9ePEvg=; b=REIDE38ULL13Qhfo+5wIm1H3sE f28bVYgr25Lfevg0pKt9ytSQNP9ZGuuPXljz/VBp58giXZEuWn/ksGkadBsYsLTEMSfHuhc8eCrYj MqCZGeIp0QaBl8a1sSWkbCeeSUM+5hXcK1JBqKS1wvUAnzgD6ALAhhwHfZC/tJDI+VAFyasQBkeky 5Y9VLKU1qr7bB5s2CI8xtdv0lPKJGgswmq1bgWpo9zB2ygrLr7QH2Ux0bUe+6rO14gEtvML62bLmX f4HSwl4QL7zZM1Lr+LuuAaN+eX8CjbxEPBL/2uA5NlJyD0Fl8OKU9TbM7F5HIzb+vTKERpanb/jG7 i1oDy6CA==; Received: from mail-oo1-xc32.google.com ([2607:f8b0:4864:20::c32]) by desiato.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t3eSW-00000008SzS-2mVk for linux-rockchip@lists.infradead.org; Wed, 23 Oct 2024 16:43:46 +0000 Received: by mail-oo1-xc32.google.com with SMTP id 006d021491bc7-5e5d0a80db4so3639947eaf.3 for ; Wed, 23 Oct 2024 09:43:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729701821; x=1730306621; 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=N0jI7anFu6tACdmq1ktw+g6zdLi6HmxfPbYpW9ePEvg=; b=g87FgDmYs+6sl4tDkOlPIVBtj1fpCrbtk4jTDEsnB5QArEhRT2h5tpYDkzOCo1tbjT SuncJQ9SN9YltzfvRY/pyRpWuF887gt40h8Y8n08Cp3PUFF5A0wPYYjkVZxMwFXklIWW 9rALI37cfvEkEZ4DEP6W182V+T+N2CqZmObAptg8fwEXAmZRK4ndhlnE/iLuVZrz6uDO N/UvH+AOeMF0LGzghjCW0KXBhhfOoP9rmjShXddRq2o11k6DBsbv7Q89MsYzjaytOC2s IunJ4YqYKBCGX/gT84skE80pBvVZELXtqdz80OFcL07U3mZI5/pNrARK3wiFw9e7OcuV dRbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729701821; x=1730306621; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=N0jI7anFu6tACdmq1ktw+g6zdLi6HmxfPbYpW9ePEvg=; b=t+xaDsRcUiEgjSi6btTUpBXazbuMHjUlDhw2q2mhcBY1z+p+76kzdtoaqPiW1wmZpB 7/3FZNHSKmPDJdfWAiu4InJdmJQM+pc+6X6UOasm0eMni9Gz05I0B1bmM2WARqLjfmDm pxfCP4gGIIB3NMDje/Dx9YB7iw3czsxKj54e05ox+Fo76t8W8huQhmsy1aMVy5LDTil8 M8QacLVEgdBjNABla+4aeY6HqgtlJb+SPuS+22QsvQF8EywcdpzIuMHdvN1t/XuVn9Mg 6gcnLjmVT8/CBC3unyYYzHFrX59UfkKJHPoUUtgRRO0P8RtKveH5zSDCSoKkDfeRrhve e5Tw== X-Gm-Message-State: AOJu0YxysnkE8qNiNfJfTK5mAXGaAn8/3iwGEzKaxgBVS9vKUmbH5A4O rm58WccRyTMoSgSjkxTlcDBzjZ0NHX5w6TMqoqGDd/DEzBGVAaiDE9xWEQ== X-Google-Smtp-Source: AGHT+IG+VLzg9P/6ys2U4VynqV0Aeqfw+dZ0geZjBZderwIjKCW7QniRtK/DU73HDagpxpcX0oABmw== X-Received: by 2002:a05:6820:229a:b0:5eb:c72e:e29c with SMTP id 006d021491bc7-5ebee94cdd8mr2522620eaf.8.1729701820442; Wed, 23 Oct 2024 09:43:40 -0700 (PDT) Received: from localhost.localdomain ([2600:1700:fb0:1bcf::54]) by smtp.gmail.com with ESMTPSA id 006d021491bc7-5ebb7a0948esm1861367eaf.15.2024.10.23.09.43.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Oct 2024 09:43:39 -0700 (PDT) From: Chris Morgan To: linux-rockchip@lists.infradead.org Cc: devicetree@vger.kernel.org, heiko@sntech.de, conor+dt@kernel.org, krzk+dt@kernel.org, robh@kernel.org, Chris Morgan Subject: [PATCH 1/2] arm64: dts: rockchip: correct analog audio name on Indiedroid Nova Date: Wed, 23 Oct 2024 11:41:03 -0500 Message-ID: <20241023164104.66282-2-macroalpha82@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241023164104.66282-1-macroalpha82@gmail.com> References: <20241023164104.66282-1-macroalpha82@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241023_174344_744690_FE7D93F6 X-CRM114-Status: GOOD ( 12.00 ) 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: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org From: Chris Morgan Correct the audio name for the Indiedroid Nova from rockchip,es8388-codec to rockchip,es8388. This name change corrects a kernel log error of "ASoC: driver name too long 'rockchip,es8388-codec' -> 'rockchip_es8388'". Fixes: 3900160e164b ("arm64: dts: rockchip: Add Indiedroid Nova board") Signed-off-by: Chris Morgan --- arch/arm64/boot/dts/rockchip/rk3588s-indiedroid-nova.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3588s-indiedroid-nova.dts b/arch/arm64/boot/dts/rockchip/rk3588s-indiedroid-nova.dts index d8c50fdcca3b..a4b930f6987f 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588s-indiedroid-nova.dts +++ b/arch/arm64/boot/dts/rockchip/rk3588s-indiedroid-nova.dts @@ -62,7 +62,7 @@ sdio_pwrseq: sdio-pwrseq { sound { compatible = "audio-graph-card"; - label = "rockchip,es8388-codec"; + label = "rockchip,es8388"; widgets = "Microphone", "Mic Jack", "Headphone", "Headphones"; routing = "LINPUT2", "Mic Jack", From patchwork Wed Oct 23 16:41:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Morgan X-Patchwork-Id: 13847781 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 D9CBDCFA45E for ; Wed, 23 Oct 2024 18:16:06 +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=1Wv3zIY+4qZEKX+fwTCFYhXTyZuP0M0v3JmjMmqJ4yM=; b=EO6Ft9A7NO11v/ SjLAHYMWItck/86/Ca6DTXVmHENywe3IuEZtpHpiNTordx9AkP0Tfon6Sqk/BriBBdYKqS71/gycI PJtD7vZS4EWY87EqceXTYaKHuK9sgyz9MIzhcAvce+oDH7WKSfnuFE3BG1JqIrMxeKdTg03ijtWUE z9sATjNI3nHkRRlinqQ43gtTxXucnlFnJg8Pz8vegvoBd+beFh6NSpIu4fJeb81MILmOORuCNszCI nDWRH+A9ph2Pp/WMqK7EPnJAbDerz8rHxsdhDoJWJRi1xYwCiEYQHGOY/z1VFnBlxPrjF+ute9Y7y mEKOkMpnKZuvqHUZHVRA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t3ftl-0000000FUN5-2C9L; Wed, 23 Oct 2024 18:15:57 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t3eSZ-0000000FCXV-2131 for linux-rockchip@bombadil.infradead.org; Wed, 23 Oct 2024 16:43:47 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:MIME-Version :References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=XbAEQp9IlcObfJg16Nbp35ZDF7R6MmeV3O52vm29o4Q=; b=X9Ur1fR6EBvGI0pI2qyzXLzHGp wZrEant20ILmwkhVLh6yUZRPmubdRLuOCL7zqO8bL9k5iM3iRXcrxIKVfs0U+G2JOFXJeQl7Fuxny SQyP0+AopZ3Cys67bMB0/bifbHmiIv66O8e6qzse6xPSXllmKPUwb6K5WNNySXBCaduF77NK6jxgV Cvaawa/zsxEUoAzfKsaHmeW3eILx4Vf23/t0JlGufvsZk268fxroSeIozxGctT1n5t4+a/TqotCzh uRVUWJOV2nX3EedMbqEpyRJTUHaYggBm2CkGM4MRxKr1IR+zH6RwL+6sGUk7Tjqc3nqvyc7PPKGWL JBFc903w==; Received: from mail-ot1-x32b.google.com ([2607:f8b0:4864:20::32b]) by desiato.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t3eSW-00000008SzR-25bJ for linux-rockchip@lists.infradead.org; Wed, 23 Oct 2024 16:43:46 +0000 Received: by mail-ot1-x32b.google.com with SMTP id 46e09a7af769-7181caa08a3so8945a34.0 for ; Wed, 23 Oct 2024 09:43:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729701821; x=1730306621; 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=XbAEQp9IlcObfJg16Nbp35ZDF7R6MmeV3O52vm29o4Q=; b=LJH/fFfi2V7ukj7MjAvzq+NeqsdkH/pu6l5v1tkp8ihN6056Ox+NtI2kSex9Z3BWz4 Z6mlQJJyKHt2sLwAjYXMTpTjcMPHfUxs++naCK+jV3g+PGtCeBUVwPCTB3jIAPG9fJ5K 5eY63bK5ZPd5EoDF4GiD7asrOhE1Rh1HlYP/fPGt/Ct1+tNhEVMJZkgkoBb44xy4MeYt vaLOrXppmmyl2v9FDH5+ZtIRvh/10piW6h3CiCcOVBAKYFRZfcIu7agnqbW1lBraL5c4 pmCVw+sL2dbNP2NriJo2wj+uGf1USGgqv4CaBTtJb9pLq2Yi3zxLU5yH4+ECfTLOh531 Ur9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729701821; x=1730306621; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=XbAEQp9IlcObfJg16Nbp35ZDF7R6MmeV3O52vm29o4Q=; b=kmnJxpVhh2DmGLBghT5nCOqNUR5bbDD5CScyK3nPVOBKGzjufEfm1/uheZoClBdvxb w4C+Krm25vz9mUTq1Hg1gVQ4hV8Z5/U1/6BDZpd478M3wVw6Z4OqZOXzi50a+b1ghEXJ Gi4eTzgnnbxZP0c2g8KwJQnluJqTFqbiVUDCTaNAaT5TYwbz6PVo9CJ1jjkg4qAye5eT +vLocdyG9ssaddo0AOHV95dK2PeFGYP2Jp8KNbSaAeHXpaPnWD0CZACtN5bTebAwY9X3 Oh2f0ZHY1N+hAGCu0iGx7yraxQGzv3COJrOlK3t0e875GBLWjMxRqnovWQhY9lLGxjI9 DMzg== X-Gm-Message-State: AOJu0Yw+3rvOqgMhQceGlhxobGcT2pUNQZ8DBgIgZXPq8DeN0RXVrzcR AgSaZS0e9Y92Q1d99NwpFbmxPOMgedBj0BzlNU14eZzGnwqQ9C6HQobZ4A== X-Google-Smtp-Source: AGHT+IFI/wLrdamr7GU1kFZaUKj9R5crsNO81QZ1JoAHFx1j4CLac+CYdttdHMkC1XF1wvXxr6Ks5A== X-Received: by 2002:a05:6830:65c6:b0:718:15a9:505f with SMTP id 46e09a7af769-7184b2a2775mr4189478a34.14.1729701821051; Wed, 23 Oct 2024 09:43:41 -0700 (PDT) Received: from localhost.localdomain ([2600:1700:fb0:1bcf::54]) by smtp.gmail.com with ESMTPSA id 006d021491bc7-5ebb7a0948esm1861367eaf.15.2024.10.23.09.43.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Oct 2024 09:43:40 -0700 (PDT) From: Chris Morgan To: linux-rockchip@lists.infradead.org Cc: devicetree@vger.kernel.org, heiko@sntech.de, conor+dt@kernel.org, krzk+dt@kernel.org, robh@kernel.org, Chris Morgan Subject: [PATCH 2/2] arm64: dts: rockchip: Enable HDMI0 and GPU on Indiedroid Nova Date: Wed, 23 Oct 2024 11:41:04 -0500 Message-ID: <20241023164104.66282-3-macroalpha82@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241023164104.66282-1-macroalpha82@gmail.com> References: <20241023164104.66282-1-macroalpha82@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241023_174344_649899_61FE34A5 X-CRM114-Status: GOOD ( 10.37 ) 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: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org From: Chris Morgan Enable the HDMI0 and GPU for the Indiedroid Nova. Signed-off-by: Chris Morgan --- .../dts/rockchip/rk3588s-indiedroid-nova.dts | 56 +++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3588s-indiedroid-nova.dts b/arch/arm64/boot/dts/rockchip/rk3588s-indiedroid-nova.dts index a4b930f6987f..547b3ca881e0 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588s-indiedroid-nova.dts +++ b/arch/arm64/boot/dts/rockchip/rk3588s-indiedroid-nova.dts @@ -5,6 +5,7 @@ #include #include #include +#include #include #include "rk3588s.dtsi" @@ -50,6 +51,17 @@ chosen { stdout-path = "serial2:1500000n8"; }; + hdmi0-con { + compatible = "hdmi-connector"; + type = "c"; + + port { + hdmi0_con_in: endpoint { + remote-endpoint = <&hdmi0_out_con>; + }; + }; + }; + sdio_pwrseq: sdio-pwrseq { compatible = "mmc-pwrseq-simple"; clock-names = "ext_clock"; @@ -242,6 +254,35 @@ &gpio4 { "", "", "", ""; }; +&gpu { + mali-supply = <&vdd_gpu_s0>; + status = "okay"; +}; + +&hdmi0 { + pinctrl-0 = <&hdmim0_rx_hpdin>, <&hdmim0_tx0_scl>, + <&hdmim0_tx0_sda>, <&hdmim0_tx0_hpd>, + <&hdmim0_tx0_cec>; + pinctrl-names = "default"; + status = "okay"; +}; + +&hdmi0_in { + hdmi0_in_vp0: endpoint { + remote-endpoint = <&vp0_out_hdmi0>; + }; +}; + +&hdmi0_out { + hdmi0_out_con: endpoint { + remote-endpoint = <&hdmi0_con_in>; + }; +}; + +&hdptxphy_hdmi0 { + status = "okay"; +}; + &i2c0 { pinctrl-0 = <&i2c0m2_xfer>; pinctrl-names = "default"; @@ -919,3 +960,18 @@ usbdp_phy0_dp_altmode_mux: endpoint@1 { }; }; }; + +&vop { + status = "okay"; +}; + +&vop_mmu { + status = "okay"; +}; + +&vp0 { + vp0_out_hdmi0: endpoint@ROCKCHIP_VOP2_EP_HDMI0 { + reg = ; + remote-endpoint = <&hdmi0_in_vp0>; + }; +};