From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (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 43E8221ABB9 for ; Fri, 25 Apr 2025 19:26:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745609175; cv=none; b=J1zG24UyoXvdj0lAC/InxPnbaiwuzJ3mnx9AZECYO9YMCcrda9FfBHxPMDT5jh0CsPruB+d2BZaV9kC3Raa/pOpHeq06ahWHwtH+teom03+Ei/aWGa3PQKk3sAvi/Q3LPxSf+FE2FwcwRIRNw4sCEYVF6KNsSUgEZBw/0EwLTk4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745609175; c=relaxed/simple; bh=x60z15u9qYTj44f9RXgg75GrQ1qzg8Z2bmf5H/QyEJQ=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=I130Vej9W76JDB4VBKrcVrnk2cfDmpb6pgVmjIitRuiwZECFfKtzoPRUukQAF06neUDDgkuLcxA+k6cS16SnQetYVkv+vKmy/FXMKn//X/SC12TccVOcHtmaASt9guEtSyI3ngVZixf1JyzN1bTx55LsR5F4A+LnCW2wkxJupKo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=D4RMZY/Y; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="D4RMZY/Y" Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 53PGJu83000401 for ; Fri, 25 Apr 2025 19:26:11 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= x60z15u9qYTj44f9RXgg75GrQ1qzg8Z2bmf5H/QyEJQ=; b=D4RMZY/YHGrtcRQw lVQYHp18r3mZtZ9ZsHHzxGCjgDID+iqFkDbxU4b+CzOWpSPob5qovR9UtF2y7i04 Q9TyAar5JYujyG1OjGF0BmcsCIL2fQb0lY2c6ingVPmIh1p1CWFFVK7UuplXnaX9 cbAbCc1ysortnRatYOjDgV4WedQXvO4/8SVgtuaviiWgw+VYspu3a7MYpDky3jKG MubdZPAed2QbA/CzjjVmfbfKOfTHHL75UC+ZznfpyoYZqoNunvuf8rJIezSTMtqB ke0u5kwSASdhQK7+3c2IforuyCKPF35xaWS7UECVzKKBxIliPe9HkLjWMHOLdsU1 wFD1sA== Received: from mail-qt1-f197.google.com (mail-qt1-f197.google.com [209.85.160.197]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 466jh3j2hp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Fri, 25 Apr 2025 19:26:11 +0000 (GMT) Received: by mail-qt1-f197.google.com with SMTP id d75a77b69052e-47aeab7b918so5954371cf.0 for ; Fri, 25 Apr 2025 12:26:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1745609170; x=1746213970; h=content-transfer-encoding:in-reply-to: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=x60z15u9qYTj44f9RXgg75GrQ1qzg8Z2bmf5H/QyEJQ=; b=QiR9yXweVKroM3zpVjPILq0EnE2i6lECGDI+8gDjWQoruRBM8iTmaxxsilJ102iS4w h+7N3gf4/vljSyPt77Tboa1X96cPDJJYHQ+BvdebXS7mw5tm4c6AXgJnN3NMZ7w7VxlC AlcKL1pHCDOP48epSfJGk2sh8GOOusnXvUcGeXBCaIZS5hKM/jD1z/tP9oRrPkQ1kBdI 0UxOm4gO2yk02FYJVlE7g/nRHH/2DWPKPKr3LFPSHABHZ80911zcnAeHorvewlJB8lsh v/3g1yhLqdU+cltSpEEbbPnm07pOhBY9XcA4UBkLnHCoIZ5/0Hg+8T3GgXa9O26Nhxvq OYXg== X-Forwarded-Encrypted: i=1; AJvYcCXvTYRHjoYQ4dwaq/NYZN7BCKTSRwZjxVWgc5A5RL+B5OxyGLOUw+QwYTITH39ZgDY8CvIDsA==@lists.linux.dev X-Gm-Message-State: AOJu0Yy2C8GVSRyiAO1TqV2430Z2yzx4FJQAZsKJ1xQHWjDwFlMYFTB+ JqvEkRpVllvIgOV8k1xIst9vBVKNvbgM1PJt0cWa8jWxuNPnVVbnwvpryCqgmEGcz/H6e1JJxjA TEMg/C0irN3Dq9T1RB06WfVR5AKzMtqkYJRlOi7NIBJ5qB4a8GfCwnQ== X-Gm-Gg: ASbGnctEjNtWjr4bDM00jmvUCrqgvzbwWz+bG4gAPycAuBcdg5CV5ycFBQ8DYcQSdcx IJ7joWgACsASorO3A5eS4PfxArI86D/t+5uXxJCx6ZPziFSlTkFTN4a69IU+nY83IGcPYdHVKuc PN6xmZ1PwThKwl+G35p/utEva5AZ9ft/72E2Jeo5LLaD/7xMAaQFX+egrOW6i2VSB8p6hCyRqo/ 9DBsYk8epB5JWGqBrJ75Z5ZXQP2NEyUztNp+LOaBXQggUFP30GGOtR4ypzsJkuhH5cIkWJZHajp 1PFS5CxKsJJ4eaNdXKXVgPCYoJWd4gb0NaGJsR7bs29NDmMAYTZ/tLcskghxjuRGmM8= X-Received: by 2002:ac8:5f94:0:b0:474:f9a1:ffb8 with SMTP id d75a77b69052e-4801e0172e5mr21298011cf.10.1745609169939; Fri, 25 Apr 2025 12:26:09 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGq2r9L2pHOoYHGaxcw9IGqNIifgrl5bAlz4s9wksJ/7yXxAXtbVK+GxNShhVnzb9jvGPXJzw== X-Received: by 2002:ac8:5f94:0:b0:474:f9a1:ffb8 with SMTP id d75a77b69052e-4801e0172e5mr21297581cf.10.1745609169507; Fri, 25 Apr 2025 12:26:09 -0700 (PDT) Received: from [192.168.65.156] (078088045245.garwolin.vectranet.pl. [78.88.45.245]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-ace6ecf7397sm180940066b.92.2025.04.25.12.26.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 25 Apr 2025 12:26:08 -0700 (PDT) Message-ID: <68e2c0ee-d5e2-40fd-9ca0-262ed3270628@oss.qualcomm.com> Date: Fri, 25 Apr 2025 21:26:04 +0200 Precedence: bulk X-Mailing-List: iommu@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v5 3/5] arm64: dts: qcom: Add initial support for MSM8937 To: barnabas.czeman@mainlining.org, Konrad Dybcio Cc: Bjorn Andersson , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Stephan Gerhold , =?UTF-8?Q?Otto_Pfl=C3=BCger?= , Linus Walleij , Lee Jones , Joerg Roedel , Will Deacon , Robin Murphy , Konrad Dybcio , Rob Clark , Sean Paul , Abhinav Kumar , Marijn Suijten , David Airlie , Simona Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Dmitry Baryshkov , Adam Skladowski , Sireesh Kodali , Srinivas Kandagatla , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, iommu@lists.linux.dev, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, linux@mainlining.org, Dang Huynh References: <20250421-msm8937-v5-0-bf9879ef14d9@mainlining.org> <20250421-msm8937-v5-3-bf9879ef14d9@mainlining.org> <2e3d94a4-d9e1-429e-9f65-d004c80180e5@oss.qualcomm.com> <790a0b7537e0b82b70bc4b32612ecee6@mainlining.org> <70635d75-03f9-49ea-8098-57cb144fda94@oss.qualcomm.com> <5ccb39f9393b44761127717096a38a46@mainlining.org> Content-Language: en-US From: Konrad Dybcio In-Reply-To: <5ccb39f9393b44761127717096a38a46@mainlining.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Proofpoint-ORIG-GUID: t8nPIfTMUI9XZOFKTXt-FoUy9BtmOCcX X-Proofpoint-GUID: t8nPIfTMUI9XZOFKTXt-FoUy9BtmOCcX X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUwNDI1MDEzOSBTYWx0ZWRfX9IzntwYNkLD7 /8yRKTbxKhpR0DX2guf7qjj/rS0fdygR90tmIIk5KdpI/sydHYMzxOQkEDXVK8z6aqYJu/IyQIp Iah1OCdamwg9p0xU0+7v1tNd6wwrvvxmsY0BvL+AXKVaWY4f5GVUzXpj3GJXoBASJQ+QT1yCWrh qP2TKM8ocMe3SQ4JPGt4nCx6VFZoKxtUhpfQqY6rtz68mXqU7wTXZcmRNjTmsU+YomxTd9aNlL7 02QKAJaU0TIojZyzDRP+0J/d83sxcR5sWAYu9brBedcHr7Jpn2iJ7N22nRB35WLToqJ86GC87ww YVWLGUxKAhOKgrvBV1sQFLHoRHf+Gmmocs92yN+LCBmhlttUAU3RCgZm0GETw2k6MqR+dcw3vfY +vdIfTol2LFnsiClF+3utdeZWpO6E853pw48864TiVOEIGNNwUi7Tk3ZHlRkuyn19IdSMcYq X-Authority-Analysis: v=2.4 cv=Mepsu4/f c=1 sm=1 tr=0 ts=680be1d3 cx=c_pps a=EVbN6Ke/fEF3bsl7X48z0g==:117 a=FpWmc02/iXfjRdCD7H54yg==:17 a=IkcTkHD0fZMA:10 a=XR8D0OoHHMoA:10 a=NEAV23lmAAAA:8 a=OuZLqq7tAAAA:8 a=bBqXziUQAAAA:8 a=uxr0c4oy3NFgYiDcH2kA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=a_PwQJl-kcHnX1M80qC6:22 a=AKGiAy9iJ-JzxKVHQNES:22 a=BjKv_IHbNJvPKzgot4uq:22 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1099,Hydra:6.0.736,FMLib:17.12.80.40 definitions=2025-04-25_06,2025-04-24_02,2025-02-21_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 phishscore=0 adultscore=0 lowpriorityscore=0 spamscore=0 bulkscore=0 malwarescore=0 priorityscore=1501 mlxscore=0 impostorscore=0 clxscore=1015 mlxlogscore=999 classifier=spam authscore=0 authtc=n/a authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.19.0-2504070000 definitions=main-2504250139 On 4/25/25 5:13 PM, barnabas.czeman@mainlining.org wrote: > On 2025-04-25 11:57, Konrad Dybcio wrote: >> On 4/23/25 4:46 PM, barnabas.czeman@mainlining.org wrote: >>> On 2025-04-23 16:03, Konrad Dybcio wrote: >>>> On 4/21/25 10:18 PM, Barnabás Czémán wrote: >>>>> From: Dang Huynh >>>>> >>>>> Add initial support for MSM8937 SoC. >>>>> >>>>> Signed-off-by: Dang Huynh >>>>> Co-developed-by: Barnabás Czémán >>>>> Signed-off-by: Barnabás Czémán >>>>> --- >> >> [...] >> >>>>> +            gpu_opp_table: opp-table { >>>>> +                compatible = "operating-points-v2"; >>>>> + >>>>> +                opp-19200000 { >>>>> +                    opp-hz = /bits/ 64 <19200000>; >>>>> +                    opp-supported-hw = <0xff>; >>>> >>>> The comment from the previous revision still stands >>> If i remove opp-supported-hw i will got -22 EINVAL messages and the opp will be not fine. >> >> Right, I have a series pending to improve this situation a bit.. >> >> In the meantime, you should be able to define the nvmem cell and >> fill in meaningful values for this platform > As I wrote in the previous revision there is no nvmem for GPU on msm8937 only on msm8940. This seems not to be the case https://github.com/penglezos/android_kernel_xiaomi_msm8953/blob/pie/arch/arm/boot/dts/qcom/msm8937.dtsi#L2046-L2191 Konrad