From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lf1-f51.google.com (mail-lf1-f51.google.com [209.85.167.51]) (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 0F55E42DA5D for ; Tue, 11 Aug 2026 12:10:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.51 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786450218; cv=none; b=GGbjXPrlhDFjM3R7UO8HWuuLysh+uCWWISScSNbrdl4nplzejq+cfguzPHvFuigrqPJKxOIiK3fzhRPSLBmZGPBJimNnlJdRXM8jqWEZuEQVJ7+f+sntROXyLyYM3oNl9jZenLRDaKAVFGCI4mXsFljuQvycomqPF8C3wmh/RX0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786450218; c=relaxed/simple; bh=M0klPbpMKSDb83aeDRUr2B8G3YjIwJhy28xYU7z8QLE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=bEFGMHCs0lm9ms2/ITnxNudGpUqmrcWq23uV2UlaClc32PQA4caSQZA5tWbEeDN0AzqPbXxOP9+E5NQla+Nn558NnvmT03ujfvl1XuWA3RLHB81uu457pHupBYBnTJvMyy52bfnkCrRMfGylybOvZ+gB9hLA528U+XImDLOIyWo= 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=A3zRSSBr; arc=none smtp.client-ip=209.85.167.51 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="A3zRSSBr" Received: by mail-lf1-f51.google.com with SMTP id 2adb3069b0e04-5b2a4359d16so2665023e87.3 for ; Tue, 11 Aug 2026 05:10:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1786450214; x=1787055014; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=DJUUpA+u/X+Mw8WGuh26FuT0SdK7L1t8Py4ith47VDM=; b=A3zRSSBriVNhHHC0kVcqmyAKY5sdk+rlxwdl6FoVzDAPXcv1S/a+Dss3LK3UsxT+pQ T0w7R5AncVRO/FaiyZ73sIrs4MqwjE41wc6k1tV5CdHjzmHH2MCvRfl73osAoeorSs04 91iHNga5qv4xsU3hOP15zTI7piojNLwi9K0C4lK8m4Mx0VDmrWpmDHS9X5D3/Sszp2NK XDNIr3IdCMfaPpAAK7DKf4GubNZz+pRqksYeMF9gMiz2LiG+t9yW1nCftAH1Wph316Tp iT6l1X948JRzDe5H+ayWnZmrpSe/LqFQwOPwp7Sorq5tJgHDxfNm63egnIzVnSgYVmcV 0QQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1786450214; x=1787055014; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=DJUUpA+u/X+Mw8WGuh26FuT0SdK7L1t8Py4ith47VDM=; b=R0+Bm8mFcBV3jlh18m6OHa4UCG9qdcogtBryd16YMyt2qBJUVLl49Rm/ta6J95obCx UBKgaKDOcCNjM9Z/LU7mfVTgpc8rOtKZfsYrW/SuyAH3aH8qG0ndJF3R6zLLUbF0TJdv nzYOM/VfrOEO9IlwMXPFNu2xo2piM+bnqkxx6otXYd6I3SdJhOi0E/qXRG+TvS0vRlOi rIwJOxf9pB5GvztzvEO2Esnf+Y+r4caEpk+JQy6f4QYxEjERFdp8b5FXW8CwWmRLxQCW YtAHFykjI/IBTzld/GyCEXmHUJI7jIH76DMt7qJ9ufClbBjFrRboGyvvUG688mXYl76h zmyA== X-Forwarded-Encrypted: i=1; AHgh+RrhsAbEf9Niyn4ZdSM6t6HirN0k5NOTgTua1GqQt3KuwsDREzcl+M74uSEEhGY5xpcapTBq6A9RRnCVZTo=@vger.kernel.org X-Gm-Message-State: AOJu0Yzj9mXjLcUFUlbI+wfe5hrolUmLkMycbFGqi+1elboYczcTyacV TQ5UJpPWlR3NLGbZEj8Says+OcxW0fpatHp7mv9lb5hbKqz2YFY7jq0G X-Gm-Gg: AR+sD13xeVY8aDQXV/pMpE9cP1OnirHDnU8v06eaq9TgFsVAsZciKTdrksePYev4EFL zKwqnaLEoboYnHmax7int5j+GDeF7f0xxSFFkaBx12Es8lRUocXShqMiifPdP8Kh+WlbykpnwUr 0sX/zy6JEqvAl41i+GriZQP4bk7XCNPcTBQctiCCFheMNSi3yrLKj5Ju3+bmXrfk1DsMm2D6tla hb2zixgBDUMKcEOw9Zac1M+p3D/Yh9M79gaHT9VcEh4CyYB89g6R0OxXIl9tsYKqjh1ZBxdFmtB 4yu0JgX9Z4obUDDaQUj5L+lLfVzYsZdXqtQPOxdQI20d1FMNaW4H4BUjr2DdP2e0Pzn9AuIOSeH V9tTLgxlUw8AZ8BU/LgQ6bxdDczMQIsUGEKJJzDs4E6hSiguEVcWvn7gUHvmWnpTdPOhh5kB1fz itByB6DoUnBaUhMGJnY2u8grwj3Yv81XaDfQBpxOETam0ncfDt0Uf3yy5klrfVllVZvO6ZJLk= X-Received: by 2002:a05:6512:12cc:b0:5b0:1b78:4962 with SMTP id 2adb3069b0e04-5b44866ef23mr489653e87.50.1786450213825; Tue, 11 Aug 2026 05:10:13 -0700 (PDT) Received: from hekasnap ([2a00:fd01:82a4:d100:739c:a0f5:97b3:63a7]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-5b4486c0a14sm238919e87.1.2026.08.11.05.10.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Aug 2026 05:10:13 -0700 (PDT) From: Troels Vognbjerg To: kamal.wadhwa@oss.qualcomm.com Cc: alexandre.belloni@bootlin.com, andersson@kernel.org, conor+dt@kernel.org, devicetree@vger.kernel.org, konradybcio@kernel.org, krzk+dt@kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rtc@vger.kernel.org, raryan@qti.qualcomm.com, robh@kernel.org Subject: re: [PATCH 0/2] rtc: Add Qualcomm PMIC RTC-GLINK support for Glymur Date: Tue, 11 Aug 2026 14:10:12 +0200 Message-ID: <20260811121012.7046-1-hekatombe@gmail.com> X-Mailer: git-send-email 2.54.0 In-Reply-To: <20260807-rtc-glink-cleanup-v1-0-7801e4d69c4f@oss.qualcomm.com> References: <20260807-rtc-glink-cleanup-v1-0-7801e4d69c4f@oss.qualcomm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Kamal Wadhwa wrote on Fri, 07 Aug 2026 02:26:29 +0530: > On some targets like Glymur, the permission for receving the RTC > alarms is routed to charger firmware running on remote subsystem. > > This is because Glymur boards have to support MSFT's `TAD feature` > on the windows OS devices. > > So rtc-pm8xxx.c driver cannot recieve RTC alarm IRQs via SPMI on > Glymur. So in order to make the IRQ available on the Linux kernel, > the PMIC RTC Alarm IRQ must be routed to APPS via remote subsystem. > > To implement this, add support for a New Qualcomm PMIC GLINK RTC > client, which will request for RTC set/get calls for time/alarm IRQ > via the existing pmic_glink interface to the charger firmware. > > Also, add a DT property to explicily support enabling the RTC > writes, keep RTC writes disabled by default to align behaviour > with the existing rtc-pm8xxx.c driver. You mentioned this patch series applies to targets like Glymur. Does that include the ASUS Zenbook A16 UX3607OA, or did ASUS do something different on this laptop? The reason I am asking is because when I build this as a kernel module, I get the following error message: [ 2.241461] rtc-pm8xxx c426000.spmi:pmic@0:rtc@6100: probe with driver rtc-pm8xxx failed with error -2 [ 2.499556] Modules linked in: rtc_pm8xxx aes_ce_blk ghash_ce gf128mul sm4_ce_gcm sm4_ce_ccm sm4_ce sm4_ce_cipher sm4 qcom_battmgr rtc_qcom_glink(+) simple_bridge display_connector [ 3.277788] rtc_qcom_glink.qcom_pmic_rtc_glink pmic_glink.rtc-glink.0: 0x68 failed (-110), falling back [ 4.318666] rtc_qcom_glink.qcom_pmic_rtc_glink pmic_glink.rtc-glink.0: all time sources failed [ 4.319085] rtc_qcom_glink.qcom_pmic_rtc_glink pmic_glink.rtc-glink.0: registered as rtc0 [ 5.359404] rtc_qcom_glink.qcom_pmic_rtc_glink pmic_glink.rtc-glink.0: 0x68 failed (-110), falling back [ 6.400331] rtc_qcom_glink.qcom_pmic_rtc_glink pmic_glink.rtc-glink.0: all time sources failed [ 6.400496] rtc_qcom_glink.qcom_pmic_rtc_glink pmic_glink.rtc-glink.0: hctosys: unable to read the hardware clock [ 25.447761] rtc_qcom_glink.qcom_pmic_rtc_glink pmic_glink.rtc-glink.0: 0x68 failed (-110), falling back [ 26.488271] rtc_qcom_glink.qcom_pmic_rtc_glink pmic_glink.rtc-glink.0: all time sources failed [ 27.517573] rtc_qcom_glink.qcom_pmic_rtc_glink pmic_glink.rtc-glink.0: 0x68 failed (-110), falling back [ 28.560114] rtc_qcom_glink.qcom_pmic_rtc_glink pmic_glink.rtc-glink.0: all time sources failed [ 29.609224] rtc_qcom_glink.qcom_pmic_rtc_glink pmic_glink.rtc-glink.0: 0x68 failed (-110), falling back [ 30.638629] rtc_qcom_glink.qcom_pmic_rtc_glink pmic_glink.rtc-glink.0: all time sources failed [ 31.677524] rtc_qcom_glink.qcom_pmic_rtc_glink pmic_glink.rtc-glink.0: 0x68 failed (-110), falling back [ 32.720749] rtc_qcom_glink.qcom_pmic_rtc_glink pmic_glink.rtc-glink.0: all time sources failed [ 33.757662] rtc_qcom_glink.qcom_pmic_rtc_glink pmic_glink.rtc-glink.0: 0x68 failed (-110), falling back [ 34.808360] rtc_qcom_glink.qcom_pmic_rtc_glink pmic_glink.rtc-glink.0: all time sources failed [ 35.837651] rtc_qcom_glink.qcom_pmic_rtc_glink pmic_glink.rtc-glink.0: 0x68 failed (-110), falling back And the error message keeps repeating every second or so. -- Troels Vognbjerg