Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp1921607lqa; Tue, 30 Apr 2024 03:26:46 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUTtHwCHFoAvaM7v4SL0KnfRBdABFyCiW9sNNbzeDAK8wFbh1gdNT8QgBcLc+8pnKw3SVG5Oc71Me65hA23qhX0fzGRDXGzTazdRHdCww== X-Google-Smtp-Source: AGHT+IFvuHLfsjDDOIf9bxnUXZAJC9k0X+/xGxCcPT73et/VnezU7Q5p0dzIRQGBIzWwitu55lfx X-Received: by 2002:a25:5f48:0:b0:dd1:40dd:6631 with SMTP id h8-20020a255f48000000b00dd140dd6631mr14968719ybm.3.1714472805706; Tue, 30 Apr 2024 03:26:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714472805; cv=pass; d=google.com; s=arc-20160816; b=WJ0ZELapVnhp5vWvsQpbPFK0BcLhe2lTPaGgd8FIQPWJ1vn8JtyScCAU/Vdp1uzX/T AP4Xb7F7zP30CiPRldPqP+ETCS56uenTmRm9SXOkvUDgJJu9Kr8wtkAE0RYKLPvb57Ol cgUlQzyttl+wOzHSEYpvxRPhagI5NOeBe4sdYrgTcw1oscjhFLNspU17HvCHRhi+U42a FJT4g9zXBpI+/t8pb8i93sBJeoQXa9glitH0oL+OO9NfMKcTNc2FOWX9CtCIGVwLVoVV R3e9h3u3ClM4Y19KLNIi3AnS+pWx/hcO5mudss0EtDgDTvtt5o71bLQecZk1IYp7k4+7 el0A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=6KX84ePfZzFlwa4FRm7kcHRU+sZmx+bj41bqfQ4RTt4=; fh=xa2+X0wx1CYR0yvGFexdPP+eqt0gGUlx/+SkOGhtcZo=; b=VwzOwXBVjnlN4tgmkc4aWh3uh5zHEgNMhGjJV8hNQSnqowKE/18b37Pkj3EoINAwWy TQnWODMrnSstRnTUKfRaBlbYpoWym2d1pBdOeffkIgtYlR6uifZhwkAQ0J77gHmVSqcf 4A0R7KlqjPcEC8MQLDiskut7dLhZRg8Y1SlomZ+dN9LymO2qHq9GJ6eTZJZlRm7/0II3 fxtXwO6HooIaG+b5gM4F0lyfaNbprBHGeN4Rt0Um+P7CoH9nnzgafrbd/A0HpDa3SLqy 8Y8G1hmvgxHM8WIrluB6AM+Kqtbp0/yfsrSlJskTnxjhQy4oJSkXpWizUshG2F3Iv6zz yp2Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YaXcaxov; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-163768-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-163768-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id dp11-20020a05622a47cb00b004367f073cc6si25894888qtb.513.2024.04.30.03.26.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Apr 2024 03:26:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-163768-linux.lists.archive=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=@linaro.org header.s=google header.b=YaXcaxov; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-163768-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-163768-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 5F6091C2162A for ; Tue, 30 Apr 2024 10:26:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9474313D299; Tue, 30 Apr 2024 10:26:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="YaXcaxov" Received: from mail-ed1-f52.google.com (mail-ed1-f52.google.com [209.85.208.52]) (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 D8D4D13B2BC for ; Tue, 30 Apr 2024 10:26:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714472795; cv=none; b=F2iUF1+Chuj82cALN7p7/+W9f1Rh1llFge4sSZ/yyeap7rEuz0583qZ1lO/XmUxqI7iHhdfjvIWvK5rk7O5STqE88JcxCCaA6lqG49LkVVZgdvQKzgHSnXEQAVv1aNnT/abrTyrH18ba6NKr8xhJprx6owf2RaeGbKlLRQX6KHo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714472795; c=relaxed/simple; bh=Tx+zXl41UygFVaRh51l0QbdbnejH4NtOtfQ7nvL9xfM=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=S6CjXNnFz5Zn59vpSznxi2RFuwvat+V4sxfNF8FzrLBAUDupwlTZO9o0MPbhZoFFQv63tNUMLBTiSJ46kOHhcWqB7C1BSDh9SyIyX6URIfqHf4CIml+vzRv5tlCsMQpgrYj6vdfX7VewMfOinaIU7DIm6YQrjT0lQCLymNG64VM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=YaXcaxov; arc=none smtp.client-ip=209.85.208.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ed1-f52.google.com with SMTP id 4fb4d7f45d1cf-57225322312so7334959a12.1 for ; Tue, 30 Apr 2024 03:26:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714472792; x=1715077592; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to; bh=6KX84ePfZzFlwa4FRm7kcHRU+sZmx+bj41bqfQ4RTt4=; b=YaXcaxov6H1JT2ALvIppMrKBW69NrEwfrpPnPsJ/8NLR67o75amfoU9SONVyb7o/+Q 32/XzGEpwOcN8fFjFLOsLmMzAasV/XSJJnQrqABcVO+SyqLL7znOLxpmD/FcSZUkPY1X k2BeyMT7jB106PTlSDiVkZAuTVGAJTigzlUN9KV26HVy3sbmHK9f4UNehG5lwLPmx5Rz VUaCnQaElliAAsNFgdnfYOxyfhM9PgeenU1g9mTsnx85SCo+3Z3jSrPOgHYu628PXSXo A6IwKH45yPOjCWW82N43gVLI5ehuSdYMB+V8nLd9cX+uBHH1WwxBR/HvsqCqc1g9p8h+ 9LtA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714472792; x=1715077592; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=6KX84ePfZzFlwa4FRm7kcHRU+sZmx+bj41bqfQ4RTt4=; b=fPEvp14U2c8wofdEgDnidFvO9KlQvo9iMyAtlg3hJLoPaAELHkZZo5dUvIJzbJmPew Sco1NXrtUyBax8FofrO7WAPvbPjxjZw5P81GGNxC65inixrImv5VONboYsil6yw6+XDn 12tXEDFb6p28PEdyvICrHrXzEuGGk7Jec8fFiBX2ZaKszGriZk5F7r6OId9iiOeIoK/c cRK5dYmRzh7NHiCeKFtbkGayO/Zlb4IcvPOtwjwEiRQp1J/hvE8J6t9xJcjXGoH7l3oz H/Bv/+EQjn7Y0jiFX3Mt7FF3Kuvjm8nT5GVAaCcU9y39c+sgNv+MX1mNrldpBV6HJ2Tv Jh4w== X-Forwarded-Encrypted: i=1; AJvYcCWBjowTqQ0w/naglYuFX2P8faaxvrJF00iDa9kFR27dRbMlLJdDkFjjzUTmme/67wxO/WBoPJ05rR31lmeb/BF/2LlJuuojTznYAIJY X-Gm-Message-State: AOJu0YwuBZ9ZHkOu8fxhovQF0caUjnrp50UxoZZOkVwXeXv1PiBnNoC/ ZjdZ06AR4MPv3Q0GRkS1AIhnUu8Q+pKb9FxsE3WwcJAxg8vTa1+521EXtVlhzuE= X-Received: by 2002:a50:8e13:0:b0:572:7142:4594 with SMTP id 19-20020a508e13000000b0057271424594mr5879252edw.29.1714472792206; Tue, 30 Apr 2024 03:26:32 -0700 (PDT) Received: from [192.168.114.15] (078088045141.garwolin.vectranet.pl. [78.88.45.141]) by smtp.gmail.com with ESMTPSA id i18-20020a50d752000000b00572336c900asm6934614edj.74.2024.04.30.03.26.29 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 30 Apr 2024 03:26:31 -0700 (PDT) Message-ID: Date: Tue, 30 Apr 2024 12:26:28 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 10/10] arm64: dts: qcom: Add AYN Odin 2 To: wuxilin123@gmail.com, =?UTF-8?Q?Uwe_Kleine-K=C3=B6nig?= , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Junhao Xie , Neil Armstrong , Jessica Zhang , Sam Ravnborg , David Airlie , Daniel Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Bjorn Andersson , Tengfei Fan , Molly Sophia Cc: linux-pwm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-arm-msm@vger.kernel.org References: <20240424-ayn-odin2-initial-v1-0-e0aa05c991fd@gmail.com> <20240424-ayn-odin2-initial-v1-10-e0aa05c991fd@gmail.com> Content-Language: en-US From: Konrad Dybcio Autocrypt: addr=konrad.dybcio@linaro.org; keydata= xsFNBF9ALYUBEADWAhxdTBWrwAgDQQzc1O/bJ5O7b6cXYxwbBd9xKP7MICh5YA0DcCjJSOum BB/OmIWU6X+LZW6P88ZmHe+KeyABLMP5s1tJNK1j4ntT7mECcWZDzafPWF4F6m4WJOG27kTJ HGWdmtO+RvadOVi6CoUDqALsmfS3MUG5Pj2Ne9+0jRg4hEnB92AyF9rW2G3qisFcwPgvatt7 TXD5E38mLyOPOUyXNj9XpDbt1hNwKQfiidmPh5e7VNAWRnW1iCMMoKqzM1Anzq7e5Afyeifz zRcQPLaqrPjnKqZGL2BKQSZDh6NkI5ZLRhhHQf61fkWcUpTp1oDC6jWVfT7hwRVIQLrrNj9G MpPzrlN4YuAqKeIer1FMt8cq64ifgTzxHzXsMcUdclzq2LTk2RXaPl6Jg/IXWqUClJHbamSk t1bfif3SnmhA6TiNvEpDKPiT3IDs42THU6ygslrBxyROQPWLI9IL1y8S6RtEh8H+NZQWZNzm UQ3imZirl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rFFGX1KmTkdRtcgC6F3NfuNYkYDAQgHwsF2BBgBCAAgFiEEU24if9oCL2zd AAQVR4cBcg5dfFgFAmQ5bvICGwwACgkQR4cBcg5dfFju1Q//Xta1ShwL0MLSC1KL1lXGXeRM 8arzfyiB5wJ9tb9U/nZvhhdfilEDLe0jKJY0RJErbdRHsalwQCrtq/1ewQpMpsRxXzAjgfRN jc4tgxRWmI+aVTzSRpywNahzZBT695hMz81cVZJoZzaV0KaMTlSnBkrviPz1nIGHYCHJxF9r cIu0GSIyUjZ/7xslxdvjpLth16H27JCWDzDqIQMtg61063gNyEyWgt1qRSaK14JIH/DoYRfn jfFQSC8bffFjat7BQGFz4ZpRavkMUFuDirn5Tf28oc5ebe2cIHp4/kajTx/7JOxWZ80U70mA cBgEeYSrYYnX+UJsSxpzLc/0sT1eRJDEhI4XIQM4ClIzpsCIN5HnVF76UQXh3a9zpwh3dk8i bhN/URmCOTH+LHNJYN/MxY8wuukq877DWB7k86pBs5IDLAXmW8v3gIDWyIcgYqb2v8QO2Mqx YMqL7UZxVLul4/JbllsQB8F/fNI8AfttmAQL9cwo6C8yDTXKdho920W4WUR9k8NT/OBqWSyk bGqMHex48FVZhexNPYOd58EY9/7mL5u0sJmo+jTeb4JBgIbFPJCFyng4HwbniWgQJZ1WqaUC nas9J77uICis2WH7N8Bs9jy0wQYezNzqS+FxoNXmDQg2jetX8en4bO2Di7Pmx0jXA4TOb9TM izWDgYvmBE8= In-Reply-To: <20240424-ayn-odin2-initial-v1-10-e0aa05c991fd@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 24.04.2024 5:29 PM, Xilin Wu via B4 Relay wrote: > From: Xilin Wu > > AYN Odin 2 is a gaming handheld based on QCS8550, which is derived > from SM8550 but without modem RF system. > > This commit brings support for: > * Remoteprocs > * UFS storage > * SD Card > * Type-C with USB3 10Gbps and DisplayPort (4-lane requires a pending > patch) > * PCIe0 (Wi-Fi requires the pending pwrseq series) > * Bluetooth > * Regulators > * Integrated fan with automatic speed control based on CPU temperature > * Power and volume keys > * M1, M2 buttons > * HDMI output up to 1080p 60hz > * four groups of RGB lights > * GPU > * Internal DSI display with touchscreen > > Signed-off-by: Xilin Wu > --- [...] > + > + backlight: backlight { > + compatible = "pwm-backlight"; > + pwms = <&pmk8550_pwm 0 860000>; > + brightness-levels = <1023 0>; Huh? Is min/max swapped? > + num-interpolated-steps = <1023>; > + default-brightness-level = <600>; > + power-supply = <&vph_pwr>; > + enable-gpios = <&pmk8550_gpios 5 GPIO_ACTIVE_HIGH>; > + pinctrl-names = "default"; > + pinctrl-0 = <&pwm_backlight_default>; property-n property-names [...] > + cooling-maps { > + map0 { > + trip = <&cpuss0_active0>; > + cooling-device = <&fan 0 1>; > + }; Please adda a newline between each subnode [...] > + /* Setting regulator-allow-set-load here will crash the device */ ?? > + vreg_l17b_2p5: ldo17 { > + regulator-name = "vreg_l17b_2p5"; > + regulator-min-microvolt = <2504000>; > + regulator-max-microvolt = <2504000>; > + regulator-initial-mode = ; > + }; > + }; > + [...] > + > + backlight = <&backlight>; > + /* touchscreen and display panel share the same reset gpio! */ > + reset-gpios = <&tlmm 133 GPIO_ACTIVE_LOW>; Perhaps you would be interested in drm_panel_follower [...] > + > +&sdhc_2 { > + cd-gpios = <&pm8550_gpios 12 GPIO_ACTIVE_LOW>; > + pinctrl-names = "default", "sleep"; > + pinctrl-0 = <&sdc2_default &sdc2_card_det_n>; > + pinctrl-1 = <&sdc2_sleep &sdc2_card_det_n>; > + vmmc-supply = <&vreg_l9b_2p9>; > + vqmmc-supply = <&vreg_l8b_1p8>; > + bus-width = <4>; > + no-sdio; > + no-mmc; > + > + /* SDR104 does seem to be working on this device*/ > + /delete-property/ sdhci-caps-mask; Eeeh.. I'm not sure about this. Maybe it still has some issues that don't manifest immediately. [...] > +&uart15 { > + status = "okay"; > + > + /* Gamepad controlled by onboard MCU */ As in, that MCU is connected to 8550 through this UART port? Konrad