From patchwork Wed Aug 26 11:50:27 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 11738041 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 1DA55138A for ; Wed, 26 Aug 2020 11:50:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id F3E9120707 for ; Wed, 26 Aug 2020 11:50:49 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="mBiZVZxD" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728435AbgHZLus (ORCPT ); Wed, 26 Aug 2020 07:50:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33766 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729053AbgHZLul (ORCPT ); Wed, 26 Aug 2020 07:50:41 -0400 Received: from mail-pl1-x644.google.com (mail-pl1-x644.google.com [IPv6:2607:f8b0:4864:20::644]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D9EF1C061574 for ; Wed, 26 Aug 2020 04:50:40 -0700 (PDT) Received: by mail-pl1-x644.google.com with SMTP id p15so771556pli.6 for ; Wed, 26 Aug 2020 04:50:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=YamHvfkP8QzJYhuEjb0/KnD0eM3ZI++KpyFGM28MyaU=; b=mBiZVZxDCvUt6hLD48mg3Q12FL0jsNUjeakdVaFYreSg+6zLizvcH7tOYA4wRmTTut wIRIJ8dVERDNCPc+80jOIqaToeBcOSL5ZS7Tpm2PL7/CPYx06WJ+MsEAxd8bvpIq9Z/7 MTCNTwed9PIYasztEIAiWwLt68PZEymEWPKIT39Je/TA/Dnsdys/fb6XzLofGnbYc3Kf 60p2IGvt1TF5ERJbECNEeCRD1GO27gjcKJXwNgBV6+JsRjVFoa3iQG3gE1Qj0/P4dqgy GfD4vA4g7BHKFEjT23GkDssilnM5F4pYiUVuLOoDfvedhc+7jePoG1R9fxG8HtR8dTex 2asQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=YamHvfkP8QzJYhuEjb0/KnD0eM3ZI++KpyFGM28MyaU=; b=I4aPJWCE/fp5q8rCLL4N/HtaV7Lxwjqd2DfXibV06Q8854klTscpYGubbnWHL1Yurb txElvTi+TiOs0R9rSkBswhnsdmmfLrtRi0mkNBEVfzybDFTJu3qG1PP24mi7pHAqgY0O 0zfsvdKBYRIsNSud7ZSZJvDHFRCFTq6SvfGkZt8Oc0xED58k7Z4xh6vmTwFxqc9kcCbz dFNto9kztmnXxa21yXzJaVoT4l7DltcGdNJojXYR3rdm2TuAwFzEsCBmUw5MzlLxiSM9 7fN1ECrdL1MLgNCUrlHt1MT/Pb+Dn4TDkEKKKKugpyfVCgBH3mdOHYyDyNK1G8pTqYoV 0h+w== X-Gm-Message-State: AOAM5323qh6O1vIF4uI5fIqXCALUGokX+rPKB7r6VlLACsPKBZBKYHtN 9L4yLRg9VHSqwyw9uJoro0F/yw== X-Google-Smtp-Source: ABdhPJw8Oo/HMnBPg30gLaQd8tsLpFWkUn2/9H03cnOA39gJU2XV4GJz2To+Kk1+/bfcON40cB1AdA== X-Received: by 2002:a17:90a:550e:: with SMTP id b14mr5698261pji.64.1598442640224; Wed, 26 Aug 2020 04:50:40 -0700 (PDT) Received: from localhost ([122.172.43.13]) by smtp.gmail.com with ESMTPSA id q2sm2261270pgs.90.2020.08.26.04.50.39 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 26 Aug 2020 04:50:39 -0700 (PDT) From: Viresh Kumar To: Jonathan Hunter , Nishanth Menon , Rob Herring , Stephen Boyd , Thierry Reding , Viresh Kumar Cc: Viresh Kumar , linux-pm@vger.kernel.org, Vincent Guittot , Rafael Wysocki , Dmitry Osipenko , Stephan Gerhold , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-tegra@vger.kernel.org Subject: [PATCH 0/3] opp: Allow opp-supported-hw to contain multiple versions Date: Wed, 26 Aug 2020 17:20:27 +0530 Message-Id: X-Mailer: git-send-email 2.25.0.rc1.19.g042ed3e048af MIME-Version: 1.0 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Stephan and Dmitry, Here is an attempt to solve the problem you guys faced, I have tested it locally and works with my expectations. Please see if they solve your problems. Dmitry: I sent another message for you in patch 3's comments section. --- viresh Viresh Kumar (3): dt-bindings: opp: Allow opp-supported-hw to contain multiple versions opp: Allow opp-supported-hw to contain multiple versions ARM: tegra: Pass multiple versions in opp-supported-hw property Documentation/devicetree/bindings/opp/opp.txt | 53 +- .../boot/dts/tegra20-cpu-opp-microvolt.dtsi | 36 - arch/arm/boot/dts/tegra20-cpu-opp.dtsi | 67 +- .../boot/dts/tegra30-cpu-opp-microvolt.dtsi | 512 --------- arch/arm/boot/dts/tegra30-cpu-opp.dtsi | 986 +++--------------- drivers/opp/of.c | 47 +- 6 files changed, 214 insertions(+), 1487 deletions(-)