From nobody Mon Nov 25 17:26:16 2024 Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) (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 3ECEA22AD9E for ; Fri, 25 Oct 2024 17:16:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.54 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729876598; cv=none; b=QZPoE+tlEG3KiA4zrMOJC2uwRE3BYenjFRnfZbpwOsnzK2S/vZXzBKh4VqqYO8VfXEx5Vgg4BY6fVbbHmpiyuGvSV34tSeXhvdAC1wqHR1EWR6w1GI2+Z5ossuyQIU/WQLZHycF//6HkoutptO+6ZN1yMax5kHk6kjpZp0O9qgo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729876598; c=relaxed/simple; bh=XBzj1denapOs56Du29PEQKEZahYGIqXLFsG73uRG2VE=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=OiU1EgnwNNlWXAewQxHhSZLQYUS87IL4OkolwkOb9aiH4Q0TxkuZfgr0E4+8LDZwhbRVQWGXGZyJv6koQUD8U0xmUwnHlKKAydedEHQ0K0pCxLfRpNc4BtkBSRHHKALq8iUeGgbdpjEMPKMWDBsnX/CL3jOXdRZV403RbprePuM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=raspberrypi.com; spf=pass smtp.mailfrom=raspberrypi.com; dkim=pass (2048-bit key) header.d=raspberrypi.com header.i=@raspberrypi.com header.b=kNdafAIY; arc=none smtp.client-ip=209.85.128.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=raspberrypi.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=raspberrypi.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=raspberrypi.com header.i=@raspberrypi.com header.b="kNdafAIY" Received: by mail-wm1-f54.google.com with SMTP id 5b1f17b1804b1-4315baa51d8so22546315e9.0 for ; Fri, 25 Oct 2024 10:16:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; t=1729876591; x=1730481391; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=RLNEe24VVIwAaP5agwCiuxY7rB4nwlR4wJvUVCZVQ/E=; b=kNdafAIYshrHa6sbvPV0peVIFCgeHSpHEHygIXhw87zhQ/hIrUZmEU7zMi3WKFq+z4 lUHKxwNB0k3dFJetKPrXlxp2zbshMp1zjPolYYPBN478inYGDi2iD/GhvqL9hXrD/HUW jJ7emcdeurB9AXrwN5l6b3fAB0D6K4RJTQmQ+W67IW9O/00SI6l+7FUnBeGW+BQRHxCK TmhWzKZv1S2ZwIKdyV0jsjOu0hwK0SutmoQxWWXYbjtaxb8ll0rP4YRYYHNa1g+BjMPs RlzxnMavvYF7VBm075frWU2S0nSRohtfEjRBI0jXsQgeKJ+8J/6UPPaHFcnZxGUXDvo6 U6Gw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729876591; x=1730481391; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=RLNEe24VVIwAaP5agwCiuxY7rB4nwlR4wJvUVCZVQ/E=; b=WbM6/3DS9gftirHUfqiQ0eefAadI9T3j+IFwiZf0biJv+Myy2wi+UPrqTNLGc+vJty +n9BWxJZ7FjY9X1tUNDWUdPeYxVohdfw/3QIhM8YAfPzWIem3F+iWVrnADUJzhbv3RAF jUMTBJUHrsWjrS2clEDAOTuyu6uPFrd6Bbyfe/Vemf9lmiEP0dWLApqWoTx/QOC2h4hX U7E5VHFZNx87mRUbuCODV+m7QP1HfzBTHAEltwSueKodnR/ScXgwKz/lIj5R0kom1JU9 D5JbUaJGOz6VBP3Ij0CXSMCKSMVYdm8wBM5IG+0y6/n/bMZIrwOSGnCwzuehcAqVWyEk m24A== X-Forwarded-Encrypted: i=1; AJvYcCXQ2KbUTrjp+6/AJextQZwAyHrrt1AYl1IS/jF4QvfE/xC1gMGpb+30memx1KtSNCD1KU033sePaQy0vqM=@vger.kernel.org X-Gm-Message-State: AOJu0Ywc4muamr9oKpEQEMzFRtQPZftAP8fE9vhfZU+iVIy2KGx8MxTP ZqXocJv8Rgmr+jxExRlJd8gBqsF14IMYpGh18aygJwL4HqlC5B6YYkpRw2wMCXI= X-Google-Smtp-Source: AGHT+IEf4KZxMhq0qk7/lCgwke2nZYw7jfKwbBRjQajizbRblmsymhNJTGNxxKLe3CTSVhp57vlUig== X-Received: by 2002:adf:f411:0:b0:37d:4e59:549a with SMTP id ffacd0b85a97d-380611418abmr124517f8f.16.1729876591324; Fri, 25 Oct 2024 10:16:31 -0700 (PDT) Received: from [127.0.1.1] ([2a00:1098:3142:e::8]) by smtp.googlemail.com with ESMTPSA id ffacd0b85a97d-38058b91f50sm2013649f8f.94.2024.10.25.10.16.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Oct 2024 10:16:30 -0700 (PDT) From: Dave Stevenson Date: Fri, 25 Oct 2024 18:16:02 +0100 Subject: [PATCH v2 31/36] clk: bcm: rpi: Enable minimize for all firmware clocks Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20241025-drm-vc4-2712-support-v2-31-35efa83c8fc0@raspberrypi.com> References: <20241025-drm-vc4-2712-support-v2-0-35efa83c8fc0@raspberrypi.com> In-Reply-To: <20241025-drm-vc4-2712-support-v2-0-35efa83c8fc0@raspberrypi.com> To: Maxime Ripard , =?utf-8?q?Ma=C3=ADra_Canal?= , Raspberry Pi Kernel Maintenance , Maarten Lankhorst , Thomas Zimmermann , David Airlie , Simona Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Florian Fainelli , Broadcom internal kernel review list , Ray Jui , Scott Branden , Michael Turquette , Stephen Boyd , Javier Martinez Canillas , Catalin Marinas , Will Deacon Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, Dave Stevenson , Dom Cobley X-Mailer: b4 0.14.1 From: Dom Cobley There isn't a reason not to minimise the clocks, and it saves some power. Signed-off-by: Dom Cobley Signed-off-by: Dave Stevenson --- drivers/clk/bcm/clk-raspberrypi.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/clk/bcm/clk-raspberrypi.c b/drivers/clk/bcm/clk-raspbe= rrypi.c index d374538e7108..9f716b2223ae 100644 --- a/drivers/clk/bcm/clk-raspberrypi.c +++ b/drivers/clk/bcm/clk-raspberrypi.c @@ -111,21 +111,27 @@ raspberrypi_clk_variants[RPI_FIRMWARE_NUM_CLK_ID] =3D= { }, [RPI_FIRMWARE_V3D_CLK_ID] =3D { .export =3D true, + .minimize =3D true, }, [RPI_FIRMWARE_PIXEL_CLK_ID] =3D { .export =3D true, + .minimize =3D true, }, [RPI_FIRMWARE_HEVC_CLK_ID] =3D { .export =3D true, + .minimize =3D true, }, [RPI_FIRMWARE_ISP_CLK_ID] =3D { .export =3D true, + .minimize =3D true, }, [RPI_FIRMWARE_PIXEL_BVB_CLK_ID] =3D { .export =3D true, + .minimize =3D true, }, [RPI_FIRMWARE_VEC_CLK_ID] =3D { .export =3D true, + .minimize =3D true, }, }; =20 --=20 2.34.1