Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp2300140pxm; Fri, 4 Mar 2022 13:25:31 -0800 (PST) X-Google-Smtp-Source: ABdhPJxngdD0VtCVrKKyyv/FKEUcb9UCTVFeejaYXVKRutd9pPu15L2tnornE46p73y4qyjG8G7o X-Received: by 2002:a17:90a:1f4d:b0:1bb:ff88:c67a with SMTP id y13-20020a17090a1f4d00b001bbff88c67amr12565229pjy.191.1646429131582; Fri, 04 Mar 2022 13:25:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646429131; cv=none; d=google.com; s=arc-20160816; b=Qhk0qpy1Cf5HnTiAx5P2iA6k3tD7w+bU9hpIJ/7Qqt0sXnyCeeYzfT2VdleNUU27dI hd5hD6M2/9VNomsy5p6vJ7MGsSU0+UPyTDf3toNMQhsP0wYIliz6AfGZIxaepN9MXpHN RYBbJRp/vSIe0MZcwFAYmHI2NHCXK0xn3WhE78p2vnR1PurRep7rQuFAbWZLOhhqx0ux 39x3XwaWTSZ+swsQmkYUvVmk3EPL5l/l5O02gowh/YXWgCrSpO/YD4HTK9GfNb0WpEYw DPaA6Uve2C0uCvvH0VE3KdcOcXWO3zR1T9mo+WE3jGL4yEjrcAHN+Yd52zkKGgjcf+oJ PAMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=pwdmIZ1vAwSObDe/h49djMAqGoMYF/D6xcMqohXC3kE=; b=Ng83ioXiHGfgrlVBjyNPDjLGbgKqR1AGoPwYciINIbsosNBphZjPeRDLo3R/MHi8t1 BTlS95oNMnTUBEPpuen+5MOQm9yQbfvMekDmrbYKGsUbC+/pBoHrSqAZDrk/+QYoHiYT soZ7zqBY9xCVObLU447JZR4F2vz1nn0zzaWCZoSJ1z/Yo4dtskMgPgXr9CApwpp7xB/Y LnASR+z1IPvsfalZz6h/6Bs75z6NJ65HlG5lVNUFunWZG/RlFyGHvi0z8Pna6r+4KzEm wkpnuThEaGTXhdNR/VZC8Y4P12wzvSvZypjSVPxeu+K6jLo9Wo4d5XBUsZFzG30RaI7H PYFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=RJf3TBmp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id r126-20020a632b84000000b00362c3f69741si5192567pgr.336.2022.03.04.13.25.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Mar 2022 13:25:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=RJf3TBmp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 00C852359C8; Fri, 4 Mar 2022 12:47:57 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229726AbiCDUsc (ORCPT + 99 others); Fri, 4 Mar 2022 15:48:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46090 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229538AbiCDUs3 (ORCPT ); Fri, 4 Mar 2022 15:48:29 -0500 Received: from mail-ot1-x329.google.com (mail-ot1-x329.google.com [IPv6:2607:f8b0:4864:20::329]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CAF9C1066F1 for ; Fri, 4 Mar 2022 12:47:39 -0800 (PST) Received: by mail-ot1-x329.google.com with SMTP id 40-20020a9d032b000000b005b02923e2e6so8373964otv.1 for ; Fri, 04 Mar 2022 12:47:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=pwdmIZ1vAwSObDe/h49djMAqGoMYF/D6xcMqohXC3kE=; b=RJf3TBmp93JdSx/quLb7AdYBJ1dJjO4Y4Ur4LXOaYnhYg5IMjk6yJimLcSePe+3blZ i5tAo5PIEAC++iphSrvFL7dS6M0Ffa/2SdzGpF8ak6C7GgpMRuz0ywkeV5lFhhNf1pJy B+YSlCqiwqlwnarFHej640qLdKSfryCEGs5+w= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=pwdmIZ1vAwSObDe/h49djMAqGoMYF/D6xcMqohXC3kE=; b=LkusdQOVuQOtsK+A3vmPzcxqqGp8dMbk+BLj3KktTyHsAEMFK5Nn67oqEjEFywubru +n4GNcn/t4Wn4jQQBmDo5xLNhVPfBETHnBXu0IpA6LH95Jt1q9SqwE+mvq/F/ZT85J5L H2X2WH2G8XY6mf+mCufZJxCNjxcU6bI3bXog1Y4Xf8tL+bDd4n3XNNC74PqwcnXEHcit Fcnmee2gRLN9DEBNlqLeo1IyrYONiu+8z35IyX8EJbmKkNfTBfaJKlvoKS1Wq0WKPfFE Wu6WiVxbot1EE+57Yrzw6j4R8nPp1ou4fDSEZ/htxC8SXfUbnCN9xCZQap2xVdr2PhF1 22fg== X-Gm-Message-State: AOAM531WjkYO9+QSvAywJGDNI3pxcJkkak3dKEJe5UNJNgNOYJ9b7Qrv b18pE5RvzmdlxESL/Ce4duQp7XShsFFn3w== X-Received: by 2002:a9d:2da5:0:b0:5ad:fa9:832 with SMTP id g34-20020a9d2da5000000b005ad0fa90832mr248637otb.250.1646426858838; Fri, 04 Mar 2022 12:47:38 -0800 (PST) Received: from mail-ot1-f51.google.com (mail-ot1-f51.google.com. [209.85.210.51]) by smtp.gmail.com with ESMTPSA id m17-20020a0568080f1100b002d71e151e51sm3467381oiw.0.2022.03.04.12.47.36 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 04 Mar 2022 12:47:37 -0800 (PST) Received: by mail-ot1-f51.google.com with SMTP id s1-20020a056830148100b005acfdcb1f4bso8375184otq.4 for ; Fri, 04 Mar 2022 12:47:36 -0800 (PST) X-Received: by 2002:a9d:7:0:b0:5b1:fe36:2d15 with SMTP id 7-20020a9d0007000000b005b1fe362d15mr249673ota.186.1646426856478; Fri, 04 Mar 2022 12:47:36 -0800 (PST) MIME-Version: 1.0 References: <20220127230727.3369358-1-briannorris@chromium.org> <20220127150615.v2.12.I3a5c7f21ecd8221b42c2dbcd618386bce7b3e9a6@changeid> In-Reply-To: From: Brian Norris Date: Fri, 4 Mar 2022 12:47:25 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 12/15] arm64: dts: rockchip: Enable dmc and dfi nodes on gru To: Peter Geis Cc: MyungJoo Ham , Kyungmin Park , Chanwoo Choi , Rob Herring , Linux Kernel Mailing List , "open list:ARM/Rockchip SoC..." , Lin Huang , arm-mail-list , Derek Basehore , devicetree , linux-pm , Heiko Stuebner , Enric Balletbo i Serra , =?UTF-8?B?R2HDq2wgUE9SVEFZ?= , Daniel Lezcano Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Peter, On Fri, Mar 4, 2022 at 6:47 AM Peter Geis wrote: > I'm trying to bring this series over to rockpro64 (and eventually the > pinephone-pro) and am running into some snags. Dumb question: is DDR DVFS supported on these systems in the "production" (vendor kernel? I'm not really familiar with these devices) software? I partly ask, because while I didn't do some of this first-hand, I'm aware that it was a real ordeal to get things stabilized (e.g., getting all the timings right; communicating the right details from bootloader to ATF; etc.), so if no one did these things in the first place, it's probably difficult to get working now just by guessing. But if it works on a customized kernel, then that's a different story. > Essentially, anytime a transition happens, the board locks up. > I've disabled the extra power save disable flags and adjusted the OPPs > for rockpro64's power. > Transitions anywhere from the default 800mhz cause a lock. > > I'm digging deeper, but I'm hoping you can answer some questions in > the meantime: > 1. Does this require something from firmware that isn't available on > Mainline ATF? (AKA special firmware to the Chromebook line) I don't know precisely. Chromebooks track mainline ATF, but somewhere before initial product launch, each platform gets its own firmware branch. On that firmware branch, we still try to stay in sync with mainline to some extent (e.g., submit to mainline and cherry-pick to branch), but it's not guaranteed. Anyway, you can inspect our code here: https://chromium.googlesource.com/chromiumos/third_party/arm-trusted-firmware/+log/refs/heads/firmware-gru-8785.B https://chromium.googlesource.com/chromiumos/third_party/coreboot/+log/refs/heads/firmware-gru-8785.B Brian