Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp1065110rdd; Wed, 10 Jan 2024 07:41:28 -0800 (PST) X-Google-Smtp-Source: AGHT+IE3jLItbPW1UL/6Q5moo5GCuPxdECd9hg0HSJiwhMeCNmdNGOCkukjgXkxgF5kzm2DPtb6u X-Received: by 2002:a05:6870:c10f:b0:204:b29a:985c with SMTP id f15-20020a056870c10f00b00204b29a985cmr860604oad.17.1704901288052; Wed, 10 Jan 2024 07:41:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704901288; cv=none; d=google.com; s=arc-20160816; b=ZC3FoSod1yqkh2gB+0M3ujvn8qwviBiIMilMDvd+IJJhrNCv2Fq7BQneWaw1bYBY6X +4XxGLVRLQPi0Q+0Flz7YS0eHS/O+h8uQBLFYLVQ2W6ipGF9Gmtg0TE2n5qPHNKZaU9T ZSlsoYcZCnurlGibIzW/VRjJ67u6xcxtdBwgFS6JPQi0om5VT35ieSUqMNJXlET7mDvy pwmWayoZ3M99wOfJtwJyhfIdG17gZQnUR2BASQ4A0Ni0BmlazA4UihneVCjUmZ1mR0Vw IWqtrjW8WdFNj/fLU2n3nuuWSOMT8InfTV1JjUi5PLruZC8vtgEoAMlrIYXgFY0xgcYU aktg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=LPGs8xHU/Ucg5Eh2JZyutJ+LL1G8nkiyKu0z2j3NLks=; fh=JZCxd5FxO3DKitTU1O923Uwyx46wI+HAW80GNKax8rc=; b=plfVOlCONM7AMIr7aaLm5Jn/4tcI8naupStvh7AxmQiJyp5E4DT+BXiPQyrSBUFLcr UV4di4XMnIkmiOPNlt1UScOiOFnluDPUWUQCU2egNNiOWU40NWAx79FqXIrKqfglbVem bz1zDLXUte7vp06q2pyjmpGhSuPDmmMADBpmaVaHqe8RiC6SBr9sQnC2Qq8kJh8neQ21 TAIPQkVuvqzMfaI5ytIhblPcaR/sSZO1eOeZlH7DqoehYBMja2qUIb0hmgz5aPZ0cL0a KPihaFM4MmYa1siIQuxiCBZ0nn2FZ66BeZB4pcN7UD0JNKxHsF3yyZ57G9+ABGkxcwPb xK7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@tomeuvizoso-net.20230601.gappssmtp.com header.s=20230601 header.b=KKa53fjT; spf=pass (google.com: domain of linux-kernel+bounces-22439-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22439-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id x23-20020a63b217000000b005cd83290446si3902496pge.669.2024.01.10.07.41.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jan 2024 07:41:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-22439-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@tomeuvizoso-net.20230601.gappssmtp.com header.s=20230601 header.b=KKa53fjT; spf=pass (google.com: domain of linux-kernel+bounces-22439-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22439-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id AFCA0282C4F for ; Wed, 10 Jan 2024 15:41:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 656F04CB56; Wed, 10 Jan 2024 15:40:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tomeuvizoso-net.20230601.gappssmtp.com header.i=@tomeuvizoso-net.20230601.gappssmtp.com header.b="KKa53fjT" Received: from mail-yw1-f171.google.com (mail-yw1-f171.google.com [209.85.128.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2AB934C3C1 for ; Wed, 10 Jan 2024 15:40:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=tomeuvizoso.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=tomeuvizoso.net Received: by mail-yw1-f171.google.com with SMTP id 00721157ae682-5f254d1a6daso41774937b3.2 for ; Wed, 10 Jan 2024 07:40:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tomeuvizoso-net.20230601.gappssmtp.com; s=20230601; t=1704901232; x=1705506032; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=LPGs8xHU/Ucg5Eh2JZyutJ+LL1G8nkiyKu0z2j3NLks=; b=KKa53fjTn04VQapmEVUvycTK11UxmiduDSZSxaRsfLTeEqGdjEiPDB4O44flAEyXWO 9l1fx6RWB4+zsjb0cWVUWttn7q5FiP2W7UTd8xwsfSwjfCu0rkYnHYSbK5gXS9H3ZZ47 9E780qvoxt9oMunEsQViqYjoZV77+6y5+8I2rWubSkKpxJi0QpMB4oRQd9CRcJOxwzwI qB9LTu+nI0/6De1vSYB7ketQIGCQ6geo5EazSyztXpECQx1Ndh4g9YOS6VC3H5LljGjD L4WefNz8NSqHygOMd9hntsUgrO3qPixjJIFb/hpkoc7T7x7TCbKSaEJiRvVXpwpF7pVJ f8cg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704901232; x=1705506032; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=LPGs8xHU/Ucg5Eh2JZyutJ+LL1G8nkiyKu0z2j3NLks=; b=srZwZQpwFEsKl7Hjo/5YYEnRpfu+MDGMlRlkGOOId/SsD0i/gUZaYZVf0Wmpd9TXqH +G/JSYjV0/K9VDCO5pOxVLxby7Wwplh/ur+gU8uSQWlj3Lgjs0x+/HoCxnCEjv3ZJeJc OtrvWZzf0i6PQccpUlPkOZ0lBXnddnBrWt7keCL+DfNcKET77L+Ld1T3jTuMHkLfbjOF RvueKTaCPURflqXSAR4Cy9Gu3zrMnInNKJIzUH2Uy/9IWFPHNaTTfsavFDCIy6C9P+HS JnPUuhTrOIY29T47YDyREhjj3F5UdEjUnkd79W4Cv60YRSaJXJwyuSzGiF4Z5QOIu1dw JeBQ== X-Gm-Message-State: AOJu0YxyO9QSOCstY491qe0DAuqMejanHAmZc1+QJ4EM7EUYNy8us5Ft VCdM+oAduE6wGuNMgaMmD7Qd5oa2BXxFKZSmHhTnt0VH4E/zRA== X-Received: by 2002:a0d:c604:0:b0:5ef:fa4f:eec3 with SMTP id i4-20020a0dc604000000b005effa4feec3mr1203377ywd.25.1704901232075; Wed, 10 Jan 2024 07:40:32 -0800 (PST) Received: from mail-yw1-f175.google.com (mail-yw1-f175.google.com. [209.85.128.175]) by smtp.gmail.com with ESMTPSA id cj26-20020a05690c0b1a00b005f96476ad64sm1410278ywb.86.2024.01.10.07.40.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 10 Jan 2024 07:40:31 -0800 (PST) Received: by mail-yw1-f175.google.com with SMTP id 00721157ae682-5e7409797a1so40703997b3.0; Wed, 10 Jan 2024 07:40:31 -0800 (PST) X-Received: by 2002:a0d:d102:0:b0:5e8:dcdd:973e with SMTP id t2-20020a0dd102000000b005e8dcdd973emr1186189ywd.39.1704901231212; Wed, 10 Jan 2024 07:40:31 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20231106092202.11127-1-tomeu@tomeuvizoso.net> <569e39a0-b91c-46f1-b55d-c9324d66339b@linaro.org> <1jy1fb9n7d.fsf@starbuckisacylon.baylibre.com> In-Reply-To: <1jy1fb9n7d.fsf@starbuckisacylon.baylibre.com> From: Tomeu Vizoso Date: Wed, 10 Jan 2024 16:40:19 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH RESEND] arm64: dts: VIM3: Set the rates of the clocks for the NPU To: Jerome Brunet Cc: Neil Armstrong , linux-kernel@vger.kernel.org, Lucas Stach , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Kevin Hilman , Martin Blumenstingl , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "moderated list:ARM/Amlogic Meson SoC support" , "open list:ARM/Amlogic Meson SoC support" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Nov 6, 2023 at 11:43=E2=80=AFAM Jerome Brunet wrote: > > > On Mon 06 Nov 2023 at 10:26, Neil Armstrong w= rote: > > > On 06/11/2023 10:22, Tomeu Vizoso wrote: > > patch title is misleading. It does not target the vim3 only but all g12 > and sm1 HWs. > > It should start with "arm64: dts: amlogic: g12: " instead Thanks, have fixed and resent. Cheers, Tomeu > >> Otherwise they are left at 24MHz and the NPU runs very slowly. > >> Signed-off-by: Tomeu Vizoso > >> Suggested-by: Lucas Stach > >> --- > >> arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi | 3 +++ > >> 1 file changed, 3 insertions(+) > >> diff --git a/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi > >> b/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi > >> index ff68b911b729..9d5eab6595d0 100644 > >> --- a/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi > >> +++ b/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi > >> @@ -2502,6 +2502,9 @@ npu: npu@ff100000 { > >> clocks =3D <&clkc CLKID_NNA_CORE_CLK>, > >> <&clkc CLKID_NNA_AXI_CLK>; > >> clock-names =3D "core", "bus"; > >> + assigned-clocks =3D <&clkc CLKID_NNA_CORE_CLK>, > >> + <&clkc CLKID_NNA_AXI_CLK>; > >> + assigned-clock-rates =3D <800000000>, <800000000>; > >> resets =3D <&reset RESET_NNA>; > >> status =3D "disabled"; > >> }; > > > > Reviewed-by: Neil Armstrong >