Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp2754879rdh; Sun, 26 Nov 2023 18:58:57 -0800 (PST) X-Google-Smtp-Source: AGHT+IE9+TGeflyqY6/KeYqAYtOgOhG4ve+BMzPMBsUbFq/V2HHh8HPFs2ofqYF71Q1WOljxdDf0 X-Received: by 2002:a05:6808:ec9:b0:3b2:e292:370 with SMTP id q9-20020a0568080ec900b003b2e2920370mr12254812oiv.38.1701053936910; Sun, 26 Nov 2023 18:58:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701053936; cv=none; d=google.com; s=arc-20160816; b=pIdjLF5oHY51tw8uye+a8yBZkT964JbnUgTyAgscctxpDTGRr7yypUVVGM1FqrD6QZ dTNH+Bs4wQoZ1IpF5XA4kLAsZdGgbdKO670XdcAFKLnTvmn6F/Nmv+WSVqk0hSEDV2yY MQbdp9c/uV/7nw+ECvLrtchYpjgm+aQJRt1tiqvcrDaWodT9zxqfFM32LHWBm9F2IUKY Lmw3ivsfoI2JWOCi+xbGvEsUOzFtCuNNCI+a7MTFoD8r5r51/mZyOj2gFeanZXRRSraW r+XtiQRhpRWjpqApTCKgcC+dv+89uHd8J8fcNiXprA/yK0JAr2w51C2QteyOdw6N4GGQ JZzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=RXyIesGNRQYfDc3FbJ9pX6+TuAQzDPHKu8vNqlAoTqQ=; fh=5uaXvGg+21Q/PfmHwXThmLSa3gBESlVMNb957y4mB1Q=; b=h9/+b+Kzb6r8TLoZce0IB0zEeTbehHRAZl35mZhz6IeYSD8IqxsuqvbO7qdRS1AX8+ 0S+PLRGD6oHj8e3XEINeaZBKnjBLU+za66z5RZ2ejWXL68sU4OrFkn0r2zMGtZyiVvIy sfuCu9iX3b62GrC8i2hu8B6IkLE6MtVJtUH7m9oe5I3b+rNgICMvNB0SLdLwSameGqrm K8KBRQFF+KaqQOhmXySc5bZ3jfYYy097CU1gWlSzyaVF5SlaXK5qO/PGMs/gmrH3/Dbp sBRUaEvauuNkhgQhaKhQG0v9b2EgQlzPiOqwHXwMVq9Xtv1T3QCdEBPPFkqOzXu9DR1g Oyyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rkzWP87U; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id b11-20020a056a00114b00b006cb65bdf6easi8699904pfm.272.2023.11.26.18.58.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Nov 2023 18:58:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rkzWP87U; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 9196B8049B61; Sun, 26 Nov 2023 18:58:54 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231905AbjK0C6k (ORCPT + 99 others); Sun, 26 Nov 2023 21:58:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34878 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231387AbjK0C6j (ORCPT ); Sun, 26 Nov 2023 21:58:39 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E9CCE10F for ; Sun, 26 Nov 2023 18:58:45 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2AEE0C433C8; Mon, 27 Nov 2023 02:58:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701053925; bh=j5H0LJTRMh4V8/+YTldNkjS/yA/dz7Y3mH3VwumbeII=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=rkzWP87UwhoIL6f71RKfDXsUX8Lu94QCLST2fM6y9GzsfStlvkYCOC9Db0RigOKrZ ywJji3c3njK/cI6N/lFOXFq91/TX8xdA9Q4x+2abUQtPTnaYMcR3AH4+PcNfASl2JB RbmGP6t5RYfZudKCXxztbReBgWsVzsUekDyPYVBPDVuF6B3anS0o7P5GIeS21Gk92j mABVM3xKwr0FcTzbloX2cBGwLojosFTkruonWm0A/LvdxlnwyTfX/e4ZVQFC8d6Opi XbQzkPl6U14OHVVrgDti7QNC9ll0UfAKn/ibXiBYjIn+YAY5IZiOIIwRBbn6iVaZB9 iLIN9PY2kqCQQ== Date: Mon, 27 Nov 2023 10:58:39 +0800 From: Shawn Guo To: Adam Ford Cc: linux-arm-kernel@lists.infradead.org, alexander.stein@ew.tq-group.com, aford@beaconembedded.com, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH V2] arm64: dts: imx8mp: Add NPU Node Message-ID: <20231127025839.GU87953@dragon> References: <20231022161911.10792-1-aford173@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231022161911.10792-1-aford173@gmail.com> X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Sun, 26 Nov 2023 18:58:54 -0800 (PST) On Sun, Oct 22, 2023 at 11:19:10AM -0500, Adam Ford wrote: > The NPU is based on the Vivante GC8000 and its power-domain > is controlled my pgc_mlmix. Since the power-domain uses > some of these clocks, setup the clock parent and rates > inside the power-domain, and add the NPU node. > > The data sheet states the CLK_ML_AHB should be 300MHz for > nominal, but 800MHz clock will divide down to 266 instead. > Boards which operate in over-drive mode should update the > clocks on their boards accordingly. When the driver loads, > the NPU numerates as: > > etnaviv-gpu 38500000.npu: model: GC8000, revision: 8002 > > Signed-off-by: Adam Ford Applied, thanks!