From patchwork Wed Mar 29 09:04:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Svyatoslav Ryhel X-Patchwork-Id: 76487 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp282638vqo; Wed, 29 Mar 2023 02:32:30 -0700 (PDT) X-Google-Smtp-Source: AK7set8uCeu5vHWOKGk/SgugLLPiQ5AnAezP2TX56VTjW87EjEWa9a8SC9E5I+9PrX9wkvMrnXNI X-Received: by 2002:a05:6a20:2921:b0:da:d73b:926a with SMTP id t33-20020a056a20292100b000dad73b926amr15218635pzf.30.1680082349969; Wed, 29 Mar 2023 02:32:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680082349; cv=none; d=google.com; s=arc-20160816; b=BL18X5kZ042Y4Z8RtEjqioHXvj6QBcszD82oNVthcY4GOpcCZA0tnsqhukATbvpkSs iT5s++89nwJdadOQbd8j7jyHHW/cRyFf27+BX/Mf2G4PID/53OmkVo2Q5abCBlijoiDD R3nEf0Pvyu0isUY5NjCl72JtP5HAC3xCzHybIlYDeyKUG/anf9PnioCi5xEWzKsGRgCt Mnn3SOcEz3Jp6kqSAob6L+17EK8KdLL9RNn+qt3eJx0Kr0k3njbMZ1cv8Qufqzjn9rK0 PHp73AjmnEaF0FegI/LKoMv/n0Lam5WAm5U8qXUQAcSANcESXNChxC4GeF7oaxlzFIlt UWPg== 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; bh=Bt3pFcNmven8aszzUXY021Or+hkjFjt51HvtYlhXRTU=; b=HXu7imHOgmedCm+Kx2sMOtrmwq+NsbjEqGJYWo+HgmmYXFFV+nVbQADCSIjIvAwTEK H8SxO02Mtljd1Qy7W+AlwWD++chie2VqT+6cs2O+iahSYtXkwf5mg4ONUD3wb58zjTRK ou7ry6stR49SlGCuk3IywcMSKLQ4U7b709DA4MvYum2jt/NTIMN/s6aaGpCO7FShz0FJ em3DgYGT2mZUYm5+Q8pWX4pIBCOedcSswt5uJV6bCNRwrGaA2pf6vUcf0bqWsWmH5lQ8 ZJ3U9tthq1YRxrc9kp2YuvyijBrAKwb23dyHQB7XH/MxiSe6VPCKlCK2fnJUw8KHO/T+ oEDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ocCTEOOT; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t20-20020a63dd14000000b005133f65dc69si8947173pgg.219.2023.03.29.02.32.16; Wed, 29 Mar 2023 02:32:29 -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=@gmail.com header.s=20210112 header.b=ocCTEOOT; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231397AbjC2JFP (ORCPT + 99 others); Wed, 29 Mar 2023 05:05:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39644 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230508AbjC2JEo (ORCPT ); Wed, 29 Mar 2023 05:04:44 -0400 Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4EC7535A1; Wed, 29 Mar 2023 02:04:38 -0700 (PDT) Received: by mail-ed1-x529.google.com with SMTP id i5so60587581eda.0; Wed, 29 Mar 2023 02:04:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680080677; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Bt3pFcNmven8aszzUXY021Or+hkjFjt51HvtYlhXRTU=; b=ocCTEOOTta43yM9bjytpG/xXuVfjSG6fLnOBLBSNhz0J8LYV/C50WleDq4MNmn2abF JacSQcvcxZsSzGi4Lv9uKW18u58dNuzzSUlTUpZlm18FDci9Xjb5ukdJ+jDpP4CssSxx FC9hcsmACfZCLZ1ehi75tEkWT2a/rzFdannZDhDV9Zxb4p9jNA2kAywWRso/3BZh/bPr 2nLTUgNPR+OUCk0IwbMYnT1cenuq6NuGISu8JMAi8DCp62Mw0wCGM3iknLJ7GnwoW5JZ YLxa0H8Et9SUQVJWV9NniCFBK1EJwc+CCf1bVDqscVqt7MVX7OMDZdYPQQX2g5JLE21v hWNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680080677; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Bt3pFcNmven8aszzUXY021Or+hkjFjt51HvtYlhXRTU=; b=p/nho7RqG5HgCHfuZ08y7Bi+ub3NOPeGZNGACTm4qDT/ruDvGtbUhsDeafGXN1/uMU CP+k72iHqYbCc3IN8qkeGeZU6LSQczJuQjqiCPgUQYz9dDXRcErgItU2mevwbgoAaQBb dznJvB6E9m5xxz4vlrfjVClyn6Nqxh9MlITgtKIJwxdsZ0KukTEn7mF6qgZQ3HumfSFy 2o1FZhF8pobsDYAWWR8r+YRYzxZmmL9PDM3DFNo+X8iA6iMFiSTsc45a5Q8VLEzR8Pb1 AM1bojuR0PtjR+cyMZmjchbwiAY+a3Nc2um50/wHW6D/Xr/d3NjylI7Jgo4namG6YnGt P1LA== X-Gm-Message-State: AAQBX9fett5AOZlRxdeiO8pe0u9GODVNAw50aqxfWsmUK2kBZ8KWisgs ELi5Z7DqCeaKD7iYvm0ew/Q= X-Received: by 2002:a17:906:a887:b0:939:e7d6:7c52 with SMTP id ha7-20020a170906a88700b00939e7d67c52mr18927345ejb.20.1680080676659; Wed, 29 Mar 2023 02:04:36 -0700 (PDT) Received: from xeon.. ([188.163.112.76]) by smtp.gmail.com with ESMTPSA id n3-20020a170906088300b009327ed171f2sm15437127eje.129.2023.03.29.02.04.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Mar 2023 02:04:36 -0700 (PDT) From: Svyatoslav Ryhel To: Rob Herring , Krzysztof Kozlowski , Thierry Reding , Jonathan Hunter , Svyatoslav Ryhel , Maxim Schwalm , Dmitry Osipenko Cc: devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 4/4] ARM: tegra30: peripherals: add 266.5MHz nodes Date: Wed, 29 Mar 2023 12:04:03 +0300 Message-Id: <20230329090403.5274-5-clamor95@gmail.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230329090403.5274-1-clamor95@gmail.com> References: <20230329090403.5274-1-clamor95@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1761694029936601190?= X-GMAIL-MSGID: =?utf-8?q?1761694029936601190?= LG Optimus Vu (p895) and Optimus 4X HD (p880) have 266.5MHz RAM clock and require this entry to work with it correctly. Signed-off-by: Svyatoslav Ryhel --- .../arm/boot/dts/tegra30-peripherals-opp.dtsi | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/tegra30-peripherals-opp.dtsi b/arch/arm/boot/dts/tegra30-peripherals-opp.dtsi index d100a1a8b705..a2d557155114 100644 --- a/arch/arm/boot/dts/tegra30-peripherals-opp.dtsi +++ b/arch/arm/boot/dts/tegra30-peripherals-opp.dtsi @@ -210,6 +210,20 @@ opp-204000000-1250 { opp-suspend; }; + opp-266500000-1000 { + opp-microvolt = <1000000 1000000 1350000>; + opp-hz = /bits/ 64 <266500000>; + opp-supported-hw = <0x0007>; + required-opps = <&core_opp_1000>; + }; + + opp-266500000-1250 { + opp-microvolt = <1250000 1250000 1350000>; + opp-hz = /bits/ 64 <266500000>; + opp-supported-hw = <0x0008>; + required-opps = <&core_opp_1250>; + }; + opp-333500000-1000 { opp-microvolt = <1000000 1000000 1350000>; opp-hz = /bits/ 64 <333500000>; @@ -424,6 +438,12 @@ opp-204000000 { opp-suspend; }; + opp-266500000 { + opp-hz = /bits/ 64 <266500000>; + opp-supported-hw = <0x000F>; + opp-peak-kBps = <2132000>; + }; + opp-333500000 { opp-hz = /bits/ 64 <333500000>; opp-supported-hw = <0x000F>;