From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f174.google.com (mail-pf1-f174.google.com [209.85.210.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 7521434B402 for ; Fri, 21 Nov 2025 11:35:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.174 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763724908; cv=none; b=eVxzhS2bhdSBqGrrHVZZLLrPldL4C1EnBdqeGU5UFWGjfkzg8JDTDTmpPI5JItD4Ou3flBcnA2qT8//iOd2y5Gw8jqKIszxddtaIjR3r4J3OayToLPMWbcS5yc46NiMxsu6Lwpeaz3RkZN9Mgd8eu4/ZsszsyzTGD9NjTUWYge4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763724908; c=relaxed/simple; bh=/FkxSXRz9LMHnMMNJp+LieZnrRuKbRrFs/7QOECPU9Y=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=W5hHl8K+KHjxzHSorzQD2VBofRByHz+nAvhety+it2eGSIQVtYxVLnw4S236Edv2BXrMNbbGvRZbJ41UU6I4rCYVi/NTUlHiyNrHHiQGb+fXzF81yCl0VG0SGSs/kY18FlzHPTZ1PIpRCyVnWRwxSa0/ztWngHa2+SgPGaVKsts= 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=Kp0JNg7Y; arc=none smtp.client-ip=209.85.210.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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Kp0JNg7Y" Received: by mail-pf1-f174.google.com with SMTP id d2e1a72fcca58-7b75e366866so901248b3a.2 for ; Fri, 21 Nov 2025 03:35:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1763724907; x=1764329707; 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=qfo/be4GYxt9btZnUQbCHGlLLclI61+pD2umzl5YLU8=; b=Kp0JNg7Y2K6jrnY0Q8Rm++9F4nrLK4hWT0PeJVvRR1UGa5AUAt8rMvj6oliOEwGs3s +EXAiQrz6hUy+l5TZW7Twm7HVeZkeeaVTzxIRAr/tOw4c27jLUJdmLID5gieIt2OeMxN QpfCb0Wa7mVWz/yuWGaoM6jCaxNK2xyjZj9+CD6mmd7kQiV/SjDBXRws/mAMfv2ccIPo 2BEJs5dh0+KgHLuyKnS/1KgjS5/Gd1dTfibicRAO5wh0dGlZAiA6ZiafmYW5MycOtSUx 5F22MKyyiFxgmCdmQ3/76Z/3aO2qs3TKH4l5y+tZDlmlKevSfUtXSHae3p1Qh1lI4RXN YwBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1763724907; x=1764329707; 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=qfo/be4GYxt9btZnUQbCHGlLLclI61+pD2umzl5YLU8=; b=MphFJ5m/XJmeb7xVoltNO71h4ax98+i/b5seE+doAGYoe9hpYJSvgoDh2QPz3ppCNv beMu26cNCbbl1Tu/D0zX70sRgmZ5hSQczhLtmJB4rIWmtSlFUVOt8Exaf9V4nnb+1qXd YrpzUAl/c1aOrNlQTqi0RxbC0WK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:11a:23fb:16e2 with SMTP id a92af1059eb24-11c9d613003mr671394c88.9.1763724906696; Fri, 21 Nov 2025 03:35:06 -0800 (PST) Received: from [192.168.68.63] (104-12-136-65.lightspeed.irvnca.sbcglobal.net. [104.12.136.65]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-11c93e55af3sm23498679c88.7.2025.11.21.03.35.06 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 21 Nov 2025 03:35:06 -0800 (PST) Message-ID: <573b2293-7b39-4c68-a51b-ecd5b62b0ec1@gmail.com> Date: Fri, 21 Nov 2025 03:35:05 -0800 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/4] ARM: dts: qcom: msm8960: expressatt: Add Magnetometer To: Konrad Dybcio , 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 References: <20251119-expressatt_nfc_accel_magn_light-v1-0-636f16f05cf4@gmail.com> <20251119-expressatt_nfc_accel_magn_light-v1-3-636f16f05cf4@gmail.com> <161da2d4-3306-4251-addb-cc9822a112c0@oss.qualcomm.com> Content-Language: en-US From: Rudraksha Gupta In-Reply-To: <161da2d4-3306-4251-addb-cc9822a112c0@oss.qualcomm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit >> + iovdd-supply = <&pm8921_lvs4>; >> + >> + // TODO: Figure out Mount Matrix > pmOS wiki has this: > > https://github.com/SiddharthManthan/accelerometer-mount-matrix-generator/blob/master/rotation_matrix.py > > but for accelerometers.. shouldn't be too different, I would assume Unfortunately this seems to generate a broken matrix for me for the accelerometer. Downstream is also useless here as I believe Android does something slightly different. I have been trying to upstream the pinephone pro's accelerometer and magnetometer as well ( https://lore.kernel.org/all/20250929-ppp_light_accel_mag_vol-down-v4-0-6598f22d3451@gmail.com/ ), but I'm just not sure if what I'm doing is right. I think the easiest solution for me right now is to get the screen working and use GUI programs to figure out if the mount matrix is right. If you have other suggestions, please let me know. I'm all ears. But since I have your attention for now, I had a couple questions on trying to get the screen to work: - The pipeline is MDP4 <-> DSI <-> Panel, right? Any information you can give me so that I can try to get this working faster? - Is IOMMU broken? It seems like I can use APQ8064's implementation, but that's broken since at least 5.10. Should this be reported, and if so where? - I see Adreno 2xx, but seems like there is not Adreno 225 DTS compatible? Any insight here? Thanks, Rudraksha