Received: by 2002:ab2:b82:0:b0:1f3:401:3cfb with SMTP id 2csp800224lqh; Thu, 28 Mar 2024 17:52:22 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWLeuuX/5at9FIYcf8N6yRKqUeTEqRaipVeVPIT8+o2J9m4Nq8dfhji5cGYBLYfdNZVCW+/wxD9rsai6HHP2HNamxGeEe+yddUY1uui4w== X-Google-Smtp-Source: AGHT+IGzkvLf6fKUztOB8HJS1b3rUbwv+FwlqJLVwJ9VzoHoefO5qNdEXi85XQEriIfrBO7jT+P1 X-Received: by 2002:a05:622a:1752:b0:431:83de:1903 with SMTP id l18-20020a05622a175200b0043183de1903mr1171396qtk.41.1711673541959; Thu, 28 Mar 2024 17:52:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711673541; cv=pass; d=google.com; s=arc-20160816; b=dXSzJUTvvDVStBiRzMWB222IrGwmQ2LTZ1USHTCNu+OpTs5FT6ABzBsO9aZKQvsbY3 PKrJb/rmG0ECyPWpUhfkJ6QnZpPc8VgiTC97pmzJU3DmcM4ZGHm577im7H3McksWOLr6 GKbUZUJPiQNHySFz3c4Zr/K3d01NWQ7ZzbaH2wqHlz2xogowUPw/GkQc7hGSC2qMk7Vp MoXoUaGNzK6/Hn1c65Q8+Rq5l1WapJtjOTEqnKUFL5yDPyZB18klF7QBnkgSfkn/BFvo 7jaF6A9x3jT2ePGK/8m4WWW9AqGrZS4C2JjJewpmL94p7PA1k59TebOmLbcOKM4wMHai 5tDw== 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=odkXG5UmuQtNgheOiTVLTUF5waPTq7lcQlYOQN78IpQ=; fh=WquDyDz9F9Q0wbqRe2HXI9cacNpo7JwOkbdaKHKKN5M=; b=FR4HhgVNjRh99s8IrBeAznkH4XG7GbUfw+nAYQ1Ve3E0/JX0b5hmyB+gEoBJxF3nib 1L7a8ubMFSOJZ/yc22DIX8cZ33eoxinRnkwzW2qNjhD3vBEa3UqTDpg5a0KdVYY7fcmj Q/zYiL3Rgx7PUlaIzoMfZUjXu73h+S7TnTPSrH4GAQ8lgJtHhGRZQMQfpWmlZDghNODz 6GWYpLU3VClA/A8C6Jv8oFcqXpKUR4+mVY20AoGBxMDgiuGG12FHPN0Dv4GFRrz4hCQe 54aYE/AJxhLJV86/grH9RXvYJGbrnK3sigDzszEADE91OmcrkRY9uF66861HAGNLmokt 9iEA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=g3VHvE81; 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-123927-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-123927-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. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id w19-20020a05622a135300b004314e501092si2594607qtk.45.2024.03.28.17.52.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Mar 2024 17:52:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-123927-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=g3VHvE81; 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-123927-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-123927-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 A00BB1C24672 for ; Fri, 29 Mar 2024 00:52:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CFF11111AA; Fri, 29 Mar 2024 00:52:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="g3VHvE81" Received: from mail-ej1-f44.google.com (mail-ej1-f44.google.com [209.85.218.44]) (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 D7BB5FC1F for ; Fri, 29 Mar 2024 00:52:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711673534; cv=none; b=MJc7CLwDQSw+ZtCOyN8P0zAFE3GaNo7c9lNwPq8pKLXPcziArfFlUBQmc8Y9DkHNe+6j6Dhgprs18oqzBX9k8OQK6lrdMgLDX4L6H8IDVV8AGSaL1gy/cNGsL5SVmaZ9RmbF3dBapN+2a1/WfRKsgIeknPoH6fPOQ6Z+hz5JYJ4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711673534; c=relaxed/simple; bh=27aZ2S742GNSBlNOae1k6F/LljR7D6xbIdvdSXbZJ6E=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=DUbQ1Z+4yrZdlCH0+gMacUSMcLYeIuf4u4OdMTJ+vXK+MIdFvdBHgPpSxC6Zx+8ztImMwPGQpEPrIWPP01WbyNUn21H64WUpZKzCmL0faS9BTVglcLhXDH+XzHdt7ohbcXB4YxI8s8Nmd8PkTWhM38BELoy6sX5nWAzC4ceWF90= 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=g3VHvE81; arc=none smtp.client-ip=209.85.218.44 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-ej1-f44.google.com with SMTP id a640c23a62f3a-a46ba938de0so212039066b.3 for ; Thu, 28 Mar 2024 17:52:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711673530; x=1712278330; 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=odkXG5UmuQtNgheOiTVLTUF5waPTq7lcQlYOQN78IpQ=; b=g3VHvE81yaqWe3HRe91W5i42nR695SdZlH3mvpaD+QLDFxZ0OjrmaP96xcY6T4sq7X XslZxiq0Eb1LAxxd2JIJNp81DB32apRrLENIqOF+O7usGbIjMWSu4Q8zeSzsjFP5OymX FdLzw84OMZ9REAeqKgm6nckFjKHFC9N6kwIkQNbq/wIZoGYOyMSNLftwODbtZpbKaX+o /ubmy4UXQogkGCEfz+zSJbXMS5JnbBRzaAsgae+7mMGR+eDX7jbkb7usTevtJhmqfqaa p9Ocx60bnEyyN4CsG7Uq1JjXmdloWzLI+KSLBqiavFuky3aX9Og2zGo7rF0RbBFdqhcY 6x8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711673530; x=1712278330; 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=odkXG5UmuQtNgheOiTVLTUF5waPTq7lcQlYOQN78IpQ=; b=j7omdXWA8hkXndFJOtrZNsRGQLNToYgqEKL3AufFmRoCXCjavdk5/lWnn+mWHI9acY qEbFH3KSWcpn7TIGIBP6C3tno5Tk3L3tuWQK+XMRelMQuMW02ZGJqYOSz4/P5e1mPf8q NX6vZR7UnqN5GZRq5xrH4Bw/wrtlTi9Ssa7aR7obcrkL+Jds9XSUMf85h8FGNUWKW9EG izacbEwHzcVWmu/SGo8qfgAGrXpZ/vYoS7vEs5fLNcG6lZdX/S7Sd5egOf6yLZvDAy6H /5CIF6nm19PBxzSD0tJwNmOb6P3sZhPdfNH/0lJaVbrKVZkXCWQOGUVYPYug0OGB/afG LLGg== X-Forwarded-Encrypted: i=1; AJvYcCUYXkCBPr2XeK6XKAlsHcgR7l/S8tz6fK87nYMl+GFoHG7t69DUmpFaEzu0lNsFvNvjlnBqb2xS2snhclvjSq9HUwBaz0VIz9nOOaF1 X-Gm-Message-State: AOJu0YwrzungIYSAzi/qyQCrPNNwj6Cy5jpg8DeMsOnkPP0+uCNnniB4 2fjNBS5N+293Y1JKS7kbR5V0px3g5i/sb0eU1sXGfoanAzX6VDLF1jIltyTaCY0= X-Received: by 2002:a17:906:5653:b0:a4e:183d:8893 with SMTP id v19-20020a170906565300b00a4e183d8893mr475463ejr.60.1711673529980; Thu, 28 Mar 2024 17:52:09 -0700 (PDT) Received: from [192.168.92.47] (078088045141.garwolin.vectranet.pl. [78.88.45.141]) by smtp.gmail.com with ESMTPSA id ag12-20020a1709069a8c00b00a4e222225ebsm1270983ejc.15.2024.03.28.17.52.08 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 28 Mar 2024 17:52:09 -0700 (PDT) Message-ID: <1cdbd387-e937-4d5c-bedb-b4275fdf84cc@linaro.org> Date: Fri, 29 Mar 2024 01:52:07 +0100 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 1/2] V2 arm64: dts: qcom: Add support for Samsung Galaxy Z Fold5 To: serdeliuk@yahoo.com, Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20240329-v2-dts-add-support-for-samsung-galaxy-zfold5-v1-0-9a91e635cacc@yahoo.com> <20240329-v2-dts-add-support-for-samsung-galaxy-zfold5-v1-1-9a91e635cacc@yahoo.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 UQ3imZirlPjxZtvz1BtnnBWS06e7x/UEAguj7VHCu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HwsF2BBgBCAAgFiEEU24if9oCL2zd 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: <20240329-v2-dts-add-support-for-samsung-galaxy-zfold5-v1-1-9a91e635cacc@yahoo.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 29.03.2024 12:08 AM, Alexandru Marc Serdeliuc via B4 Relay wrote: > From: Alexandru Marc Serdeliuc > > Add support for Samsung Galaxy Z Fold5 (q5q) foldable phone > > Currently working features: > - Framebuffer > - UFS > - i2c > - Buttons > > Signed-off-by: Alexandru Marc Serdeliuc > --- Your commit title now includes "V2". Move it inside the square braces the next time around, so it's like [PATCH v3 1/2]. With b4, this should be done automagically, though.. [...] > +/ { > + model = "Samsung Galaxy Z Fold5"; > + compatible = "samsung,q5q", "qcom,sm8550"; > + #address-cells = <0x02>; > + #size-cells = <0x02>; These two can go [...] > + reserved-memory { > + /* > + * The bootloader will only keep display hardware enabled > + * if this memory region is named exactly 'splash_region' > + */ Ouch. [...] > + vreg_l15b_1p8: ldo15 { > + regulator-name = "vreg_l15b_1p8"; > + regulator-min-microvolt = <1800000>; > + regulator-max-microvolt = <1800000>; > + regulator-initial-mode = ; > + regulator-allow-set-load; > + regulator-allowed-modes = + RPMH_REGULATOR_MODE_HPM>; > + regulator-always-on; Any particular reason as to why? [...] > +&remoteproc_adsp { > + firmware-name = "qcom/sm8550/adsp.mbn", > + "qcom/sm8550/adsp_dtb.mbn"; > + status = "okay"; > +}; > + > +&remoteproc_cdsp { > + firmware-name = "qcom/sm8550/cdsp.mbn", > + "qcom/sm8550/cdsp_dtb.mbn"; > + status = "okay"; > +}; > + > +&remoteproc_mpss { > + firmware-name = "qcom/sm8550/modem.mbn", > + "qcom/sm8550/modem_dtb.mbn"; > + status = "okay"; Unless you stole one from the factory, these firmwares will not load on your phone.. > +}; > + > +&sleep_clk { > + clock-frequency = <32000>; > +}; > + > +&tlmm { > + gpio-reserved-ranges = <36 4>, <50 2>; Would you have an idea what these GPIOs are used for? Konrad