Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753303AbdFPJ31 (ORCPT ); Fri, 16 Jun 2017 05:29:27 -0400 Received: from mail-it0-f44.google.com ([209.85.214.44]:37538 "EHLO mail-it0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751798AbdFPJ3Y (ORCPT ); Fri, 16 Jun 2017 05:29:24 -0400 MIME-Version: 1.0 In-Reply-To: References: From: Linus Walleij Date: Fri, 16 Jun 2017 11:29:22 +0200 Message-ID: Subject: Re: [PATCH v3 8/9] gpio: mvebu: Add support for the Armada 7K/8K SoCs To: Gregory CLEMENT Cc: "linux-gpio@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Jason Cooper , Andrew Lunn , Sebastian Hesselbarth , Thomas Petazzoni , "linux-arm-kernel@lists.infradead.org" , Rob Herring , "devicetree@vger.kernel.org" , Russell King , Nadav Haklai , Kostya Porotchkin , Neta Zur Hershkovits , Marcin Wojtas , Omri Itach , Shadi Ammouri Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 878 Lines: 23 On Mon, Jun 12, 2017 at 5:34 PM, Gregory CLEMENT wrote: > The Armada 7K and 8K SoCs use the same gpio controller as most of the > other mvebu SoCs. However, the main difference is that the GPIO > controller is part of a bigger system controller, and a syscon is used to > control the overall system controller. Therefore, the driver needs to be > adjusted to retrieve the regmap of the syscon to access registers, and > account for the fact that registers are located at a certain offset > within the regmap. > > This commit add the support of the syscon and introduce a new variant for > this case. > > It was based on the preliminary work of Thomas Petazzoni. > > Tested-by: Thomas Petazzoni > Signed-off-by: Gregory CLEMENT Patch applied. Yours, Linus Walleij