Received: by 2002:a89:288:0:b0:1f7:eeee:6653 with SMTP id j8csp105714lqh; Mon, 6 May 2024 12:44:43 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUxyphIaa0voECNP2wUbyYwNyL/emb0zgplGyPusmAC9YPFFm12o0d3IivMrMcUyYuED1rHskjZfqeSDatdXtLcE5KppbYr1UkZywC4WQ== X-Google-Smtp-Source: AGHT+IHmFG8REGRA+6SzfIJd1E57vgSyHY0f8KroF5SjPc6bqLjWsoxqSIr8EXEb16OAp/F+GOCG X-Received: by 2002:a05:620a:29c8:b0:792:988f:5916 with SMTP id af79cd13be357-792a644e318mr124284185a.5.1715024682715; Mon, 06 May 2024 12:44:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715024682; cv=pass; d=google.com; s=arc-20160816; b=iBOqh82KbThMV4gZi93iEzYJKfnR4WI50Cpd7vHHSrz9ZOKU1Hc6KeEkW9q6m3RfZO Se8vKyFnWXU4OqtlznUhxKSS0W7K2xvsGcrNj8ij5lil/SOld5XyEyn4N+R7FcEZe31J xT/hsD9pW4cBoM8TIQytTAmwTzUrsPeMqLSnkC9w4WqO36CdUV0ulLssUhR9KGx2KcbX De9Y2MHQPojDONqzYRl/kkdjcxKHFGYWs7yC13uYDpKlpQRaY0S3JHBHrhpsF/jN5ioT kPBub+kXndrBPjKARYs/SRIBku0P+OCsyTyETIgmZCS5Sgj0eSKcYSta7EMKCRv0dbPT AtJg== 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=PLmJpQfp0i8fR/OZHQc7F6SpjNiFbXRgibuQG4wYtJE=; fh=Zbzbtp2uGur0+5DjAjPh/uoO8O94tYiU652lasr/sHA=; b=RCKBiAUsEqGiTcH+Ev3hEqBjiizNWdUHvyHGdUjH+mDr58Fa+2NlPqGuKmY2QO/VTm LHCkI/5yUbKXl7a2G2RZxnbwUZlD/TpV1sITHl3gCZ3Cj9noL2Pj9oh7SWhvTB1qc0Vz 2bfhXiXTxSHlvoixMzqucBtVTsGdaPjIpjF4bT1gSfkyMrhZvx+N47WbaVHbk2Xp8B1k ofG4aVZlBhdefR2jTSkDZaajr1Ejgi7oCwh3pS6pwZwzu/QcFKZmiANLSmfu/qUFrFRV +RvW0QkMcbgwhJcWKzxT1iSbVB84IOE4QntnOs+BrTiOIHhw57/I3VA9zJBH+Xmwgd4E 5bmg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="dnhVr/2h"; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-170358-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-170358-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id a7-20020a05620a438700b007928b3d9e59si5731128qkp.72.2024.05.06.12.44.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 May 2024 12:44:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-170358-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="dnhVr/2h"; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-170358-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-170358-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 6BE2F1C20362 for ; Mon, 6 May 2024 19:44:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 932C615B154; Mon, 6 May 2024 19:44:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="dnhVr/2h" Received: from mail-ej1-f47.google.com (mail-ej1-f47.google.com [209.85.218.47]) (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 1AD3F15ADBE; Mon, 6 May 2024 19:44:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.47 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715024643; cv=none; b=eCfKLudvBSXeTeGc3CnEFE4pcqF5sntMnLo0UjrE7QQRX/A319XmclSQ1QvBLiZUM5q+dlNIlIjGmWX6i47LKKnsVKuIFFV/A9ejthtVjSk829V25GKJ8memfI78i+GH3P+RZN1Eo3o3fHJkct6OVzvjJRSSDonDmrTtj1mIRL8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715024643; c=relaxed/simple; bh=dI/u3g7LTMAIjInR6B7zv39It4pPEM6pc2Vvis9c1Po=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=CgnvyGZUe/GfeURd1kCv7YLQJx8wK+3lSUG3qnOkr43/MrC6fflAK8iLpp/u7OtmAvKdhwL9DJwjvqQeKP2Zyw89bg+35YBhXhEQ3xXFWTGtCrJfHPaB15Icbme16NHVMTsY5gLxjcjt69kulk8WCoTSZKkRYe8bEB6rSQysAqs= 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=dnhVr/2h; arc=none smtp.client-ip=209.85.218.47 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 Received: by mail-ej1-f47.google.com with SMTP id a640c23a62f3a-a59c5c9c6aeso380248666b.2; Mon, 06 May 2024 12:44:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715024640; x=1715629440; 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=PLmJpQfp0i8fR/OZHQc7F6SpjNiFbXRgibuQG4wYtJE=; b=dnhVr/2hTe4HuK8QrOMd99sfx//u4BAqb2WYJ99n4aSAKKAL85zEHLXw2aIoh0cBhB 1jNQE1pskEfTiDt6QqqaHod4ahffvBa4UY7BYMl5uUj6h1Sa67EPyLhg/jcZOush1mH/ ziTzdOIi0UyMlyw8mfhpjzcN/l6LynP2Xv6fdI3vm3TqPJAx9So3X7M+NK9qmN8HBrLO ZmfuOOfBLNd0L+zVN/gKhdcY3mkWAaz5qDaGn1quEOrCwuYvxFdYVmPsWJ0GNzRVjgJ8 qWbjqf2y6L/7re3t6oVFeH/auV4MHz3UZxPhxFDTpPyNAdXQeMzPcs+DmRVNKyxDiCLo IWHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715024640; x=1715629440; 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=PLmJpQfp0i8fR/OZHQc7F6SpjNiFbXRgibuQG4wYtJE=; b=ACekcqziCxpGZ643gvY/v0U1gUcvxQqbG2QZ6WWZ0mBnkroycEPm8Ly1LGY39Cnell 8EDzQH7ocQloTji7S/8DqSncvaOJvC0zAPtdCDWeM79k1FMk9RDDLhl9eIqDFvQa5Nxb 6qZLdlmLw8IzG7pjCSWND/RZjAoKPlJJHPI/D+8nSGjhn4zI+cXnJ3Io5Mf8ERPe34Sc 31cG2IbSJ9i5AlkYf8jEGbD1/+ov1JwlPDFP03WJglyjeWorS5phYQk7bh6RyXSCEw5l 7afKiH7G5bXfYqWMX236edCAdlb7HONaQXjGhSKAEyTwW/xUVWDTtePf5xN4kzd3/scn 5VCQ== X-Forwarded-Encrypted: i=1; AJvYcCVQQ4s1atK//KKNgJIRWfnsQB4XaWYPUV+i4+c504HoWS/PLZ0AIfB9CzceGzEEk44Jj1f+r0iBzkOIXYyvuGgQ21Ms7eqeuU6S3guawMfl3a1EcNr1z0B+zyyRtrQazkPCiRUHAlj/OFqHhcNERGFtHayALf0EMXQZByhNglXyOYgJZQ== X-Gm-Message-State: AOJu0YzBkcpskpdZOAqbzdLMPnUND3l1i00yhAmPByiyrLvBHjY9EJqa Xuk9nSy3aX3OStWTnPES/cb6Ak6RMv075afpy+9RfqGMOHx/Jw8= X-Received: by 2002:a17:906:65d2:b0:a59:a727:1e8a with SMTP id z18-20020a17090665d200b00a59a7271e8amr4215668ejn.8.1715024640454; Mon, 06 May 2024 12:44:00 -0700 (PDT) Received: from U4.lan ([2a02:810b:f40:4600:1c62:e77:6753:5729]) by smtp.gmail.com with ESMTPSA id f13-20020a1709067f8d00b00a59d146f034sm1367321ejr.132.2024.05.06.12.43.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 May 2024 12:44:00 -0700 (PDT) From: Alex Bee To: Sandy Huang , =?UTF-8?q?Heiko=20St=C3=BCbner?= , Andy Yan , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Michael Turquette , Stephen Boyd Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, Alex Bee Subject: [PATCH 3/7] clk: rockchip: rk3128: Export PCLK_MIPIPHY Date: Mon, 6 May 2024 21:43:38 +0200 Message-ID: <20240506194343.282119-4-knaerzche@gmail.com> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240506194343.282119-1-knaerzche@gmail.com> References: <20240506194343.282119-1-knaerzche@gmail.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 The DPHY driver requires to specify a pclk so it gets exported here. I also dropped the CLK_IGNORE_UNUSED-flag as we will enable the clock on demand. Signed-off-by: Alex Bee --- drivers/clk/rockchip/clk-rk3128.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/rockchip/clk-rk3128.c b/drivers/clk/rockchip/clk-rk3128.c index 75071e0cd321..a20d1fd25e2a 100644 --- a/drivers/clk/rockchip/clk-rk3128.c +++ b/drivers/clk/rockchip/clk-rk3128.c @@ -526,7 +526,7 @@ static struct rockchip_clk_branch common_clk_branches[] __initdata = { GATE(PCLK_ACODEC, "pclk_acodec", "pclk_cpu", 0, RK2928_CLKGATE_CON(5), 14, GFLAGS), GATE(0, "pclk_ddrupctl", "pclk_cpu", CLK_IGNORE_UNUSED, RK2928_CLKGATE_CON(5), 7, GFLAGS), GATE(0, "pclk_grf", "pclk_cpu", CLK_IGNORE_UNUSED, RK2928_CLKGATE_CON(5), 4, GFLAGS), - GATE(0, "pclk_mipiphy", "pclk_cpu", CLK_IGNORE_UNUSED, RK2928_CLKGATE_CON(5), 0, GFLAGS), + GATE(PCLK_MIPIPHY, "pclk_mipiphy", "pclk_cpu", 0, RK2928_CLKGATE_CON(5), 0, GFLAGS), GATE(0, "pclk_pmu", "pclk_pmu_pre", 0, RK2928_CLKGATE_CON(9), 2, GFLAGS), GATE(0, "pclk_pmu_niu", "pclk_pmu_pre", CLK_IGNORE_UNUSED, RK2928_CLKGATE_CON(9), 3, GFLAGS), -- 2.43.2