Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1137416pxb; Thu, 24 Mar 2022 13:32:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzsIxw7AR1uqJRBsAUxJtrUx6IT47QpKlipx4iDuzp7iAT1TzwZyOoXUCrCIz6tBbKI3sjv X-Received: by 2002:a05:6402:2794:b0:419:2ed8:f36e with SMTP id b20-20020a056402279400b004192ed8f36emr8948076ede.44.1648153961757; Thu, 24 Mar 2022 13:32:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648153961; cv=none; d=google.com; s=arc-20160816; b=LWi0z4UCoIWmOQAP29j09PnOPnf3/qAX0WMqrsuaBbqqE6JKWlddHjOh0Z0ozom8xM 2WDx0qujNokY7M48322YNAErNpkY4waqHRzBIVJw8Rulw4SSSmqrjUp4D2XmLBIXARC/ Eiu47HR8YaOAwKAniChGR2aEaLGJHAOzrp0htQneoYfsHekK2BF/7CznjwJKopYPxEC1 lvVBxUcAvdOT1sijFZb7WWMrrZoGlLAYLG4iZREn7SlBde+sJ109+bnvJUE+0sEkx578 5UeedZGxDlnaLKcDf3pNi+eCCacpFzz2L0MnKc8oiWxJD1uyVi0gPwrTKxQp2zrzi/RT LJew== 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=v1gC/BVBIa1Xfifse2nE7QJfA8miYTDk4vkup9+NIjY=; b=bUGMc+FpVRf7c4qrdCJQG8KeZ4DZPf5q5636Dd6EQYKibe+2UZgK+ZLENvdNPmZ+vL QNedqIhr4gWG8T1lorBZU59rreZlp0E2hTI5cLGihqFsMunZ+H9dJ4s0DkywnVRR9Nq7 JpK/2/EEzif2+V77i9tALZKqywligbu6M6aSJxReq2nerkkFG95gDkN5iieBZiozHL96 yjH/uUVluBN14IJtrKf6lmZFZt3WILL6j/v3EBzaSZvKDGJu+QWqOOck0n9l/NSUoLwQ o97La7KxwU5M4igOOMedQz4gXvlMxQNHUQeBUCUejg9sfBaUDi3Mb6zi2+CqYz+D6MeG zhjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=C3ONuA0M; dkim=neutral (no key) header.i=@suse.de; 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 g6-20020a17090669c600b006df76385cf2si439631ejs.402.2022.03.24.13.32.14; Thu, 24 Mar 2022 13:32:41 -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=C3ONuA0M; dkim=neutral (no key) header.i=@suse.de; 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 S245438AbiCWQLA (ORCPT + 99 others); Wed, 23 Mar 2022 12:11:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49074 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242576AbiCWQKq (ORCPT ); Wed, 23 Mar 2022 12:10:46 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4DC0C3BBF6; 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-out1.suse.de (Postfix) with ESMTPS id E587A210F4; 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=v1gC/BVBIa1Xfifse2nE7QJfA8miYTDk4vkup9+NIjY=; b=C3ONuA0M9m0xSMP7h5wJNQO1qfxtOpKzCvTPY7tzZZF/CjbLpucGBNI2rkLLCrMvzIPS+7 jG6/3wQ8b/xCNoQTfgntFNH1OKNQ3k124NSFoMtVrLiyQgocFoj4kKlpiBiyIF7o1QWXCS EmSVWpi4qSqbq+Cq8ny01WLKBI4l0Rg= 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=v1gC/BVBIa1Xfifse2nE7QJfA8miYTDk4vkup9+NIjY=; b=Zm1/gROUSIjTX/3oIUsZfLWgPlzM9jEIILcBpOdCjSyjs5Di/QxLQJ2aaxJzesTYoWIDBR 7ObKh3C7eCL1+yAA== 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 D898512FC5; 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 iKSPNCpGO2IgfgAAMHmgww (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 2/3] clk-raspberrypi: Support VEC clock Date: Wed, 23 Mar 2022 18:08:58 +0200 Message-Id: <20220323160859.69572-3-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: Dom Cobley Signed-off-by: Dom Cobley 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 9f08baef39ba..240128939d57 100644 --- a/drivers/clk/bcm/clk-raspberrypi.c +++ b/drivers/clk/bcm/clk-raspberrypi.c @@ -33,6 +33,7 @@ enum rpi_firmware_clk_id { RPI_FIRMWARE_EMMC2_CLK_ID, RPI_FIRMWARE_M2MC_CLK_ID, RPI_FIRMWARE_PIXEL_BVB_CLK_ID, + RPI_FIRMWARE_VEC_CLK_ID, RPI_FIRMWARE_NUM_CLK_ID, }; @@ -51,6 +52,7 @@ static char *rpi_firmware_clk_names[] = { [RPI_FIRMWARE_EMMC2_CLK_ID] = "emmc2", [RPI_FIRMWARE_M2MC_CLK_ID] = "m2mc", [RPI_FIRMWARE_PIXEL_BVB_CLK_ID] = "pixel-bvb", + [RPI_FIRMWARE_VEC_CLK_ID] = "vec", }; #define RPI_FIRMWARE_STATE_ENABLE_BIT BIT(0) @@ -273,6 +275,7 @@ static int raspberrypi_discover_clocks(struct raspberrypi_clk *rpi, case RPI_FIRMWARE_V3D_CLK_ID: case RPI_FIRMWARE_HEVC_CLK_ID: case RPI_FIRMWARE_PIXEL_BVB_CLK_ID: + case RPI_FIRMWARE_VEC_CLK_ID: hw = raspberrypi_clk_register(rpi, clks->parent, clks->id); if (IS_ERR(hw)) -- 2.26.2