Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1279194pxb; Thu, 24 Mar 2022 16:45:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxw1eAMilBVGinElZw9mnDwB1PswB16O+JBwfDNDvkYTqsYiZeMrQUEnxkBtIRXwNscz4Dr X-Received: by 2002:a17:90a:3181:b0:1c7:6d18:391a with SMTP id j1-20020a17090a318100b001c76d18391amr9324993pjb.30.1648165545677; Thu, 24 Mar 2022 16:45:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648165545; cv=none; d=google.com; s=arc-20160816; b=DZJuP1VSl1TzepzVYO9qppPm+BZxPPv4fz2jzIOR6LLZ66F11tKd+/pEdK6ehVjDW6 zGhY5BqdrgapUdy58X/qKZqXXJB1s5cHT6RahPPAD8ZUGfsu3+0UnIOfBtNo/kaSftco d4BuZd9ccdHB7dgm81pGazCE3QC8XM++CsgPC5+4GEBE5SfRrfMSSYBny2ThMv30DmK/ Y5vxzYGgVlFl7xm7iMUZQpA5c/L5nSNimoYcJNLBe4Cg51oTocD3LP9OtrlZ76Qeh4H2 SQzy4IYpLm9AQw6bTP2ZUdSqCMGpOlbwNM/RZZC5bvYsRgih/di6WblfarRqLAaz6SmY nBSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:dkim-signature; bh=nFshvjQoCO4+8ksoNXu2qsNXNkIE+l4UT7PFYRU6I8k=; b=eHnfZGCxroYO1RBAm+jv92Wir9Sc1wq219yIm7C3QriUqO79X3oscFPUP5yFJCSh7w oCxZGHqBM7GF0sQzcOxdCFP6XGHPvPTv4yc2vgHGHxhKYrvW3IWOLpXhVG2IHXmz67XD t09ZdelwHhhONgVy16llpRIcpcyK0JUOnJLpixOtOFO+JL78kKqrKnzM4ivwoe+HXR59 fpFrXNHw5PqsEiZNQmSzEQTAThzoZL3LsAiXBQoeA7XwhRPcVBs3ZsH/u3Nxzp5kW+fD SJa6owhBEqyat9vvFCRQgHzL3w0NGB3j1h4SWpAlXbj0ftcyISXFNIXIb883OYLJbBzr 8bgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=pESn3aJw; dkim=neutral (no key) header.i=@suse.de header.b=QD1XqTHf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cm8-20020a056a00338800b004fa3a8e00afsi993665pfb.358.2022.03.24.16.45.32; Thu, 24 Mar 2022 16:45:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=pESn3aJw; dkim=neutral (no key) header.i=@suse.de header.b=QD1XqTHf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245407AbiCWQKw (ORCPT + 99 others); Wed, 23 Mar 2022 12:10:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49076 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245325AbiCWQKq (ORCPT ); Wed, 23 Mar 2022 12:10:46 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4DEB63BF9E; Wed, 23 Mar 2022 09:09:16 -0700 (PDT) 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 F0F8A1F38D; Wed, 23 Mar 2022 16:09:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1648051754; 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=nFshvjQoCO4+8ksoNXu2qsNXNkIE+l4UT7PFYRU6I8k=; b=pESn3aJwUggyMpeigQyk2/gfy3QYJjbYBoPZ8286k9axulJLG81iapaX4CYxzUivh0DJj9 vW9Wx1vtiapkwzSmWAv1Ns//qZX/zAlSwjDtpNXr7vl5e8WOqR09Cks8fVphSHb+lydDbl zEXDK0dTuW3aIdTfHNJ2NT0M6h9mZBo= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1648051754; 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=nFshvjQoCO4+8ksoNXu2qsNXNkIE+l4UT7PFYRU6I8k=; b=QD1XqTHfZU8x8DcaHIqV9sa3Pabg1UZZoUMiQBr/tyIUCoD7crlDSNtG263qrnuE2b2wK9 Mn1N1M6Eq8zlvMDQ== 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 E2D211331A; Wed, 23 Mar 2022 16:09:14 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id ON8pNypGO2IgfgAAMHmgww (envelope-from ); Wed, 23 Mar 2022 16:09:14 +0000 From: "Ivan T. Ivanov" To: Stephen Boyd Cc: Florian Fainelli , Nicolas Saenz Julienne , Dom Cobley , Dave Stevenson , linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, "Ivan T . Ivanov" Subject: [PATCH 3/3] clk: bcm: rpi: Add the BCM283x pixel clock. Date: Wed, 23 Mar 2022 18:08:59 +0200 Message-Id: <20220323160859.69572-4-iivanov@suse.de> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20220323160859.69572-1-iivanov@suse.de> References: <20220323160859.69572-1-iivanov@suse.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Dave Stevenson The clk-bcm2835 handling of the pixel clock does not function correctly when the HDMI power domain is disabled. The firmware supports it correctly, so add it to the firmware clock driver. Signed-off-by: Dave Stevenson Signed-off-by: Ivan T. Ivanov --- drivers/clk/bcm/clk-raspberrypi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/bcm/clk-raspberrypi.c b/drivers/clk/bcm/clk-raspberrypi.c index 240128939d57..658bfcde3616 100644 --- a/drivers/clk/bcm/clk-raspberrypi.c +++ b/drivers/clk/bcm/clk-raspberrypi.c @@ -276,6 +276,7 @@ static int raspberrypi_discover_clocks(struct raspberrypi_clk *rpi, case RPI_FIRMWARE_HEVC_CLK_ID: case RPI_FIRMWARE_PIXEL_BVB_CLK_ID: case RPI_FIRMWARE_VEC_CLK_ID: + case RPI_FIRMWARE_PIXEL_CLK_ID: hw = raspberrypi_clk_register(rpi, clks->parent, clks->id); if (IS_ERR(hw)) -- 2.26.2