From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8462FC4332F for ; Fri, 7 Jan 2022 23:53:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231852AbiAGXxb (ORCPT ); Fri, 7 Jan 2022 18:53:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58964 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231223AbiAGXxa (ORCPT ); Fri, 7 Jan 2022 18:53:30 -0500 Received: from mail-pj1-x102e.google.com (mail-pj1-x102e.google.com [IPv6:2607:f8b0:4864:20::102e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A5FB0C061574 for ; Fri, 7 Jan 2022 15:53:29 -0800 (PST) Received: by mail-pj1-x102e.google.com with SMTP id lr15-20020a17090b4b8f00b001b19671cbebso8236340pjb.1 for ; Fri, 07 Jan 2022 15:53:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=FPcxFdbNSuAjDGPM+825c9NOOVh3gwUSyNILvw1m1k0=; b=lhNOOhqYLhMvK4rkGdb4BXXvq5TC2C4KLjl5uJ3BMNplsn426UWj8vStE4yDA72uz8 y9S20EG3h1F46L14QZXLuxaIRhZ7nMI0v4qxyVcG1v+y1WbvXorMN1hoA1ACB6fyZlVW 4IBVVhMfh7FEyBP7/GqQ8XPmlFu5P2KaXUQyE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=FPcxFdbNSuAjDGPM+825c9NOOVh3gwUSyNILvw1m1k0=; b=VIZ4jBkp1Y9ST4pbot/lTvIFF6C5mzyPHShfLzBneVvY4Gv3GqB2w3GdifWhsXxeu6 Yy+fC/LIYOC70UYB0gutgXgE+LiFXIRjbuwMR8PxtmIFQ+thKQF+70I7mGKiHGVvBFnc 09Xdm9gNF3X6XQxlH7Z47ebfVappvlyF69cdva2qQXMm3+1/IyCkUQ9u71dGL8f7jj+5 QU4IMWxsI6Oj0cRAWqqn6QBUGFLzsLEirgOLqZG4tLIG4aqbr3c2nBb0wiSfZkB+3DTC RBCWPngPWlZaW1VCvCFhDkGWI3VpHZU2Jt6xhurhLLrO88pueEpBr+nMXSGLQ6DJMPKD eSgA== X-Gm-Message-State: AOAM533ArmRjf4Frq8HDYfIjMft6Vnt60Y95coxR8Y172k9yWP6bnQLw hvA0uyS12Z7P0/Rrg4juxRoscA== X-Google-Smtp-Source: ABdhPJyF/beCttXDGa8cvG4GzHj8zaoaRTN3MHegrEuZhaQaILf9BIU+PkWqdqcpSpz7jwqc4/46RA== X-Received: by 2002:a17:90b:380c:: with SMTP id mq12mr18376589pjb.142.1641599609257; Fri, 07 Jan 2022 15:53:29 -0800 (PST) Received: from localhost ([2620:15c:202:201:db:1c60:693f:c24e]) by smtp.gmail.com with UTF8SMTPSA id e5sm13593pjr.25.2022.01.07.15.53.27 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 07 Jan 2022 15:53:28 -0800 (PST) From: Brian Norris To: MyungJoo Ham , Kyungmin Park , Chanwoo Choi , Rob Herring Cc: Heiko Stuebner , linux-arm-kernel@lists.infradead.org, Lin Huang , devicetree@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-pm@vger.kernel.org, Derek Basehore , linux-kernel@vger.kernel.org, Brian Norris Subject: [PATCH 00/10] rk3399: Clean up and enable DDR DVFS Date: Fri, 7 Jan 2022 15:53:10 -0800 Message-Id: <20220107235320.965497-1-briannorris@chromium.org> X-Mailer: git-send-email 2.34.1.575.g55b058a8bb-goog MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series covers 2 primary tasks: 1) Resubmit prior work: [RESEND PATCH v5 3/4] arm64: dts: rockchip: Enable dmc and dfi nodes on gru. https://lore.kernel.org/lkml/20210308233858.24741-2-daniel.lezcano@linaro.org/ [RESEND PATCH v5 2/4] arm64: dts: rk3399: Add dfi and dmc nodes. https://lore.kernel.org/lkml/20210308233858.24741-3-daniel.lezcano@linaro.org/ This series was partially merged a while back, but the remaining 2 patches were blocked mostly on stylistic grounds (alpha/numerical ordering). 2) Integrate many updates, bugfixes, and clarifications that were done by Rockchip and Google engineers when first launching this platform. Many of these were not integrated in the earlier series (e.g., the OPPs changed before production; earlier patchsets used pre-production numbers). Along the way, it seemed worthwhile to convert the binding docs to a schema. Among other reasons, it actually helped catch several errors and omissions in translation between downstream device trees and the version that actually landed upstream. See the patches for further details. Regards, Brian Brian Norris (8): dt-bindings: devfreq: rk3399_dmc: Convert to YAML dt-bindings: devfreq: rk3399_dmc: Deprecate unused/redundant properties dt-bindings: devfreq: rk3399_dmc: Fix Hz units dt-bindings: devfreq: rk3399_dmc: Add more disable-freq properties PM / devfreq: rk3399_dmc: Drop undocumented ondemand DT props PM / devfreq: rk3399_dmc: Drop excess timing properties PM / devfreq: rk3399_dmc: Use bitfield macro definitions for ODT_PD PM / devfreq: rk3399_dmc: Support new disable-freq properties Lin Huang (2): arm64: dts: rk3399: Add dfi and dmc nodes arm64: dts: rockchip: Enable dmc and dfi nodes on gru .../bindings/devfreq/rk3399_dmc.txt | 212 ----------- .../bindings/devfreq/rk3399_dmc.yaml | 339 ++++++++++++++++++ .../dts/rockchip/rk3399-gru-chromebook.dtsi | 7 + .../boot/dts/rockchip/rk3399-gru-scarlet.dtsi | 12 + arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi | 28 ++ .../boot/dts/rockchip/rk3399-op1-opp.dtsi | 25 ++ arch/arm64/boot/dts/rockchip/rk3399.dtsi | 19 + drivers/devfreq/rk3399_dmc.c | 230 +++++------- 8 files changed, 525 insertions(+), 347 deletions(-) delete mode 100644 Documentation/devicetree/bindings/devfreq/rk3399_dmc.txt create mode 100644 Documentation/devicetree/bindings/devfreq/rk3399_dmc.yaml -- 2.34.1.575.g55b058a8bb-goog