From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.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 8CC5A33BBCD for ; Thu, 22 Jan 2026 12:34:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769085283; cv=none; b=AIyvh+4netnrtteRXvtoYBPZwBL8V0yU7fpMgd1ZeNEKKrHY2ZK9NMvVrgrT4BIwfjdu1YyJEEWibM1oR/abXtuICq4Ihr/J0JvIcm4GfdL62aVNSJoqfxujjdFneWQ0m176+0BcYT1umDsHwoDPI6xIVJPJfiKRT81iKsoGWc4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769085283; c=relaxed/simple; bh=zKZG6fn54Avf54lf7flmb7ZKSwbFMIeVamSom6YaUA0=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=NfNPdNMHlzsstiFcarh4EJPeX4Hur/S2yAzrRIE20pey0MD8BnEYLcZj0qEYLmFQ0NzLRNpq+nVDUvabKXyCF0g1WeEipy3K52x25rxLhbck9FD0DcuvSlWLFFk13QvDxVgr7emu2Sqpkd1bSDkERNPCVbruY7Ka4rWxWW6/6J0= 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=LZdHrDWQ; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=D9rSdzlE; arc=none smtp.client-ip=205.220.180.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="LZdHrDWQ"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="D9rSdzlE" Received: from pps.filterd (m0279870.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 60M7IFv7791268 for ; Thu, 22 Jan 2026 12:34:40 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= OQ9Hp0YXE7x+HtzPq+22mdatg3BzC8x6q18ktloaVtA=; b=LZdHrDWQizJ4LLzp vVK1EXsUnbwYu5JNptjC8GrH7eJw5ac5hf1Rr1zwghL/Xzl5StnxgyZXuTQ1Ov8i V9yqEapCqIPtX4KmHMfuv4PevxOrnjXtsoi/VP7ytkkwzz1WuWaNTVeH2skQsfb9 BjW52hRFr86Us8bb7C5NKJ7oqkF+Tcau00T2NtI2mksLtv61C72Ang1CtLmC/dEP f+9mLhkXHTW+Y4Xb9ntJFvPHQqFLJ/AcRFujriKdbha3+5olas6h3iV86W+C7WfJ MWyQY14hNwlm1Rs7K/UT82kfCpBxYWfWO1hjqVsZyVz51Bo+jP4H1KGwzLGhOnRP LBil0g== Received: from mail-qk1-f199.google.com (mail-qk1-f199.google.com [209.85.222.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4bu6p1jdex-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Thu, 22 Jan 2026 12:34:39 +0000 (GMT) Received: by mail-qk1-f199.google.com with SMTP id af79cd13be357-8c6d6b0f193so21012185a.1 for ; Thu, 22 Jan 2026 04:34:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1769085279; x=1769690079; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=OQ9Hp0YXE7x+HtzPq+22mdatg3BzC8x6q18ktloaVtA=; b=D9rSdzlEbrHK6Epxc/ZtMpt3t6wQw0lxcsn3wP546/L+Yo21mvBWJ03B4eSlUQA0TO UjtqlEZ1FNcZsQtgbWX3XW9gtrd2qhrMvOjA8DXOLPTTJcexQVuauOM2TP2Oc9QU9lEF 5VQGeh9mBIaff4m5pRoeryuwEcq3vxOmkA67KKf+v7skS73B5zi8pH97wHMrEEJyC3Zy 7VtDq8NliVkYUlwlYi5xZnB/AxWXYQ9bWoEJIq2Dr81x0FBU4MT59FIInArk613G+3+d EtBkvWPIxeO+C3YxcAfCibBgnDihplaFpdTr81EpaeV03jZ4M1yTIR2WSdZAHQWEuUxm ldhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769085279; x=1769690079; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=OQ9Hp0YXE7x+HtzPq+22mdatg3BzC8x6q18ktloaVtA=; b=r8pEdbjigrTgQrr5phFxo4JUKA0KejJ7/4FCwkt6B1eKGFJm2VCR+fqAWyV93+EwAv fDJ3ACnaoTCadomp086ullvOx4bjwDGj8hLw/a+Y4Z6QcKKdGLHu4XHtrWi1nZc4/wRT tgnnNxLH+TwlFCKrqSHwof3C3KKu9vJmZZv+AEL4461EWQSRuuUh/GvRxkrtoo4714Qr tLtzZkHNd7Xap77/FfCMpDRrIrzInMxhk9vK1qB6WJ7Gl/zpKvWb2Zj/Jq6VLUIMnxnv y51LU/NtTXH0+F3tMw+Z42k5Cir2j8s2A/4ih+e1GMtuebhxH+lbD9IUZfxsW4GzDjvs nKyg== X-Forwarded-Encrypted: i=1; AJvYcCVCQ4jLPikKxryNd4ZmpXAptzCpc7NI9VrgvRfIchgskWxOYWDHiPRlPxQKkSRFd0/w/FwWfeNYbnD+WTY=@vger.kernel.org X-Gm-Message-State: AOJu0YwKgXLOBKhw76KkUjG4TiAaw5YpwZojJDZKYO+GQLyp73x1HhlF Mo5rQeFEGuosemcQm3UOq19b80CBVLl90tnktJwOrioobs4y+Qdqd9V5OtDCwbHA9phNrftlL0v WIH0lrG8jljA5qFFbhSgFNCCuKA8JUtUlWfNyqBDl0uo/+nKtEvvA5i1O9LTMVEL3JXI= X-Gm-Gg: AZuq6aI48d0osDg7nHVPIgE2QTEoWjcUPJ41zEx9YJJ1dxRQA8SZ8zhre9jVK15sGIY 0PHi1Py1Rttlv+MIBugS6ar9op50T/by/ZgHdGHrtv16XspqrOrAMCGGn6NAPzpRwz0KvpJFXn0 10VLD1J+VpjanzYFhDaY9dDpVB4jyx3ZMR+9Lv4CXJZMFXc+rF3gEeeZCfWR2ouMhkB5qVAgaLK zQv7T8x7bUPEmINUO/mKwXwTdgsIM0bYWy7iZDTrMx5JQeT0ouP/BUT0/Nxj4nMHNkfSUg2Hfrp qWUS5p2U8SL/cNZursiCg9nEQe9RI6ItGHeipXXRi4ZBIpI8ZDULhjRikCSY3pcEPe4TBYmqHQ6 baHafzmWgEakXnpRs7n67yMuHaUfVHu6BNRQgR03f9TIQeGm8Mmr86RHHtsklhAmHByI= X-Received: by 2002:a05:620a:4492:b0:8be:6733:92b1 with SMTP id af79cd13be357-8c6a6606fcamr2126205985a.0.1769085279338; Thu, 22 Jan 2026 04:34:39 -0800 (PST) X-Received: by 2002:a05:620a:4492:b0:8be:6733:92b1 with SMTP id af79cd13be357-8c6a6606fcamr2126202585a.0.1769085278826; Thu, 22 Jan 2026 04:34:38 -0800 (PST) Received: from [192.168.119.254] (078088045245.garwolin.vectranet.pl. [78.88.45.245]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-b8795a2f1aesm1725477066b.61.2026.01.22.04.34.36 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 22 Jan 2026 04:34:38 -0800 (PST) Message-ID: <687b781c-dee6-4b8e-89b2-e082a860be3a@oss.qualcomm.com> Date: Thu, 22 Jan 2026 13:34:35 +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 3/3] arm64: dts: qcom: add basic devicetree for Ayaneo Pocket S2 gaming console To: Kancy Joe , Neil Armstrong , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Konrad Dybcio , Rob Clark , Dmitry Baryshkov , Abhinav Kumar , Jessica Zhang , Sean Paul , Marijn Suijten , David Airlie , Simona Vetter Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org References: <20260121-topic-sm8650-ayaneo-pocket-s2-base-v1-0-bb3f95f1c085@linaro.org> <20260121-topic-sm8650-ayaneo-pocket-s2-base-v1-3-bb3f95f1c085@linaro.org> <01de9fc2-f60c-4bc0-af61-c070213df29b@oss.qualcomm.com> <53a1370b-89a4-4276-949a-e3ad95dbad2c@linaro.org> Content-Language: en-US From: Konrad Dybcio In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Proofpoint-ORIG-GUID: B7u-fQ2HDEPqOVp0Dq4j4LYdkcJmLDZH X-Authority-Analysis: v=2.4 cv=N7ck1m9B c=1 sm=1 tr=0 ts=6972195f cx=c_pps a=HLyN3IcIa5EE8TELMZ618Q==:117 a=FpWmc02/iXfjRdCD7H54yg==:17 a=IkcTkHD0fZMA:10 a=vUbySO9Y5rIA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=UqCG9HQmAAAA:8 a=KKAkSRfTAAAA:8 a=xRqI7NLVZAYiWIq_3gYA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=bTQJ7kPSJx9SKPbeHEYW:22 a=cvBusfyB2V15izCimMoJ:22 X-Proofpoint-GUID: B7u-fQ2HDEPqOVp0Dq4j4LYdkcJmLDZH X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwMTIyMDA5MSBTYWx0ZWRfX9/GrkG9hfJSO 4XMGmg1au2+dHds2T3NYdbA+EWWElAuBZbiy1PBRPS+NhOAhckEnVzfkMZ7JQOya3Nt+bHHP0dH DzvtiygyiC8XYt2lZL4TjhOaKbZz8m+XVzWWEvkqwK2qBfPWHyJh23kB5QBMCUfV4F6I0Zql3y8 0cepji8H3SPMI9qV2xqHKsJXF1Y1AEM3amtqJd3S2AfUHDtGVp4PxEQfw0AuJbSEy+9qoI0o+d+ Hv5v2GQ6iXURYsjRYdFAnEGqhiJAU9VLSbr8lJRv8K0/IDQLeE5T1prH57tYgNaKiq5VpDPoGwn Ans3ExWu3VrBFw29sPgzNJYp1p1P8xBt6RBFZ1cynQuVlW/Uf4V8MC2vLP/oH2IygycIlpxIgkD Zf3dSD0YPFTXrX0ffRJ2D58aAOPzMHycuETZu+iX7nsOgEjzFTRkRDE/WzdTR9J61k7EcBbGE8U fglBd2kU9Wi5Pft4fZw== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.20,FMLib:17.12.100.49 definitions=2026-01-22_01,2026-01-22_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 lowpriorityscore=0 phishscore=0 clxscore=1015 priorityscore=1501 malwarescore=0 adultscore=0 impostorscore=0 suspectscore=0 bulkscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2601150000 definitions=main-2601220091 On 1/22/26 10:34 AM, Kancy Joe wrote: > > On 1/22/2026 5:25 PM, Neil Armstrong wrote: >> On 1/22/26 10:15, Konrad Dybcio wrote: >>> On 1/21/26 5:40 PM, Neil Armstrong wrote: >>>> From: KancyJoe >>>> >>>> Add initial Device Tree for the Ayaneo Pocket S2 gaming console based >>>> on the Qualcomm Snapdragon 8 Gen 3 platform. >>>> >>>> The design is similar to a phone wihout the modem, the game control >>>> is handled via a standalone controller connected to a PCIe USB >>>> controller. >>>> >>>> Display support will be added in a second time. >>>> >>>> Signed-off-by: KancyJoe >>>> Signed-off-by: Neil Armstrong >>>> --- [...] >>>> +        pinctrl-names = "default", >>>> +                "sleep"; >>>> + >>>> +        pwms = <&pm8550_pwm 3 50000>; >>>> + >>>> +        #cooling-cells = <2>; >>>> +        cooling-levels = <0 16 32 45 60 80 105 130 155 180 205 230 255>; >>> >>> Does this come from a preexisting map? >> >> Kancy ? > > No it is not a preexisting map. I add it(and the thermal part) myself to get dynamic fan speed control work. Perhaps you can also use userspace fan control daemon instead of hardcode it here. In android the vendor control the fan speed in userspace too. > > Following block is what the stock fw defined. I changed the granularity to make fan speed (or noise actually) sounds more "smooth". > > ``` > > cooling-levels = <0 64 128 255>; > > ``` FWIW the corresponding pwm-backlight driver has this num-interpolated-steps property which computes a smooth map.. not sure how many cooling levels are resonable for a PWM fan, but then I would intuitively not object to having more as opposed to less.. Konrad