From patchwork Tue Feb 27 12:17:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jianhua Lu X-Patchwork-Id: 207183 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp2657749dyb; Tue, 27 Feb 2024 04:22:11 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVkBX4OM3u9VLuYY04+r9mvp/Lu/cpI8/MXJ0clW81UBsXFD+d/xaBJA0eApWHylSCYR8X+2eaHfVB6nAgpBXemrAuRlA== X-Google-Smtp-Source: AGHT+IEpf6wq63KO1o12HSxKJoqwjp33DETn4RqiX8CBCV2cb03NSA+j5eBZ6xvKZX2wvxf6Of9+ X-Received: by 2002:a05:6358:b011:b0:17b:58a6:5172 with SMTP id l17-20020a056358b01100b0017b58a65172mr11182145rwn.21.1709036531491; Tue, 27 Feb 2024 04:22:11 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709036531; cv=pass; d=google.com; s=arc-20160816; b=PoM/We+KNpGst6UOTDuEBxJHHcJEuxSTKFxkVIm9pXOEPljYpnUBb6pulP/0oNxGPE 1Imp7+W+6o41lKpC/7Dqy/4zDfM7XeZIZ9jddf8sWAwjxRCXswVGPY1W0IwpCtNwxOR4 /D4DZsp6xvFL7MjADpy+4qJxlZ8oLvxaBRlA1bW8ZIwdTlQR2x6XgMfZDndHMSWa5he0 d8mH1jbRmpoUFCK1McdaRz3Cp43SaNoJui1TA7MIYAM2pu5CqSgMPVi452kakzCROrur uDDaiJMi514vWdzRY2jWUL3KZtFYxA38EQwk07HPPTSfRugHzntqpWE1fXNzN/+70jcM rGGg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=lb5Ok4w85QGgWrvRTc/uH58nsPSEhf/ecmwtP/8f9Eo=; fh=h/gq7rLoCBK7FKAV5IBtbEiTEu1ckCBko4lIiCb0KBs=; b=cZunq9qDF73IGx8gGTOYAqN6VyqE08ftq0Mw1dizyIFD92YLknKtHQ1jQay+k6zNKu sP2KWbrMUtDV5MSC9M4FEukgsCiazU/dTz6sReV+eepXsawPn7G2lWUrQFiYqR/fOBFl y34DU5kpjqZX6waVCfNlp1IQ33OjBbILdwda6B4APEzNorOZUpvdTTkWw504f4D8uXH+ yHCVmo//g7zIS6jBkgUc5IC9/LFSROKHGz2keTzpq4A8olr3BO3dOl1GTWwgrPRGhl6s zUbqTnYZ0SKhqG9NiLNAqYtJRqSTFP67AVO2nXyvFXWdc6EBFI8goFmAWPgD+nWXrboC FyJQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=iOFLqdpy; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-83206-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-83206-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id f14-20020a056214076e00b0068fd2ee2b00si7332407qvz.19.2024.02.27.04.22.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 04:22:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-83206-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=iOFLqdpy; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-83206-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-83206-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 47FFE1C24C9E for ; Tue, 27 Feb 2024 12:21:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8632613B7BE; Tue, 27 Feb 2024 12:17:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="iOFLqdpy" Received: from mail-pl1-f174.google.com (mail-pl1-f174.google.com [209.85.214.174]) (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 56C6313B2B2; Tue, 27 Feb 2024 12:17:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.174 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709036261; cv=none; b=pjc7tHZrcQO4iWKdfP5kWfIl8np0Jsvys/6dxGIHp45pOVQwuYp8oPGLZd4jpUn0JlpE9e7IcUE28TJ7r0x7Egv/3p/CtL3BNCWZZgyluCVlntM2sISYThpuanATr0BoeOlwrGXUXRSg+0mIDEG2yI/T7XFNsi3uSgDgln3Qo44= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709036261; c=relaxed/simple; bh=SzCGOoE3hkaTLGJ0e9jX5jGhMOFFBIeUwgKDelutdcQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=e4ZYUWh8ENf9qQmTJ4r7j1Vy/iaI/zt4Vd4r1gt6dJl/524AuwC8Re9XVLt3ycXEV5DZ3+k2M8yZFqHMb1ePBm1y/+SCITznGgp/6SUhhKEbq9FOBM82JM/K5YceN1xkyf0VcXlbnCP03Mrt6FLaFUiH/l66/ZNQGFOUuoZAEfc= 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=iOFLqdpy; arc=none smtp.client-ip=209.85.214.174 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 Received: by mail-pl1-f174.google.com with SMTP id d9443c01a7336-1dc0e5b223eso34571425ad.1; Tue, 27 Feb 2024 04:17:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709036259; x=1709641059; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=lb5Ok4w85QGgWrvRTc/uH58nsPSEhf/ecmwtP/8f9Eo=; b=iOFLqdpyt7XD8j0E3PmQFAdtS+epPXHnFrZiIER39HR8jJRq8LAn/KgMo+7cr1WF6O O3hIRf7eSBlVSXDB066oRh+7BpCDiEjFm39CNxQ5Keb9QgzKj91YIK7EjqKMjrkG8dbZ 882e5maEsqtMIwL37OVxuT1AlQdgP9G3FuE1HY0uV182QLx+bhmw/XBaAEQUQPwH1C3o Evcj7vcp2Eva4il2f8rvMfFOxSXMrzHdBnPTWP9Uc30Q6vlVnvfUA88H69zKyljGJKYm WJQAHkMLDrFh0YcGi8gqqKPs8B156vzeUyaYmMjJyL9ATVzguyPQxqmFJlKNP4hjQKSZ o1YA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709036260; x=1709641060; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=lb5Ok4w85QGgWrvRTc/uH58nsPSEhf/ecmwtP/8f9Eo=; b=k/KomnL4a5spHldudmA0F3RaSvszQXPQn092ugDQnXl38OW5yYKipYjs85tXrzZFMm dEUK2j4fy41282O6CgCoLbJ0oyqlZ79868URZJjd4z7dXPa0qef163G8+/zw+kCl909A h18Uusw0ZYEdNGMw3MhgcZlqQ2f2ceKdpnoSvXNKmbbFhU6xHlVHiWAbWZOQP/N363WB ArXaxLTRBeJJ0aXAcCx+HnDoPTn7jGvHG4OTSyYiB6CLE7wFKger7bbUAoli9faZnxjR +KN41B++egw/zWmTP8T0+GohBovnlZhvui/YCXQCqn+ADZdZB42pT97yI+v80zXBOMIF GDFQ== X-Forwarded-Encrypted: i=1; AJvYcCXr3mVpAz9JV1baym1Y3HT2TYBeYa6NdtwqHJvgcSs8G5pKakXWrGvjE7j1kHx8kqdfuWKJe9PBRhHpJiadusS9iCOMWjdAsF+knMGsRsY922sNUhIylTP0ZshnLEwS9biard/F4hba2w== X-Gm-Message-State: AOJu0YzzdYHkmbggPaaWxR2k8w64WWp3drBV4FFCY/Q2dJUOIGBjkMkJ pD5Ya8jQoabyj9Q5GCg0RrBHuGM+XWgIIdrFvORrY34M/qGON6M9kkSilXWD X-Received: by 2002:a17:902:6506:b0:1dc:8fb0:2b9e with SMTP id b6-20020a170902650600b001dc8fb02b9emr5212017plk.34.1709036259350; Tue, 27 Feb 2024 04:17:39 -0800 (PST) Received: from localhost.localdomain ([103.149.249.227]) by smtp.gmail.com with ESMTPSA id m17-20020a170902c45100b001d77a0e1374sm1409563plm.151.2024.02.27.04.17.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 04:17:38 -0800 (PST) From: Jianhua Lu To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Jianhua Lu Subject: [PATCH] arm64: dts: qcom: sm8250-xiaomi-elish: set rotation Date: Tue, 27 Feb 2024 20:17:44 +0800 Message-ID: <20240227121744.10918-1-lujianhua000@gmail.com> X-Mailer: git-send-email 2.43.2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1792054689946853515 X-GMAIL-MSGID: 1792054689946853515 Xiaomi Pad 5 Pro has a 2560x1600 portrait screen, set RIGHT_UP rotation to make it look like a landscape screen. Signed-off-by: Jianhua Lu Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-common.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-common.dtsi b/arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-common.dtsi index 946365f15a59..6f54f50a70b0 100644 --- a/arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-common.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-common.dtsi @@ -1,6 +1,6 @@ // SPDX-License-Identifier: BSD-3-Clause /* - * Copyright (c) 2022, 2023 Jianhua Lu + * Copyright (c) 2022-2024 Jianhua Lu */ #include @@ -551,6 +551,7 @@ display_panel: panel@0 { vddio-supply = <&vreg_l14a_1p88>; reset-gpios = <&tlmm 75 GPIO_ACTIVE_LOW>; backlight = <&backlight>; + rotation = <90>; status = "disabled";