Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp698191rdb; Fri, 2 Feb 2024 00:45:14 -0800 (PST) X-Google-Smtp-Source: AGHT+IGGnsCel+KWXwYO0czcoJt55kKIS9UPCv/QafyxHZbXmFbhX2/U0ZJ8XGzP8cloXMm5qelZ X-Received: by 2002:a05:6214:400d:b0:68c:7c27:fc8d with SMTP id kd13-20020a056214400d00b0068c7c27fc8dmr1416025qvb.56.1706863514039; Fri, 02 Feb 2024 00:45:14 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706863514; cv=pass; d=google.com; s=arc-20160816; b=GD53vFrQMioxdgbEGkdAXzxrLgm/+f7EVOyt1dD30wIeFCWpgLQVYPZY0LQuO8tcrd 1bE+TtcDldPOZoZL1hmxmhrmux2baOkONPzA5N12VVrRrwvYEiN98YDYdDmWvG+8e9WC FpaCCUaaMvmMcWzXahuVTnIcEeTKGWq8MWUWxKnkKQK8gH3AR4SBEnyeP4zAbx2ewTUb 8wbz63/BSy3Nv0M0Sqr90JV8Gy16NOhFZWFXkiXiX8mXvCuGSmTue4RqsdMQsrKfHpQ4 VlNQbbU0NYw9oEhNVD1cl2Qs0yK5x2axosVQAJ2N9YuDbRxwOkls6BCIUYOJMJymol/F qEiQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=HkR7rBl2sOafZKXFZdEWG75554ewnQ9UQfMjdvinuXY=; fh=Z0AA2d7KqdhKHg9InaDxAujWqbnnGpEsWa5/eIrF60I=; b=0KCgYKIM0oLjUMOXoixuSlPalG810peciUqUyEBg/9NIuaC6TakK9gWncNjwQlYfHv AfFGiagRlOCcY309m6raSFKsGJR2qeG5nV3Mu+raXOc5tc2806VIvC0J/1gA9xNPDo3J 1Y+HUSgLcDUfMCBnpjdnp8f43E5oF2HKWvyEcYUrn3WWWmkUuQlpxoa9tm0DN8CWuj/o Zk8Wm5BeO8q1/UZZr8QsvMYPs4T4cX33QirZqu8IdZBR4Mjj2bIZLaDVYKQiJpAQhVp0 y9OqXgf6XfU5wnDYXfkYcjC/1Qmbfo33MlPt/JkoOZ/TYlvPztKm9m8deumdQ6bT20tn ozhQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@tuxon.dev header.s=google header.b=kimXdde+; arc=pass (i=1 spf=pass spfdomain=tuxon.dev dkim=pass dkdomain=tuxon.dev); spf=pass (google.com: domain of linux-kernel+bounces-46235-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-46235-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=1; AJvYcCXrhZGvo61sWo5dFIUhm74n2it6n69SN8UE1cyshjVTpBtNCIapJGeNo3OJscZHRPjBZzjeeF4LMI1BBXDBz4G9YbQdJ0/jw6+fFJudDg== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id c12-20020ad45aec000000b00681955e64bcsi1701900qvh.604.2024.02.02.00.45.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Feb 2024 00:45:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-46235-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@tuxon.dev header.s=google header.b=kimXdde+; arc=pass (i=1 spf=pass spfdomain=tuxon.dev dkim=pass dkdomain=tuxon.dev); spf=pass (google.com: domain of linux-kernel+bounces-46235-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-46235-linux.lists.archive=gmail.com@vger.kernel.org" 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 2264F1C22C25 for ; Wed, 31 Jan 2024 10:30:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 504DC6BB2E; Wed, 31 Jan 2024 10:29:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tuxon.dev header.i=@tuxon.dev header.b="kimXdde+" Received: from mail-lj1-f182.google.com (mail-lj1-f182.google.com [209.85.208.182]) (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 8E76069DE7 for ; Wed, 31 Jan 2024 10:29:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706696983; cv=none; b=MH4Vk1afsI5fJS2h069tFDNApMpe1vjwR7FncYsac2gShaHXDDdhwITnc70jf011GtaiKQfQfHaN2Ymb8YCq0+oRa7Pzp9T0ILCVoAS6lOUjMJX40Xek7A6phQ1szZm4a7kiB5YOAZh5TNXQW3k9Pe0YPmM1Q0mEEQbl6zmmLWo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706696983; c=relaxed/simple; bh=wfSnhN8zYk6e9fyuDQX5EjhWfIYA05oiRWPy+vbfM+I=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=Hel0MArP9mtbNBQ0sh/Ft38LUz9cz7FMtqlywhF5oLjr+FysrXeCCxABUqCCD1UoRE1knYBofiKBzrwgzGF1LuRxKZv8Wtb3a7XtgD1tYXpHmwI+WdAKkXFOnevKsNTYHK/tv845kgRb4c3/npjHGJYb8hlX6tiwilN6UFlPmCM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=tuxon.dev; spf=pass smtp.mailfrom=tuxon.dev; dkim=pass (2048-bit key) header.d=tuxon.dev header.i=@tuxon.dev header.b=kimXdde+; arc=none smtp.client-ip=209.85.208.182 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=tuxon.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=tuxon.dev Received: by mail-lj1-f182.google.com with SMTP id 38308e7fff4ca-2d0512f6e32so33144651fa.1 for ; Wed, 31 Jan 2024 02:29:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuxon.dev; s=google; t=1706696979; x=1707301779; 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=HkR7rBl2sOafZKXFZdEWG75554ewnQ9UQfMjdvinuXY=; b=kimXdde+k6ZW+rN8JpGGAbvybyuXmOtPvU1lrWHp0lMk5p6zJMRKuSuwtmMk5LhP+e mMsaDjEtdrZIlkvKnkA6NEniiGXey/kbDmOg31Lg63b9HoED/hnOWvS61H3dA1SMt6bA 6qzIRihQrdh6IQJxcQlQ21PlXlq0zszUsUUS5Ybn8mSXQOOx5mr2lx7k+obaiFF7Dl0b 20GPn7VAY4xnLtf5TP15oHeI2tf6jSvyD5oRqZBz/dPUAQQ+dtiNH5yzRLj/OVt+Ekbl JGqSpyQzLlciBgE97dN1+avIlDpqYf+oTjoSinEGhco9ZeMn6yQ43FNL0zWX2/oxxzkh Oymw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706696979; x=1707301779; 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=HkR7rBl2sOafZKXFZdEWG75554ewnQ9UQfMjdvinuXY=; b=EYHHmURCW3RIwkd/wZFl47nqqdAFOZT3RZaEFgx3Pi4r4JkMKwG8zVEx9cbNvAR+jH wG/cvoJrtTN4ZgSPRdO+0Hpc7o/kjfxVanxvr9OmUPzPCE+LnFO/oOebqQM+rQ+Wq8xh H+F5LXvWi7Gw/CZsDZ1iwCfxRMP/c6e/IjbW15StSegR0whNbH0QqGQjGVGPiolckFAM 0M1xGcWmWyrCx/ufzGHUENFGyzPTyG1Zce2io+vQpa9o4X3ckGzVdCWxkZJE/OD2GXkn ANYqE4nsuKI41irhqo6C1UaTPKuXPnf2aRFHa0hGOmhOtLVQIpkXe9+gmeheGvWvpGBM izGw== X-Gm-Message-State: AOJu0Yyq3DsPwb/hydytcNHbqg0Fqnal0zSnWC3yne/TRhJEOXLC9wL8 S4PA0a+I64ucNhXkWctc4ALEVK9MIuwVRSmaa9o6RKoOLaZiikStAzrAmsxR4oY= X-Received: by 2002:a2e:ab0d:0:b0:2ce:5524:1d96 with SMTP id ce13-20020a2eab0d000000b002ce55241d96mr830730ljb.51.1706696979692; Wed, 31 Jan 2024 02:29:39 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCXlwqgqP8/OAq4HWyVx8FiFCUs0NUqVKAOuyPMBmzGN/G9vCE7xfEC7zdcAPomxJ+TXGfMkmDoIl8Bbe24VEaMkkVONUyt1LBQgMHx6t8epOVxnJyWXT8+ayaMXGp0twh6ybHkaXd1k3R91qKfslmQvji4FTXfOtGP0Vbk4x5B5ZzJTQknlX+5LEugPsbC4j5Es8dW3lI8YLIztbtbEmF/UsbchmmytV6qo+009RmIJpjVPefQn/jSNKOqnd8rVevAFzVZ5SDjeCW9KoAIKN9xxyP5RlKBGfdeWmUXPcF4qtfmM2d+AHB52mA== Received: from claudiu-X670E-Pro-RS.. ([82.78.167.87]) by smtp.gmail.com with ESMTPSA id p16-20020aa7d310000000b0055f3b11d0adsm1618989edq.55.2024.01.31.02.29.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jan 2024 02:29:39 -0800 (PST) From: Claudiu X-Google-Original-From: Claudiu To: geert+renesas@glider.be, mturquette@baylibre.com, sboyd@kernel.org Cc: linux-renesas-soc@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, claudiu.beznea@tuxon.dev, Claudiu Beznea , Hien Huynh Subject: [PATCH 1/2] clk: renesas: r9a08g04{3,4}: Use SEL_SDHI1_STS status configuration for SD1 mux Date: Wed, 31 Jan 2024 12:29:29 +0200 Message-Id: <20240131102930.1841901-2-claudiu.beznea.uj@bp.renesas.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240131102930.1841901-1-claudiu.beznea.uj@bp.renesas.com> References: <20240131102930.1841901-1-claudiu.beznea.uj@bp.renesas.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 From: Claudiu Beznea The status configuration for SD1 mux clock is SEL_SDHI1_STS. Fix it. Fixes: 16b86e5c03c5 ("clk: renesas: rzg2l: Refactor SD mux driver") Reported-by: Hien Huynh Signed-off-by: Claudiu Beznea --- drivers/clk/renesas/r9a07g043-cpg.c | 2 +- drivers/clk/renesas/r9a07g044-cpg.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/renesas/r9a07g043-cpg.c b/drivers/clk/renesas/r9a07g043-cpg.c index b70bb378ab46..075ade0925d4 100644 --- a/drivers/clk/renesas/r9a07g043-cpg.c +++ b/drivers/clk/renesas/r9a07g043-cpg.c @@ -138,7 +138,7 @@ static const struct cpg_core_clk r9a07g043_core_clks[] __initconst = { DEF_FIXED("SPI1", R9A07G043_CLK_SPI1, CLK_DIV_PLL3_C, 1, 4), DEF_SD_MUX("SD0", R9A07G043_CLK_SD0, SEL_SDHI0, SEL_SDHI0_STS, sel_shdi, mtable_sdhi, 0, rzg2l_cpg_sd_clk_mux_notifier), - DEF_SD_MUX("SD1", R9A07G043_CLK_SD1, SEL_SDHI1, SEL_SDHI0_STS, sel_shdi, + DEF_SD_MUX("SD1", R9A07G043_CLK_SD1, SEL_SDHI1, SEL_SDHI1_STS, sel_shdi, mtable_sdhi, 0, rzg2l_cpg_sd_clk_mux_notifier), DEF_FIXED("SD0_DIV4", CLK_SD0_DIV4, R9A07G043_CLK_SD0, 1, 4), DEF_FIXED("SD1_DIV4", CLK_SD1_DIV4, R9A07G043_CLK_SD1, 1, 4), diff --git a/drivers/clk/renesas/r9a07g044-cpg.c b/drivers/clk/renesas/r9a07g044-cpg.c index 1047278c9079..bc822b9fd7ce 100644 --- a/drivers/clk/renesas/r9a07g044-cpg.c +++ b/drivers/clk/renesas/r9a07g044-cpg.c @@ -178,7 +178,7 @@ static const struct { DEF_FIXED("SPI1", R9A07G044_CLK_SPI1, CLK_DIV_PLL3_C, 1, 4), DEF_SD_MUX("SD0", R9A07G044_CLK_SD0, SEL_SDHI0, SEL_SDHI0_STS, sel_shdi, mtable_sdhi, 0, rzg2l_cpg_sd_clk_mux_notifier), - DEF_SD_MUX("SD1", R9A07G044_CLK_SD1, SEL_SDHI1, SEL_SDHI0_STS, sel_shdi, + DEF_SD_MUX("SD1", R9A07G044_CLK_SD1, SEL_SDHI1, SEL_SDHI1_STS, sel_shdi, mtable_sdhi, 0, rzg2l_cpg_sd_clk_mux_notifier), DEF_FIXED("SD0_DIV4", CLK_SD0_DIV4, R9A07G044_CLK_SD0, 1, 4), DEF_FIXED("SD1_DIV4", CLK_SD1_DIV4, R9A07G044_CLK_SD1, 1, 4), -- 2.39.2