Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp294231rwr; Tue, 25 Apr 2023 22:34:04 -0700 (PDT) X-Google-Smtp-Source: AKy350Y2Ve2WFJB12xicO3BK96PJTBdcCToxV+O0dmzAE1lnZDErgIgqCc5TPwkeKZKKlkJrfjma X-Received: by 2002:a17:903:1d1:b0:19a:b754:4053 with SMTP id e17-20020a17090301d100b0019ab7544053mr24864399plh.26.1682487244191; Tue, 25 Apr 2023 22:34:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682487244; cv=none; d=google.com; s=arc-20160816; b=Ds5BstW2Aegb7KqsOU6PaLGGoGL0eSSb6eLHYBgdGL8ZQjSeMdNDk816+mW2G1rb0m PWmkoLEfYvHLFqKqBT76+qNeMIr0Pvpbp2Gj86gehIkk0zJLkcgZdXJm8Hu/d1D6uR+c AXrxFNOT5a3eU3nD5Yk1bZORQlXXa8t8oeXsNZPXvGDZG6UCY1GIQr7DuuMNTDLxsYJU LItz30Wa3teEVOmy8C9eKrq8/LH8jr07bdPIodWnjFklXJafFTZqCaLckWm/QlP1rPeS eCw34Zg+s0CKTD5RXF4z9KiIPSBcDrNZSpcO06/3pgsDyvk/DvikUenqY/D8RUSAvnvy bjVw== 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 :message-id:date:subject:cc:to:from; bh=6sKTnga5osoBChiq0wC1tiBZnMTBNSiyIak8o4AC7LI=; b=cflck50tvi+jzPDdFwsBbQK9ZZae+j+xQml77VRclJjqRNJHvciHWWbLWKomOXPsi9 dnt6e7Rt0EifOacyjs01GHSFd6HR1r9Hn/p8VuDACkcUoRJK/PvFC/fWKCE4j03bGci6 gtsgmTcrTfzdfj9emr0pVJep0fzj80A0/v8tXPOkl4YdG3B/0aVkfRADT1AT4hB1KceE iAkYzLtW4URLMT+Eiy/0bQxEpAO+Djy8zIfsLA8anf9kvcfXnRF/RZvhAZ1oDRSITF2v kcNbDdg5FR2sfCeSiGUPeThSwN7gDZ1p4fIVGL92m3gF5f0KFJU0fo6bqzHg2vIV2Es2 N0Xg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n13-20020a170902d2cd00b0019ab4f7b389si16516069plc.387.2023.04.25.22.33.53; Tue, 25 Apr 2023 22:34:04 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239366AbjDZF2t (ORCPT + 99 others); Wed, 26 Apr 2023 01:28:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49442 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239223AbjDZF2s (ORCPT ); Wed, 26 Apr 2023 01:28:48 -0400 Received: from mail-ej1-f43.google.com (mail-ej1-f43.google.com [209.85.218.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 789E62D4E; Tue, 25 Apr 2023 22:28:43 -0700 (PDT) Received: by mail-ej1-f43.google.com with SMTP id a640c23a62f3a-94f0dd117dcso970847566b.3; Tue, 25 Apr 2023 22:28:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682486922; x=1685078922; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=6sKTnga5osoBChiq0wC1tiBZnMTBNSiyIak8o4AC7LI=; b=djsY6zxING+g2l5KOLqSIPqSIeSPFcbcuGKUzAGuj2UFRivzX/RuQYRCmN2jqtmIm8 VGx6fwTYoauSqJwQAnMC6EQsIjvlTJ72kF1JQDVyMeefckikBpS2j3cviqyOae7wtcXb XPCbiJQTJi2L8tw2BeS+OEV8ip8n15Xor8COAlGdysVjag2FEpahr2TWT3zPhGsqiehe qjgXcR2iUgzLDMkLS6ti4UreHt1YikUMIK29GCK7oAyWCr7nC1vQAzgCSTzQ3xelEmge kqqauDaClv4AFSD+Jx3liqD4BsQftz7yKBcI5qxfPcfIXOGgHHpYpR+IPHeBahI3w/XA 3GyQ== X-Gm-Message-State: AAQBX9fmADb3K16E0VK27t67yr/XIogdD/+Rv76vIt+5qG3AKJM0mfOz eEXMPiVRaiC90aYvdHOBt3jxZZ4r8Bk= X-Received: by 2002:a17:907:7e94:b0:94e:d75b:5998 with SMTP id qb20-20020a1709077e9400b0094ed75b5998mr18238906ejc.5.1682486921617; Tue, 25 Apr 2023 22:28:41 -0700 (PDT) Received: from cizrna.home (cst-prg-36-136.cust.vodafone.cz. [46.135.36.136]) by smtp.gmail.com with ESMTPSA id i21-20020a05640200d500b00501d73cfc86sm6598206edu.9.2023.04.25.22.28.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Apr 2023 22:28:40 -0700 (PDT) From: Tomeu Vizoso To: linux-kernel@vger.kernel.org Cc: Tomeu Vizoso , Lucas Stach , Rob Herring , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linux-arm-kernel@lists.infradead.org (moderated list:ARM/Amlogic Meson SoC support), linux-amlogic@lists.infradead.org (open list:ARM/Amlogic Meson SoC support) Subject: [PATCH] arm64: dts: VIM3: Set the rates of the clocks for the NPU Date: Wed, 26 Apr 2023 07:28:31 +0200 Message-Id: <20230426052831.59391-1-tomeu@tomeuvizoso.net> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no 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 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-g12b-a311d-khadas-vim3.dts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-a311d-khadas-vim3.dts b/arch/arm64/boot/dts/amlogic/meson-g12b-a311d-khadas-vim3.dts index 4e8266056bca..3a14b21998c4 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12b-a311d-khadas-vim3.dts +++ b/arch/arm64/boot/dts/amlogic/meson-g12b-a311d-khadas-vim3.dts @@ -52,6 +52,9 @@ galcore { &npu { status = "okay"; + assigned-clocks = <&clkc CLKID_NNA_CORE_CLK>, + <&clkc CLKID_NNA_AXI_CLK>; + assigned-clock-rates = <800000000>, <800000000>; }; /* -- 2.38.1