From patchwork Mon Aug 29 15:21:51 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: 12958045 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 6F8A5ECAAD2 for ; Mon, 29 Aug 2022 15:40:48 +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: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:In-Reply-To:References: List-Owner; bh=om1n0JpF8g93TYZCIeWRxJ7C0F0ZSV8LBJeYJMC6Wd0=; b=xo+105X7Rsix9d kkR47doq83faRtRquhwSRkerHAqAnmk4JfBFSK+EuzzZ3b7+5Jj2+N9b5ISSxZdSydrMCXTJIxnlm 87uDbRp+bQAC3nYAnACtUOyqi0ByZYEdmnbX0UPYaf5BBWl6wBBXsfdEAV6ydLNfFKbM3JEzMqfc4 ZpNqlItDPm8d0CWLUsOMgweLgu9DTMwfvKS84vAP9LtEr9C8Q2kAM2UkiYZqVrHOojVeTkJZUoXqN LSAE5LLk7+1YiJh83avKxdrTzurHQxFjwxjp4kz7+TF5rvkGUtRC8VPjpxzAIr57j0O6U+9LwIl+B IWrSqyAa5roYdLX/8+fA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oSgrh-00BPoZ-6m; Mon, 29 Aug 2022 15:39:53 +0000 Received: from smtp-out2.suse.de ([2001:67c:2178:6::1d]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oSgr9-00BPZn-S9; Mon, 29 Aug 2022 15:39:22 +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-out2.suse.de (Postfix) with ESMTPS id A76C41F8CA; 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; bh=Uf16zSI5IN055iNDRYukRl26TjtcREO64gRxSGdlrpI=; b=LprNfFuqhg0vtx+uzObRkspWDHk0JadXSQy+b9LJjPg7BbWEpWqcH49CM1qapaO+6hQZ92 yFZkjgHNsddcOHLWX9qcbiYSdNLVQj8PMASCq0BthHKdQ+e9w8741eImjHryMV/bXve2fp Cv3AgjxUZkrI8LUuMoTMXSsYq0ANr5g= 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; bh=Uf16zSI5IN055iNDRYukRl26TjtcREO64gRxSGdlrpI=; b=TOXoYlLjfun4B5uFzJtnkxghBbOV/LgA4zhPPeb30Th7tB6AnoAZn3Vd2OBASrlPJ2hQS0 8pVwIzWmvYOfKHDQ== 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 8FC2C1352A; 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 XjjGIqLdDGPrDAAAMHmgww (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" Subject: [RESEND v4 0/3] clk: bcm: rpi: Add support for three more clocks Date: Mon, 29 Aug 2022 18:21:51 +0300 Message-Id: <20220829152154.147250-1-iivanov@suse.de> X-Mailer: git-send-email 2.35.3 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220829_083920_077338_0E8C0281 X-CRM114-Status: UNSURE ( 7.29 ) 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 Add missing clock required by RPiVid video decoder and provide more reliable and accurate source for HDMI pixel and video encoder clocks. Changes since v3 - Put back support for VEC clock, which was actually one of reasons for this patch-set [1]. I mixed "HEVC" vs. "VEC", sorry. [1] https://bugzilla.suse.com/show_bug.cgi?id=1198942 Changes since v2 - Added Acks from Maxime Ripard and Dave Stevenson Changes since v1 - Drop RPI_FIRMWARE_VEC_CLK_ID clock it doesn't seems to be used. - Rework downstream changes on top of recent Maxime changes. Dom Cobley (1): clk: bcm: rpi: Add support for VEC clock Ivan T. Ivanov (2): clk: bcm: rpi: Add support HEVC clock clk: bcm: rpi: Handle pixel clock in firmware drivers/clk/bcm/clk-raspberrypi.c | 11 +++++++++++ 1 file changed, 11 insertions(+)