Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp420279lqo; Fri, 10 May 2024 04:12:27 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUd6uzQcMTKFrvFm474VIEt0ciitGqZqYQDTVIrwCTR+crMSq/EJ3aYqE3aarrDva8p2B36dLtxx0HgaguZa+3QTm7EDXPf00++jj5geQ== X-Google-Smtp-Source: AGHT+IERpJImJx6TsrEYCqpRGN7iwrBkKfC3kVHD84HyebHHZlDfiFDBF3g9bvdTzgWNZpZRYLzY X-Received: by 2002:a05:6a20:96d2:b0:1af:d810:9d0e with SMTP id adf61e73a8af0-1afde1c57dfmr2299918637.49.1715339546849; Fri, 10 May 2024 04:12:26 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715339546; cv=pass; d=google.com; s=arc-20160816; b=cSpiHrz+YzZb6pdx32PLX66tbsk6dey0FRwLWuh4KwPyeYVPPx4WEnYyfDpVJEsHJo u2iI+bdeZrZB/53qWN7lS0KP/d5kFHC+fsGIuLeN/TvGk9qUJLlISr0DNMcNYAge4XPj qFSLuONCisdjNLa2lowbv0m+RRfE14zCeXuWzQhd0PpY2pyG7VeBfCU3+5iu5VNeqtwE NdV+CKnXHvIhRi5BR2aUpptA5coKzwUg2STlwR7rdhrWI0tcZTqYw220yheakmkb87mn BCdQWYTaOAuT3egVr0BU0DHlQLbs8K35fKdW1LzG3SCmql7UwPUfZoVqdhOPmpxQgYR8 FDSw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:precedence:robot-unsubscribe:robot-id :message-id:mime-version:list-unsubscribe:list-subscribe:list-id :precedence:references:in-reply-to:cc:subject:to:reply-to:sender :from:dkim-signature:dkim-signature:date; bh=I+akgnEKG1a/0tjKyIimdQIX5N3Cj7a+mickcDAywlw=; fh=C+CIXow3tb8Bps/FtUfOQeHELfRF2Xq+WqZ5tNRuk1s=; b=kImMgZ8mtp7V+SeWyCmkkN7F0rvE+nsDSmrmXU5Y2fhirry/y7h/a8odNT1k8561Al HJRP+dZyta2k0st5doO8uzyxNJHnvOq46xkoj/re31OEluOJcqh13fDJTzUyzwJFm6bm j808SR1CjlM5A8WV36e3JuSNx45OkKV8yCccB7Nw5xDjqROFK3VEskomvELn0uNTJoXX pJwCUat/h9E0mfHC2hVigouvyg6jwCJ20F9aZjmfZH182MNjfJD2CO1zgQuvoXzJs0xP ZHczNstBrGSOAMmeyQT2JhMkQASYuqSjCQFabQZa2N25GWFrtaw38lDisArWstmvEaCw wtSw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=JZx3lrzR; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-175629-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175629-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id d9443c01a7336-1ef0c158060si35939655ad.493.2024.05.10.04.12.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 May 2024 04:12:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-175629-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=JZx3lrzR; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-175629-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175629-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id C259FB20400 for ; Fri, 10 May 2024 11:11:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 16B2F16EC18; Fri, 10 May 2024 11:11:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="JZx3lrzR"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="gF/OPs3T" Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (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 D304416D4F5; Fri, 10 May 2024 11:10:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715339459; cv=none; b=rcEmzsxoBDkvwH5U/5+wg8rbVZyNFt+Pi35dHdElQBGizBcAU4iUE1vvGWuqwVWGI3RObhmzCCQvGPcvr+Nl+VnHHiuIudwgpKBlB8ptU63N9BOSRCmkvQHBT2uU514RCWsulcfCq1qZOz9woHKJOYp5fAkSHspLPYwNkwmKpS8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715339459; c=relaxed/simple; bh=s/BduAsQtkna1v/t8B1LVDTCSTElUhIJsDQIIta5sJA=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=ltLaPBv3OuFdZo0zwqeghOYP0a85KHfcOhoRiZ7FudacHtB4T6S6VTRVu07/ARnYerwkarGakaePnRn3UkT/WED27A07QN1fLyJxX/UvjTlv9pb0T48lQq/LfyXzeuvcOvhWSNk3g359H5JFeMxGUYy4Oq2HSTdqZ6qSkwX5GFY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=JZx3lrzR; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=gF/OPs3T; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Date: Fri, 10 May 2024 11:10:55 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1715339456; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=I+akgnEKG1a/0tjKyIimdQIX5N3Cj7a+mickcDAywlw=; b=JZx3lrzRh49AHujCECV/2wWepPROBHeEymBsrMmLbopaLfzYHpzy3r/saDnyR55DWqEg8k xRPNaVyobgjd+3aM3fUCj2TrDd8roULKMKedU2jjew7qKlqc3FKSVT8+9tEcSrC8xRxM7v 2qEErMwcg6PfC5xPsA73jYv5o5wuAOIQ6JIps+bT/ySPHhcZKRtVtU1D+xwq5w7ITWxv08 FCN5Eq17ahirmF6xTaEQO9M/8MZkKQGoT4z5XvMOkWJJyTOefY3+4XcwV25n4P+DdvFjXV GdhpECkCUUSabZiAeAVbbXuDp27q3rrFkhW1HthfpxefsSI4t/QxGiLKcQAySQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1715339456; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=I+akgnEKG1a/0tjKyIimdQIX5N3Cj7a+mickcDAywlw=; b=gF/OPs3T2vto3nhaeM7Rfnd57LYCjcrgyFprsdrVkkEetNjoqxRFfvSkrE54utU5M7nO4q VlMTUAYZzX/5T2AA== From: "tip-bot2 for Lad Prabhakar" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: timers/core] clocksource/drivers/renesas-ostm: Allow OSTM driver to reprobe for RZ/V2H(P) SoC Cc: Lad Prabhakar , Geert Uytterhoeven , Daniel Lezcano , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20240322151219.885832-3-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <20240322151219.885832-3-prabhakar.mahadev-lad.rj@bp.renesas.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <171533945606.10875.1795103966213328108.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Precedence: bulk Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit The following commit has been merged into the timers/core branch of tip: Commit-ID: 0f63c95aebf11d87b166a5dfd389957c67fef9c0 Gitweb: https://git.kernel.org/tip/0f63c95aebf11d87b166a5dfd389957c67fef9c0 Author: Lad Prabhakar AuthorDate: Fri, 22 Mar 2024 15:12:19 Committer: Daniel Lezcano CommitterDate: Fri, 10 May 2024 10:41:52 +02:00 clocksource/drivers/renesas-ostm: Allow OSTM driver to reprobe for RZ/V2H(P) SoC The RZ/V2H(P) (R9A09G057) SoC is equipped with the Generic Timer Module, also known as OSTM. Similar to the RZ/G2L SoC, the OSTM on the RZ/V2H(P) SoC requires the reset line to be deasserted before accessing any registers. Early call to ostm_init() happens through TIMER_OF_DECLARE() which always fails with -EPROBE_DEFER, as resets are not available that early in the boot process. To address this issue on the RZ/V2H(P) SoC, enable the OSTM driver to be reprobed through the platform driver probe mechanism. Signed-off-by: Lad Prabhakar Reviewed-by: Geert Uytterhoeven Signed-off-by: Daniel Lezcano Link: https://lore.kernel.org/r/20240322151219.885832-3-prabhakar.mahadev-lad.rj@bp.renesas.com --- drivers/clocksource/renesas-ostm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clocksource/renesas-ostm.c b/drivers/clocksource/renesas-ostm.c index 8da972d..39487d0 100644 --- a/drivers/clocksource/renesas-ostm.c +++ b/drivers/clocksource/renesas-ostm.c @@ -224,7 +224,7 @@ err_free: TIMER_OF_DECLARE(ostm, "renesas,ostm", ostm_init); -#ifdef CONFIG_ARCH_RZG2L +#if defined(CONFIG_ARCH_RZG2L) || defined(CONFIG_ARCH_R9A09G057) static int __init ostm_probe(struct platform_device *pdev) { struct device *dev = &pdev->dev;