From patchwork Tue Jul 23 13:15:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raymond Hackley X-Patchwork-Id: 13739987 Received: from mail-43167.protonmail.ch (mail-43167.protonmail.ch [185.70.43.167]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 59A6A14E2D0; Tue, 23 Jul 2024 13:15:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.70.43.167 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721740523; cv=none; b=I1A54FSYA6WiJ2fUPvjcTfhc3eI89CE2P0/w86r12WjIqRc+mNpXgP6oxLozUykT0GFoEDzyVm3K1h9juihp8FEhkk0gjMjIruuuXr5U4V0sEjE+LrFQ4boBfrxSV2Tl26nsXhKeaqoRVjsoexusoCC4r+kt6lxNuqfQQ9iF/vE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721740523; c=relaxed/simple; bh=/6winp2by/iIplqWPNZeZXrWGYotUEFtKmE6wfbZ/Mk=; h=Date:To:From:Cc:Subject:Message-ID:MIME-Version:Content-Type; b=saNFwCEW94hj8WEVcEKaSkNQ+9XQuGmHQw++KjFMkWyltO/BEOaQG/C6x+LT3lnHeb6ZToDL2155FcmSIAKDFwZebXSpbrSeIAhV8gIC3vYDGxgfTIOE+X2hKUU88fsrLcKmwzOx2YNXFoQdiYp0VHDuq7YNHJIzEbQcL82Ey/E= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=protonmail.com; spf=pass smtp.mailfrom=protonmail.com; dkim=pass (2048-bit key) header.d=protonmail.com header.i=@protonmail.com header.b=NeQ/DRhP; arc=none smtp.client-ip=185.70.43.167 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=protonmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=protonmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=protonmail.com header.i=@protonmail.com header.b="NeQ/DRhP" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1721740514; x=1721999714; bh=on9ibum8FjWFI1I9Gyja7J9aoxew839hbA9XJGpxTrg=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=NeQ/DRhPM17BmRx98+ZxFaba1FpdB9OgCBivxCy2hWYxiCT6L/o+5HtxNeQz9ZsPu kV4SCLPG2iWL1HhF90E+if0fG1v0pgHRQ/b8nSwJsvcVvDCnIJmDvYnJ08OeKEXrPb xd8yjFgJkZ9oyISAubPujS7mDUlVVXM8Mz0KU+mPOHGaI94XBbpI8PLihi0KCpkcEm 3kmdVWjUOMy7c6aB06Dw+ZpsRFwqZDtZENqqJcBQqRjMeSH06aNtlDtecO89ubBuWj hP3FEPQpKe78GBtIZtWVsWhkbzJJ2XqZqGh23Z3oH+YrOZji4ZQcNsrEMe4mC0W/dS ONsdwWNZL528w== Date: Tue, 23 Jul 2024 13:15:09 +0000 To: linux-kernel@vger.kernel.org From: Raymond Hackley Cc: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Stephan Gerhold , Nikita Travkin , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht Subject: [PATCH] arm64: dts: qcom: msm8916-samsung-rossa: Add touchscreen Message-ID: <20240723131441.1764-1-raymondhackley@protonmail.com> Feedback-ID: 49437091:user:proton X-Pm-Message-ID: fea10e1a407495c71894b7df662f94914cc68eff Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Core Prime uses an Imagis IST3038 touchscreen that is connected to blsp_i2c5. Add it to the device tree. Signed-off-by: Raymond Hackley Tested-by: Juan-Rafael Fernandez Reviewed-by: Konrad Dybcio --- .../boot/dts/qcom/msm8916-samsung-rossa.dts | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8916-samsung-rossa.dts b/arch/arm64/boot/dts/qcom/msm8916-samsung-rossa.dts index 1981bb71f6a9..3413b0970c4a 100644 --- a/arch/arm64/boot/dts/qcom/msm8916-samsung-rossa.dts +++ b/arch/arm64/boot/dts/qcom/msm8916-samsung-rossa.dts @@ -16,6 +16,26 @@ &battery { constant-charge-voltage-max-microvolt = <4400000>; }; +&blsp_i2c5 { + touchscreen@50 { + compatible = "imagis,ist3038"; + reg = <0x50>; + + interrupts-extended = <&tlmm 13 IRQ_TYPE_EDGE_FALLING>; + + touchscreen-size-x = <480>; + touchscreen-size-y = <800>; + + vdd-supply = <®_vdd_tsp_a>; + vddio-supply = <&pm8916_l6>; + + pinctrl-0 = <&tsp_int_default>; + pinctrl-names = "default"; + + linux,keycodes = ; + }; +}; + &mpss_mem { /* Firmware for rossa needs more space */ reg = <0x0 0x86800000 0x0 0x5800000>;