Received: by 10.192.165.148 with SMTP id m20csp486957imm; Wed, 25 Apr 2018 02:56:46 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpeN6UbbBFoHkiIWlbqXL73+Tct/wz+KAsUujs/CtmJAkoPNw8v5S4TRhreLpDmQXPT4bNd X-Received: by 2002:a17:902:728f:: with SMTP id d15-v6mr7463975pll.119.1524650205960; Wed, 25 Apr 2018 02:56:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524650205; cv=none; d=google.com; s=arc-20160816; b=wcktF5pj0bazbIbH4BXQwLpyT//cU+xfRffnlXgRxLkx4rLsL6dkyrJb23Z0sQ/lM8 TLNMtLFru8jhQ3b79zTOXjGLAuz59ZgKTxDi93lwy9dMmreO8U3pswNGgWAWZKLzk2UK +qx4w32whkEJJuTmjaN44jm4iBip6kMf7GmzDpBXMBjgZssuTU4x/P9I4BwizsuLLh+l 1c2knu22K7FU5M3PK+AOfAa3G0c3xWWzo1+NGlW8HE/3rHGuUbS8DXbSt/yM7N+IcbKU iB2dUfthTmlioK+Jf0eCZO4cSssO+oI1jCE/iVuN/54l+R5k6hhLX8tvNJIJj9Ezz9Z4 EtMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:organization:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=ZHvMWyLUD9lwtsF3QEyOTmdvq3YPaF5+iOGhk/Gj59c=; b=OEzttU9XKS1gbpir/F0u7gFE5j3ImiasDT8bDfl3xl/6edZNCLg5KzstntAN/l0QfU 1K5NyKnCxAAb9//lpne+SABDWW+yUMyCC2T9xp22WLiI85se2AwJsfkhBHe10CXhWbNJ QjDa0IvD2YzTS8dtZJas1nRJ7v5CcvL3R9j/yJhD2z5lDQEq3eSTG4pa4aWpvuaTo9Cw gv1MytU1GWj2ltgTxqzqFsxQw6qBNzcrF65NHfQpVY9wzcP3iySR04VYqAPcqZiE530D 1uoaTyzIfg1l3oLuqaye/RrxzOwhsxnZ/a589NZyISjBbB0vm675NEKcG6SBHRdPR7Yx eVMw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l12si3388469pga.536.2018.04.25.02.56.30; Wed, 25 Apr 2018 02:56:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751561AbeDYJyC (ORCPT + 99 others); Wed, 25 Apr 2018 05:54:02 -0400 Received: from mga01.intel.com ([192.55.52.88]:53049 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751353AbeDYJyA (ORCPT ); Wed, 25 Apr 2018 05:54:00 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Apr 2018 02:54:00 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,325,1520924400"; d="scan'208";a="36900655" Received: from lahna.fi.intel.com (HELO lahna) ([10.237.72.157]) by orsmga006.jf.intel.com with SMTP; 25 Apr 2018 02:53:56 -0700 Received: by lahna (sSMTP sendmail emulation); Wed, 25 Apr 2018 12:53:55 +0300 Date: Wed, 25 Apr 2018 12:53:55 +0300 From: Mika Westerberg To: Javier Arteaga Cc: linux-kernel@vger.kernel.org, Dan O'Donovan , Andy Shevchenko , Heikki Krogerus , Lee Jones , Linus Walleij , Jacek Anaszewski , Pavel Machek , linux-gpio@vger.kernel.org, linux-leds@vger.kernel.org Subject: Re: [RFC PATCH RESEND 0/3] UP Squared board drivers Message-ID: <20180425095355.GM2173@lahna.fi.intel.com> References: <20180421085009.28773-1-javier@emutex.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180421085009.28773-1-javier@emutex.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Apr 21, 2018 at 09:50:06AM +0100, Javier Arteaga wrote: > [linux-kernel correctly Cc'd on the series now. Sorry for the noise.] > > Hi all, > > This series adds platform support for AAEON's UP Squared, a x86 SBC > based on Apollo Lake [1]. Specifically, it enables control for the board > pin headers and for the LEDs, as both of these features are only > available behind a FPGA-based platform controller. > > This is structured around a MFD driver that provides a regmap interface > to that platform controller to each MFD cell. > > The series is carved out from an out-of-tree support patchset, initially > written by Dan O'Donovan for the original UP Board [2] and then extended > through the past year to support new entries in the lineup (UP Board, UP > Squared and UP Core) [3]. > > Here we only submit support for UP Squared to simplify review. Still, > the driver is designed so that it can easily gain support for the other > boards. > > Questions: > > * Is MFD the right fit for the platform controller? > The intention here is to encapsulate the custom GPIO-bitbanged control > protocol by sharing the regmap between the drivers. > > * Is our use of two chained pinctrls (in patch 3/3) valid? There are few minor comments but other than that, to me this looks like a reasonable approach.