From patchwork Tue Oct 15 00:47:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Marek X-Patchwork-Id: 13835596 Received: from mail-qv1-f52.google.com (mail-qv1-f52.google.com [209.85.219.52]) (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 219A914659A for ; Tue, 15 Oct 2024 00:53:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.52 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728953609; cv=none; b=VK9lXXQ96FQ0YkSVnrnmadtNv82ZPFQwXqdK9mrOetRQy1c7t7wigR80Kc0nPTQawBf6k1kBY+4doV9/mFhhgIjpeLHmGPI6FgPFh8KCcIPEkts1l+HhH29VbwMRIFYjwluxGj8kZkdBOh8xj3UxK1Sk9nHZQVQ9EXYhVAeuR5M= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728953609; c=relaxed/simple; bh=yOQYLbpufnAQd61mNPx8dF0RUdCNPiazkZMeVKYLML0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=MfUy6nKkcOYG0PgCrDv+uQ8pF1c1TDxi2UQ+krlmiX+a1iLpqvyubI/5oOhV+86ZBx8OmndRuafBSLFQdfTPsPYMpI3DIXJWs59jJTp0nPgSsnF0QEcCfJtn9NqJEm1BLU01K2VvtC4OBUxmzLVymiBrW6uS1tBBfbfAbTW/aOs= 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=MiF2VvUd; arc=none smtp.client-ip=209.85.219.52 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="MiF2VvUd" Received: by mail-qv1-f52.google.com with SMTP id 6a1803df08f44-6cbd57cc35bso44604646d6.1 for ; Mon, 14 Oct 2024 17:53:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marek.ca; s=google; t=1728953607; x=1729558407; 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=shwb9N4WF4JyvqNRDgkrcwpOBqNWS70KY1SExpzylBM=; b=MiF2VvUdYdYBK9wE5b5WEfODl9qHuV4n6lmqoZLM1awZZs2JTtpb/69EoS35UcUuP2 x3nY7h9T722Gpn/HkHF01khkVckDzODWFWbKFhDxI779CFOVDWKlnEqLftdS0YBATK8y L/mlTdT7lzEGpqPsEAzrZ4xw9zIdBvDTL4oErltuGI77Nzcw1epFUYfcGVRzHVjRSSKr p/uMODHjD4Yz4+mGmYqfgSSD4GVjNDLAHGFMsZpamuSjbtkkaV9ZEY5pPMDgB0wiF/E1 RqyZ6Z8UCr/dSg4u/yLH9AybiaG8GJxTHjvruaBopgJENCl+HP3w60G3K+I7JQiZuvYT q4TQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728953607; x=1729558407; 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=shwb9N4WF4JyvqNRDgkrcwpOBqNWS70KY1SExpzylBM=; b=voiIGU3eTvh8Eu6pqWCcQVth23yaiH5vqkXpDD3msiWjr54mG000+TU2XMxcTGTjLg cUK5gUm4/H5eEYEcpdfgV7UVwrdtgqn3YNTgK1a48GkgeJLNtBzwnm6z1pxvZ5O7ic3C J5cLQVvqhWXeioL2zEeJGThRqMhZZG42KrU/BtzBeslRBtB4+SnguD/4CSFM/vHNXDfc vaDDE0hsXJrCAMqo6WSYk1uxC/Aan6MOXOmIgpNRWjG4/Eyr726C6zIpgL+JWCqmQVN4 ijN4vzlfirAY6VLNKd5yCu8TF6jHhEdDlt2YQEOHhOPHMAMfVI2v0+n/uuitEt48Oa+e nMhQ== X-Gm-Message-State: AOJu0YyFr3ft8mjO3xCxhjZc7PaDvmU4HbhImrZWp9vA0vpfd8hP29Mr ZhW8aXtNdSeR9bc2ARbfroTV69MB5AjYkY05J7Cyw3G+UvLBHWcgFFgpD0n5BRUnEElRsH74JAl RTdo= X-Google-Smtp-Source: AGHT+IH7AVHW9VFOzpeP6x4ojtz/8ibyMXkPEVnAGtTyL6fVgscFm6vGD8uJ5o1+Hzti6qm2yTnlMw== X-Received: by 2002:a05:6214:5f08:b0:6cb:d0a3:35ac with SMTP id 6a1803df08f44-6cbefa894a4mr225021416d6.8.1728953607014; Mon, 14 Oct 2024 17:53:27 -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.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Oct 2024 17:53:26 -0700 (PDT) From: Jonathan Marek To: linux-arm-msm@vger.kernel.org Cc: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linux-kernel@vger.kernel.org (open list) Subject: [PATCH v3 4/5] arm64: dts: qcom: x1e80100-crd: add rtc offset to set rtc time Date: Mon, 14 Oct 2024 20:47:29 -0400 Message-ID: <20241015004945.3676-5-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-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 See commit e67b45582c5e for explanation. Note: the 0xbc offset is arbitrary, it just needs to not be already in use. Signed-off-by: Jonathan Marek --- arch/arm64/boot/dts/qcom/x1e80100-crd.dts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/x1e80100-crd.dts b/arch/arm64/boot/dts/qcom/x1e80100-crd.dts index 6dfc85eda3540..eb6b735c41453 100644 --- a/arch/arm64/boot/dts/qcom/x1e80100-crd.dts +++ b/arch/arm64/boot/dts/qcom/x1e80100-crd.dts @@ -1224,6 +1224,17 @@ edp_bl_en: edp-bl-en-state { }; }; +&pmk8550_rtc { + nvmem-cells = <&rtc_offset>; + nvmem-cell-names = "offset"; +}; + +&pmk8550_sdam_2 { + rtc_offset: rtc-offset@bc { + reg = <0xbc 0x4>; + }; +}; + &qupv3_0 { status = "okay"; };