From nobody Sat Nov 23 01:45:10 2024 Received: from sonic302-21.consmr.mail.ir2.yahoo.com (sonic302-21.consmr.mail.ir2.yahoo.com [87.248.110.84]) (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 836331AC45F for ; Thu, 14 Nov 2024 22:17:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=87.248.110.84 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731622664; cv=none; b=tAtniP4menJr3tgOxT6QpCpGnQ4gF3fNPIPqfb5IVRdohaGjRu/oHJUj1ucxxDjN6X/6/mUFBpLtL8Im31D31VZrFuGox4XK2p6TCUgE8IqkXjAsmNZrYUg2oOOKWwSChYPvp2D4zL+kfCEXJK41swMfK+qSR/v7WSX8LynZFiI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731622664; c=relaxed/simple; bh=8JzMaKrWlHH5Cvl6LgJr+4ysWctwILSWMc8f7gCR6pI=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:References; b=lmKJxfOAWiEXBlXEGpIKwR++JlISQQAXmmupf6Wj6pkGOijDuObgZ9sXsAW30zeRisF3I4rDfB7t2XwZbefQmGFoCT4YHf4ZSn/OqIOpfro7EKZpP6R7g6DQQvTmOMyJTt95x3Oj38QqzVgmDvFXxAxQfl6EB7ReFZGWNU/nGWA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=rocketmail.com; spf=pass smtp.mailfrom=rocketmail.com; dkim=pass (2048-bit key) header.d=rocketmail.com header.i=@rocketmail.com header.b=C6PylkxI; arc=none smtp.client-ip=87.248.110.84 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=rocketmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=rocketmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=rocketmail.com header.i=@rocketmail.com header.b="C6PylkxI" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rocketmail.com; s=s2048; t=1731622659; bh=VUBlByHueXDmXb9r+9Fa/bqlDMIi1BWz7KWtmRZf9Fs=; h=From:To:Cc:Subject:Date:References:From:Subject:Reply-To; b=C6PylkxIsDaAZEqXMpBBKLBF7n8fPVINgk8KUdv5Tps2ltr9mJY3KfP5Mb+RHMMlQqJYS12UtzfUfjRaEFDfazRYJ7qKxpai42R6loXpp6W0v4TM39kj4QubdBAg6P3xx6J6xOjmaOR6Ze/9rBJsC6gb4R1AEKutF96Yo7IiaD8bvK5LgMMfO9dpyvPPesfjWtVFHYPPSY/ilCDQ/8eeebVTzT0iwaSQGu3udcrrpNxfSm+nohXo20ytaXQjebFe0jDIol25vgFHDOxe+scUNdGCSeN+GL7hza6l9MtI4djkY6o6XWGWHE5pAFH6KH33FV3yrEZaCOgkT2pRZI5bFA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1731622659; bh=Ze8pOL9sEoVJR2O8Vt6GILy+zWfqGq2unalvG2RttF9=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=C7eImqjpQPJi3y+1oFNNpQXhnOXWUU98Kh//x1bi+lBqBaCLNG8GooHhU+IS7KjS2YS4Cp97flzzktzYManSChpRw8fVTwg2rnZmOzdCsaMR8HGITM7c0O3zKrbQstxlU8Y+sbGJPMPIo4ZSX98ut03BGNWrXnHY+A1/8UaFOdWg6x8HlGB6hdPaOIAfvC32aMuFD0+MQEZlS3vRfhnfv/OHyoxeDKUQ8NbcX2nVWChamEVZX+YZOqRp7bdFGVNz2wtiVUn3ci7Y0bfOiQGmaBuqZlWL2AAu0SMj0g1EIRdOL853XUvQN1bCkzPU2sBr5poPez6olcc7cTG2qwAoEw== X-YMail-OSG: Q5hDKeAVM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KnQheCWw_HEyw00eSZSdNaAp98zzn6Rszv.cOxAyJbRNCKtp xD35gidCwJ5vH7XUGfoM.PRY7vpy2vp44CuA0PqjqoPKKRGIrQuZNziyEW8uqFZSAvcgm4XScwbj 3xGptjnV8tOlW2WdeLyGg7oe3Bd.hzYbSmtlNF27omIsfYjuqltZUNKfms0VVVI7iUNvChYNPAMa lXz5tsL4sj04mYE9un1XTEBZyGfmZH9_FwewnLCw- X-Sonic-MF: X-Sonic-ID: cd958c09-780b-4501-906f-d67165ec7c2a Received: from sonic.gate.mail.ne1.yahoo.com by sonic302.consmr.mail.ir2.yahoo.com with HTTP; Thu, 14 Nov 2024 22:17:39 +0000 Received: by hermes--production-ir2-c694d79d9-mr45v (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 60a5376110f1aceebb11253fa288c199; Thu, 14 Nov 2024 22:07:30 +0000 (UTC) From: Jakob Hauser To: Bjorn Andersson , Konrad Dybcio Cc: Stephan Gerhold , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, Jakob Hauser Subject: [PATCH] arm64: dts: qcom: msm8916-samsung-serranove: Add display panel Date: Thu, 14 Nov 2024 23:07:18 +0100 Message-Id: <20241114220718.12248-1-jahau@rocketmail.com> X-Mailer: git-send-email 2.39.5 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable References: <20241114220718.12248-1-jahau.ref@rocketmail.com> Content-Type: text/plain; charset="utf-8" From: Stephan Gerhold Add the Samsung S6E88A0-AMS427AP24 panel to the device tree for the Samsung Galaxy S4 Mini Value Edition. By default the panel displays everything horizontally flipped, so add "flip-horizontal" to the panel node to correct that. Signed-off-by: Stephan Gerhold Co-developed-by: Jakob Hauser Signed-off-by: Jakob Hauser --- Patch base is kernel/git/qcom/linux.git current branch "arm64-for-6.13". The panel driver was recently added to linux-next: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/log/dri= vers/gpu/drm/panel/panel-samsung-s6e88a0-ams427ap24.c?h=3Dnext-20241101 The associated dt-binding in linux-next is: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/tree/Do= cumentation/devicetree/bindings/display/panel/samsung,s6e88a0-ams427ap24.ya= ml?h=3Dnext-20241101 --- .../dts/qcom/msm8916-samsung-serranove.dts | 58 +++++++++++++++++++ 1 file changed, 58 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8916-samsung-serranove.dts b/arch/= arm64/boot/dts/qcom/msm8916-samsung-serranove.dts index 5ce8f1350abc..caad1dead2e0 100644 --- a/arch/arm64/boot/dts/qcom/msm8916-samsung-serranove.dts +++ b/arch/arm64/boot/dts/qcom/msm8916-samsung-serranove.dts @@ -321,6 +321,41 @@ &blsp_uart2 { status =3D "okay"; }; =20 +&gpu { + status =3D "okay"; +}; + +&mdss { + status =3D "okay"; +}; + +&mdss_dsi0 { + pinctrl-names =3D "default", "sleep"; + pinctrl-0 =3D <&mdss_default>; + pinctrl-1 =3D <&mdss_sleep>; + + panel@0 { + compatible =3D "samsung,s6e88a0-ams427ap24"; + reg =3D <0>; + + vdd3-supply =3D <&pm8916_l17>; + vci-supply =3D <&pm8916_l6>; + reset-gpios =3D <&tlmm 25 GPIO_ACTIVE_LOW>; + flip-horizontal; + + port { + panel_in: endpoint { + remote-endpoint =3D <&mdss_dsi0_out>; + }; + }; + }; +}; + +&mdss_dsi0_out { + data-lanes =3D <0 1>; + remote-endpoint =3D <&panel_in>; +}; + &mpss_mem { reg =3D <0x0 0x86800000 0x0 0x5a00000>; }; @@ -330,6 +365,13 @@ &pm8916_resin { linux,code =3D ; }; =20 +&pm8916_rpm_regulators { + pm8916_l17: l17 { + regulator-min-microvolt =3D <2850000>; + regulator-max-microvolt =3D <2850000>; + }; +}; + &pm8916_vib { status =3D "okay"; }; @@ -425,6 +467,22 @@ imu_irq_default: imu-irq-default-state { bias-disable; }; =20 + mdss_default: mdss-default-state { + pins =3D "gpio25"; + function =3D "gpio"; + + drive-strength =3D <8>; + bias-disable; + }; + + mdss_sleep: mdss-sleep-state { + pins =3D "gpio25"; + function =3D "gpio"; + + drive-strength =3D <2>; + bias-pull-down; + }; + muic_i2c_default: muic-i2c-default-state { pins =3D "gpio105", "gpio106"; function =3D "gpio"; --=20 2.39.5