From patchwork Mon Aug 29 15:21:52 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Ivan T . Ivanov" X-Patchwork-Id: 12958043 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D9467ECAAD2 for ; Mon, 29 Aug 2022 15:40:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=r+yHwXsTqSx+aK1RTbdOIJBz5UHHCVo9UIrdt+nCXRs=; b=lf+v8uSCReirE0 WF+mDFR5U4Fjq5/x0DvuRFLsiTZVzj0o/iPo4noPmkUkQMCI0eDK17LlVuMLCljLPZjYBAAxjE48E HAyeKmI0j1kOe4oxGXi45nZxO58tiLB71pg+tW92GQJpouAZWf/CGEiPxr78Vi7QBiXakHjveplK8 raXdUhpk/ncq/0NdCAeLKcYqDmA1Kx9nDKq5Fpj/Op4vKaLlMXCNrMeDC6i8RjrNav1ZxDLYwq+ZH ztYiADaGkqwq4bLcQainOsXCY+SE95IfOI9w5VIN4zC9027y/gD0pfMYHOS3jPDcDapizF4e5m5iG zxn/QVq6sDJ5pgIAU9Ag==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oSgrL-00BPgJ-Pp; Mon, 29 Aug 2022 15:39:31 +0000 Received: from smtp-out1.suse.de ([195.135.220.28]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oSgr9-00BPZp-S8; Mon, 29 Aug 2022 15:39:21 +0000 Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id C449D2211F; Mon, 29 Aug 2022 15:39:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1661787554; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=hSx2RugW2hGO3Udg6o5omWweArbjd3LUOfNMZgn7SbE=; b=wVKFUWA5IVn5NFU5jeY2Tw9mWgQY4FWk7dWmrUMJFiiHJPcjHNEOBXKh+8lXMc1BihZ3Ni viobcC0d1iR2LaoMHzp0H07KpSMxJ73Rucpl26xmupWC8JjvtJ38NYcHETSeNSSo70CZRR z8D9bYeqRxj7fJ9mhl50owwb9x92SH0= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1661787554; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=hSx2RugW2hGO3Udg6o5omWweArbjd3LUOfNMZgn7SbE=; b=0mlgITBmjXHzPtjD/4COkzzwfo8b3XC1KjeDdlQtRosPCkKZRHAIlM5yKL5Ni/G4MZx4Ia 8CPampTwXJqYkfBw== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id A404B139C4; Mon, 29 Aug 2022 15:39:14 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id QPm8J6LdDGPrDAAAMHmgww (envelope-from ); Mon, 29 Aug 2022 15:39:14 +0000 From: "Ivan T. Ivanov" To: Stephen Boyd Cc: Stefan Wahren , Dave Stevenson , bcm-kernel-feedback-list@broadcom.com, linux-clk@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Guillaume Gardet , Nicolas Saenz Julienne , "Ivan T. Ivanov" , Dom Cobley , Maxime Ripard Subject: [RESEND v4 1/3] clk: bcm: rpi: Add support HEVC clock Date: Mon, 29 Aug 2022 18:21:52 +0300 Message-Id: <20220829152154.147250-2-iivanov@suse.de> X-Mailer: git-send-email 2.35.3 In-Reply-To: <20220829152154.147250-1-iivanov@suse.de> References: <20220829152154.147250-1-iivanov@suse.de> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220829_083920_077009_85AF4801 X-CRM114-Status: UNSURE ( 9.11 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Export clock required for RPiVid video decoder hardware. Cc: Dom Cobley Acked-by: Maxime Ripard Signed-off-by: Ivan T. Ivanov --- drivers/clk/bcm/clk-raspberrypi.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/clk/bcm/clk-raspberrypi.c b/drivers/clk/bcm/clk-raspberrypi.c index 73518009a0f2..8f560c6b602d 100644 --- a/drivers/clk/bcm/clk-raspberrypi.c +++ b/drivers/clk/bcm/clk-raspberrypi.c @@ -129,6 +129,9 @@ raspberrypi_clk_variants[RPI_FIRMWARE_NUM_CLK_ID] = { [RPI_FIRMWARE_V3D_CLK_ID] = { .export = true, }, + [RPI_FIRMWARE_HEVC_CLK_ID] = { + .export = true, + }, [RPI_FIRMWARE_PIXEL_BVB_CLK_ID] = { .export = true, },