Message ID | 1471515066-3626-11-git-send-email-narmstrong@baylibre.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show
Return-Path: <linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 21B9060574 for <patchwork-linux-amlogic@patchwork.kernel.org>; Thu, 18 Aug 2016 10:13:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 12F2828FD3 for <patchwork-linux-amlogic@patchwork.kernel.org>; Thu, 18 Aug 2016 10:13:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 07F2628FD9; Thu, 18 Aug 2016 10:13:08 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 9CE3928FD3 for <patchwork-linux-amlogic@patchwork.kernel.org>; Thu, 18 Aug 2016 10:13:07 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1baKJm-0001FI-Ij; Thu, 18 Aug 2016 10:12:58 +0000 Received: from mail-wm0-x22b.google.com ([2a00:1450:400c:c09::22b]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1baKIi-0000Bc-Cb for linux-amlogic@lists.infradead.org; Thu, 18 Aug 2016 10:11:58 +0000 Received: by mail-wm0-x22b.google.com with SMTP id q128so235269629wma.1 for <linux-amlogic@lists.infradead.org>; Thu, 18 Aug 2016 03:11:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=/1apPIdt6LiWgEdT3S3tjUU6+8hVnB2pv3AphXbJozw=; b=WLCw4z2q962uB0JkGoeHnJ/Ldx+A76ctPvBNOvASC0+kugg92d0E+B4CwOYT2dKcL2 ca+NFd4Ioa/QLwnVTXbp/6sVaqJAQepQDQG3Agk0Ii/buvKVX9RHIrn5V7EcAWLR6Ayn C4ctBsCOqJGGqPkqVzk0m6l8FDHkH7iSSbR0qM2ATtTKPJ2WL/wHbMau3zi8Z4Q0IAW4 VpNYvNDqetm2HWZrs7eidx1e80WRzt89VryvX6TnGPSJRMZBhC+mPwVcezRbEJUtD/48 Iv1Gs+fTvLb7/AxASXAN4mYU3CYnI/eL9ekSLLjfDUyjYgqBHpT99kjevNdgdcsjJ1RJ opzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=/1apPIdt6LiWgEdT3S3tjUU6+8hVnB2pv3AphXbJozw=; b=jfzkl1fZfakUAa7a1fLiO0LzHcktjs/S7tmcbJVKk7yNNyFVvAHYTG7671cCHSyeP1 ndtqrR/ZxN1b1MFL4DS7z6iHPc1+dxP8uPbuXNdbl+JRz/yOPbuBATTEpDbsKIkuZrcb XYbDKjgnL+F+65NSrUDZmUnw5fATgtDg/9cE+4J/j51K3FgqFdf7OF2pRbvUoReKktN6 4Nh/qyuOWmryF0+Ha47Am03FR5yq3h+rsPp0PC+cDzBOnbU8wTNsX15jubkkAl7owmmK TKFa5QNa+5vCnVK1CrIks9m5OG6rbIqTF1DxlLCJ7gAgh/kqtIOdIgqRjAP1FFCtAXTm wNjQ== X-Gm-Message-State: AEkooutSAV7fQB7I9ADZQn1urTlVnRxDhnvR/eC1uxaxuNd7kSxY2hHXddQ+YCfe6n808pVB X-Received: by 10.194.185.116 with SMTP id fb20mr1442511wjc.32.1471515090725; Thu, 18 Aug 2016 03:11:30 -0700 (PDT) Received: from localhost.localdomain ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id f4sm30915247wmf.8.2016.08.18.03.11.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 18 Aug 2016 03:11:30 -0700 (PDT) From: Neil Armstrong <narmstrong@baylibre.com> To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, sudeep.holla@arm.com Subject: [PATCH 10/13] scpi: grow MAX_DVFS_OPPS to 16 entries Date: Thu, 18 Aug 2016 12:11:03 +0200 Message-Id: <1471515066-3626-11-git-send-email-narmstrong@baylibre.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1471515066-3626-1-git-send-email-narmstrong@baylibre.com> References: <1471515066-3626-1-git-send-email-narmstrong@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160818_031153_045624_BB49EAE5 X-CRM114-Status: UNSURE ( 8.58 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: <linux-amlogic.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-amlogic>, <mailto:linux-amlogic-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-amlogic/> List-Post: <mailto:linux-amlogic@lists.infradead.org> List-Help: <mailto:linux-amlogic-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-amlogic>, <mailto:linux-amlogic-request@lists.infradead.org?subject=subscribe> Cc: heiko@sntech.de, Neil Armstrong <narmstrong@baylibre.com>, frank.wang@rock-chips.com, khilman@baylibre.com, linux-amlogic@lists.infradead.org, wxt@rock-chips.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-amlogic" <linux-amlogic-bounces@lists.infradead.org> Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/firmware/arm_scpi.c b/drivers/firmware/arm_scpi.c index d73db7c..699bed7 100644 --- a/drivers/firmware/arm_scpi.c +++ b/drivers/firmware/arm_scpi.c @@ -74,7 +74,7 @@ #define SCPI_SLOT 0 #define MAX_DVFS_DOMAINS 8 -#define MAX_DVFS_OPPS 8 +#define MAX_DVFS_OPPS 16 #define DVFS_LATENCY(hdr) (le32_to_cpu(hdr) >> 16) #define DVFS_OPP_COUNT(hdr) ((le32_to_cpu(hdr) >> 8) & 0xff)
Since Amlogic SoCs reports more than 8 OPPs per domains, grow the structure size to 16. Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> --- drivers/firmware/arm_scpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)