From nobody Wed Nov 27 02:39:03 2024 Received: from mail-qk1-f181.google.com (mail-qk1-f181.google.com [209.85.222.181]) (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 7400845BEC for ; Tue, 15 Oct 2024 00:53:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.181 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728953606; cv=none; b=mI5H/5NjnIsHwi0Pd3+A/SWDVebqGzGL0QtXSRfAHe/iVOaQmUdc9vDF2WqCNu5waxcm4BVntgHP85mthPt29AoGoOVmmbtcrIp7oyfjnD9Hs5O/yqGJHPndFyKuF34A8PkAM9zAy56fmCQg/MGEW92KhMehGenjvN/9464Mhq4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728953606; c=relaxed/simple; bh=dvNjYFdkB9YBWF1uKqg2XE7SQj8DOkKacGpixglHlcQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=p+xAGHv1PL1ZjnYu7jw6ArNSiDQYqcp3u1ycPTIMH00PLbHme95C9uGqCS7vAOtXdpOE85B9XBo+kY/WRe9oGd2F5VogQjjgaFPlDAUrAUD4Qb4rzL9SXb0k32rOr9tCw5JmnDREQFbgXzqkwE4CmmJ8xntZgGROHZB06RV0lDU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=marek.ca; spf=pass smtp.mailfrom=marek.ca; dkim=pass (2048-bit key) header.d=marek.ca header.i=@marek.ca header.b=dWGElcM0; arc=none smtp.client-ip=209.85.222.181 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=marek.ca Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=marek.ca Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=marek.ca header.i=@marek.ca header.b="dWGElcM0" Received: by mail-qk1-f181.google.com with SMTP id af79cd13be357-7afc591c69cso333782185a.0 for ; Mon, 14 Oct 2024 17:53:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marek.ca; s=google; t=1728953604; x=1729558404; 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; bh=uda+QHOh70dpYmmcKG6PZmo8FX69gZoytF2iY+WgOps=; b=dWGElcM0hTAPHWsUseKmLqyWJSaJS3/A9VnvaLekSMmhCpLwZ/fEfIABHws2+mhBu5 JOvml0jg4Se0MGB/L8JTFiQHBCVjzXNJOq68M3XFudx/eQ3DSqJ7jXC/x61wbYf5caAc dO+HLaQKQH6d+vqym6KMVBHEngAmvt9ZDc0R4xaojbvcxQJZfel0WVF4O8pZfkCWcT9Z 5ZOkkS8oLr0cKlsZZZrjDlT0q/6G2mdQ2vyXACgLrnmNs4TEchBj1+K2DS4ovWBs1dUb ty2Rd/ktQ/P0CBLLbccSHCOZcwYPjJZmRsKr6Dl7GEGSvHddnAShe4jqeUh4kR/1ARqP Ceew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728953604; x=1729558404; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=uda+QHOh70dpYmmcKG6PZmo8FX69gZoytF2iY+WgOps=; b=TnPK17hcjgm//vtUpDECIU3f3BnIeLeq+qEMeDwuR2NaTyLwLIoIE6dm1sNxSSyTuV wUkCR0KItbrl6rTvDBdj7F4jjcx3p29LOKQF9EuoQPxsXgLgBDhqvfqc+sqsU9OUi3vc pzYb4PjRsAG+Q2zbEEFvykYAqUAubPJWI/qCrExJwDyxZhy2sRF5Fap3o0FnWuwIs/G5 8cSfuYmvj7keNe8uSHoUvShk2kaaHGuJolx4pjYyLdGryvhQ6P6iBR5B95JgHyMLlTfA ZF9VeE5Q3rPQUwcDsuW/YJVKCzHk/8atSKZ1xL4SjSAR0MgcVyvlz7q1LsI81B7SiobE yIJA== X-Forwarded-Encrypted: i=1; AJvYcCWu2HcwUuvP5ESlzZaI7EDPQcCHgek8+4OwXWXqqFB8h9wz8OMZ2aW6V4z+DCpIa/QE5LEVqDgMAy25cWM=@vger.kernel.org X-Gm-Message-State: AOJu0YwW+YXu7MDtOp2IZtx/+fh4T+/XJgfMyoQ2dRuWuN8OP/W6o9JO 9gwmmcFdqEg6eCah0lNbU7sSdDVH/ZkGVQHwHCbx7Wmd+hzQi6Pu/ibO7TiHzWE= X-Google-Smtp-Source: AGHT+IGujS0YltsUyvVwBJrnueAylsfkK9nEY0qY3I5hzXRc4d5fo+ZlRzW83dHau6iTWTFjwpcg7A== X-Received: by 2002:a05:6214:46a0:b0:6cb:e452:2cee with SMTP id 6a1803df08f44-6cbf0074708mr283404276d6.23.1728953604437; Mon, 14 Oct 2024 17:53:24 -0700 (PDT) Received: from localhost.localdomain (modemcable125.110-19-135.mc.videotron.ca. [135.19.110.125]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6cc22910f0bsm1213956d6.16.2024.10.14.17.53.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Oct 2024 17:53:24 -0700 (PDT) From: Jonathan Marek To: linux-arm-msm@vger.kernel.org Cc: Alexandre Belloni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Satya Priya , linux-rtc@vger.kernel.org (open list:REAL TIME CLOCK (RTC) SUBSYSTEM), devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linux-kernel@vger.kernel.org (open list) Subject: [PATCH v3 2/5] dt-bindings: rtc: qcom-pm8xxx: document qcom,no-alarm flag Date: Mon, 14 Oct 2024 20:47:27 -0400 Message-ID: <20241015004945.3676-3-jonathan@marek.ca> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20241015004945.3676-1-jonathan@marek.ca> References: <20241015004945.3676-1-jonathan@marek.ca> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Qualcomm x1e80100 firmware sets the ownership of the RTC alarm to ADSP. Thus writing to RTC alarm registers and receiving alarm interrupts is not possible. Add a qcom,no-alarm flag to support RTC on this platform. Signed-off-by: Jonathan Marek Reviewed-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/rtc/qcom-pm8xxx-rtc.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/rtc/qcom-pm8xxx-rtc.yaml b/D= ocumentation/devicetree/bindings/rtc/qcom-pm8xxx-rtc.yaml index d274bb7a534b5..23a5316efadba 100644 --- a/Documentation/devicetree/bindings/rtc/qcom-pm8xxx-rtc.yaml +++ b/Documentation/devicetree/bindings/rtc/qcom-pm8xxx-rtc.yaml @@ -40,6 +40,11 @@ properties: description: Indicates that the setting of RTC time is allowed by the host CPU. =20 + qcom,no-alarm: + $ref: /schemas/types.yaml#/definitions/flag + description: + Indicates that RTC alarm is not owned by HLOS (Linux). + nvmem-cells: items: - description: --=20 2.45.1