Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp704548pxb; Tue, 5 Apr 2022 19:32:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy0DFCYhBf3f6iRHREkC+kwxmWjMOYdKCMKZYs8UTiEmPMuSFV3FNbvX5hLqmFSNn2QLVLT X-Received: by 2002:a17:90a:fc91:b0:1ca:ad65:fa98 with SMTP id ci17-20020a17090afc9100b001caad65fa98mr7577827pjb.232.1649212373425; Tue, 05 Apr 2022 19:32:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649212373; cv=none; d=google.com; s=arc-20160816; b=lpL3yTHTAUIiQhO4n6VXsvJ9XgoPqPQBPeRp1CZABBmnBDUfOnAgyWiItGEWfbbp48 oQ0eCtPthkGuDSXHZVl+XrEp5mNKHPpQub1klCEZ4Afd8/mmXsp8OcrDdC5hgg5tIcrF JwdFimN4dd66EX4HJ5n35dQRpFXkxk9xc0uoSf8rGm5bhH4YkopTpjJxkuNO8tRW5mVu pYRFXXO7tC7Bm4JUfaPEWZhuOJF9r9/rmoQ127tDL7j+4BY1AW/Wdc9B2c0jNBXNoEyN 01tVgc+twfR8V0MhCc51CN7vM88i897ogC5/rXrpzoaJMbqEW4d+SXI/Os7ooNtDuxhl qBJw== 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=p7Y05L7uOkIJquMnEg+eO/WF4r7xbv9mlE1hTt5HzHs=; b=bvB/HSLZed8JpiIAufJGQ99yAgCpvcj/Kgd5ppj9Zo5rT/kpwbTqkg0u3bcBjcniHB q3zcp2pIZbXlmaORnKLonq7xCJr3WXHX2qxmFnYiYp7wYGaFnF38RHLYyBgonNIaEFNX F8G7lLfF2hHwsCyUFdLvQV03J1fea+19hE9mNCyRGTneOpy6MIgIae7BBIzR13zeF489 tcoBuY6zzlYqRnLru7XNBmv5v7Vgk0NWo9ZjgWC6jrA3JuQt3Afwm7D64FVvIiKdDd5h bFBYX7wdXJZ0BWWfvub2YuSZKyu4fQkG/7ziTAxPFzxtxkDRayOBE16iAxV90yVzSzyN lb0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=QTCcWeRS; dkim=neutral (no key) header.i=@suse.de header.b=z850LmrT; 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 c11-20020aa78c0b000000b004fa3a8dfff1si13337067pfd.168.2022.04.05.19.32.38; Tue, 05 Apr 2022 19:32:53 -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=QTCcWeRS; dkim=neutral (no key) header.i=@suse.de header.b=z850LmrT; 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 S1345472AbiDEKl1 (ORCPT + 99 others); Tue, 5 Apr 2022 06:41:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46050 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240959AbiDEIcl (ORCPT ); Tue, 5 Apr 2022 04:32:41 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6ECFC91560; Tue, 5 Apr 2022 01:25:32 -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-out1.suse.de (Postfix) with ESMTPS id D0341210E1; Tue, 5 Apr 2022 08:25:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1649147130; 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=p7Y05L7uOkIJquMnEg+eO/WF4r7xbv9mlE1hTt5HzHs=; b=QTCcWeRSxmtaPQcnjhcxGV6y8zrYNXXfKZvW0smRC1Z4E8alqJxsnm3t1m5cIiLud6rBDX CCFz18ZHmdnp4m1SaZg8qRC2zmNdtPamt4TTGfryllKc9mlcJP70meU4aXUD8kkrnkFVj7 CObTXQscO+vhCwIc9MT78jVoyqsxd64= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1649147130; 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=p7Y05L7uOkIJquMnEg+eO/WF4r7xbv9mlE1hTt5HzHs=; b=z850LmrTnqtL0PP3wyuPWV69JsNFpCW527wlNSNd9XqpJvWPDk+MS08t5MJQwvGBVhuaES /OqRCZbvuc6hY8Aw== 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 B795D13A04; Tue, 5 Apr 2022 08:25:30 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id mKOcLPr8S2JwEQAAMHmgww (envelope-from ); Tue, 05 Apr 2022 08:25:30 +0000 From: "Ivan T. Ivanov" To: Michael Turquette , Stephen Boyd Cc: Maxime Ripard , linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, "Ivan T. Ivanov" , Dave Stevenson Subject: [PATCH v2 2/2] clk: bcm: rpi: Handle pixel clock in firmware Date: Tue, 5 Apr 2022 11:25:03 +0300 Message-Id: <20220405082503.61041-3-iivanov@suse.de> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20220405082503.61041-1-iivanov@suse.de> References: <20220405082503.61041-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 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. Cc: Dave Stevenson 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 2e2491d85835..530820d13104 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_PIXEL_CLK_ID] = { + .export = true, + }, [RPI_FIRMWARE_HEVC_CLK_ID] = { .export = true, }, -- 2.26.2