Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp535818imd; Thu, 1 Nov 2018 01:09:37 -0700 (PDT) X-Google-Smtp-Source: AJdET5dCo/3r138ZGpEVFUx7kgmcUDJ3m02mA1RmT6KBSo0IqlJ9mL/o2O9P+plPh5HISzs6tfHq X-Received: by 2002:a62:1416:: with SMTP id 22-v6mr6827706pfu.114.1541059777482; Thu, 01 Nov 2018 01:09:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1541059777; cv=none; d=google.com; s=arc-20160816; b=Gk6H9mEdPQ0TkzzG1rglLXnMNTj1jqd3eB0O1Ko3LyT9Ej5cH1CWqbyJGzFCm6th7L AH10+Fsgcm2ketbrcMv2FLju/8YxsqwLhg+u4kzAnYgYieJzB6bTID6/Gwzp9988Mw/p UyG/XA8/1CLucJ9jeLgOaX3z+p1Hf1abh5VKyUogtloJIRQ1e2MqGFY+omqS6Lf7pg6P uu1ceMUU5q7FfWN1F7/D04M/4Bc133DScp4faYmTXM/q17EDA+3TSnzp8Yo4kKG7wYch lqqyid/UtX219SeBZjkzj6XoC1xlktw0HX3+qC4yjw/NBM10pErLtXsk6/VBJJ6vIrxP 6I/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=tUR4IQpwICYxhBQ67901PfibyZIwe2MECcAPe6a+XmM=; b=hPn2dNYjoKDiht7EKETueAg4Vz/AJ/UPhUr3fyNvZHShPjm3RoVpKKaC0TECoLkKwf d7ueuop0Te3aPB/SxbPio/N2kif9XyX6gFWCHBlCvNSNW/M9JqefPFmLaDY0m0m3UvtY ++y2kF+6gvJ5uT1zBucTRo4jVr+bqflct6XHuXtawDsclvO49LP2cH0G/FpG+r81Rv1M JRhTuVG1TlMNTVr1BbNgt8DIInDhWuHNaFsodxQ8WJYpt2iUdWhGR69RUL7lsvefexRU dqj3ysm94b3Kh2ZDEDSJHn6HVQeKg/IDRxMn95jhENTdVSKTixqBBCqrEXTnGkDvXTBL yYEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=etJTYeH+; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 70-v6si421807pfz.20.2018.11.01.01.09.22; Thu, 01 Nov 2018 01:09:37 -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; dkim=pass header.i=@linaro.org header.s=google header.b=etJTYeH+; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728046AbeKARJM (ORCPT + 99 others); Thu, 1 Nov 2018 13:09:12 -0400 Received: from mail-wm1-f68.google.com ([209.85.128.68]:36108 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727847AbeKARJM (ORCPT ); Thu, 1 Nov 2018 13:09:12 -0400 Received: by mail-wm1-f68.google.com with SMTP id a8-v6so587590wmf.1 for ; Thu, 01 Nov 2018 01:07:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=tUR4IQpwICYxhBQ67901PfibyZIwe2MECcAPe6a+XmM=; b=etJTYeH+4AjaKJzDStByYP71fck6hVC5zMKFZtcdLmInvthbOYC2e6hWtcfiq57d5A VGfmOxdyPS+MjXhh1pZhKmMKOz5XZtfPdVcBcLG7T4RXxJ3256EJRMmOhJlbrw8dSRzc MkHje3vXX4DzC6/haX/t8QM2Q0DwTjOp7Ewag= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=tUR4IQpwICYxhBQ67901PfibyZIwe2MECcAPe6a+XmM=; b=Vblf0oo4kPfFhLg2AmtAgE0NhCEElHToujxHTl3baEFHhUXW3thxsMEaCbpnAk7BKj pWsU7AExwAJJuTRmzjJN2JEyP1rX41OaVZUNG0UmCjpGgcwvlQCN+oYUXSlJeyt2U7x2 UD8yYinXGWiUwdOnDuekj8qfnsVLxyhPDtuK6vjT0Ud4UHGnT82fIV7sDYT41LDksIzX THme2vF4ZN2TB+W2rzwLRdLx386L/w/nBdlncMmKuvx+sZP1F8QKnf24y7jjj2OMw2iN 6HUIKiJWxk6AfdF1Uu90G0hzl+RA8/ON7E7RQs6d1xKh7lij4Zuqjd/+X1ktTQ/JgwQe i5DA== X-Gm-Message-State: AGRZ1gLW9ya9S1hFNg4rztkZg2LPlA9b5w43zLu7oR4yD0vedBQOSci2 N9MAXxD8czS/Oz8O5IuVHGjYLQ== X-Received: by 2002:a1c:4b1a:: with SMTP id y26-v6mr4885898wma.82.1541059635089; Thu, 01 Nov 2018 01:07:15 -0700 (PDT) Received: from dell ([2.31.167.205]) by smtp.gmail.com with ESMTPSA id z6-v6sm6842165wrs.19.2018.11.01.01.07.13 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 01 Nov 2018 01:07:14 -0700 (PDT) Date: Thu, 1 Nov 2018 08:07:12 +0000 From: Lee Jones To: Dan O'Donovan Cc: linux-kernel@vger.kernel.org, Andy Shevchenko , Mika Westerberg , Heikki Krogerus , Linus Walleij , Jacek Anaszewski , Pavel Machek , linux-gpio@vger.kernel.org, linux-leds@vger.kernel.org, Carlos Iglesias Subject: Re: [PATCH v3 1/3] mfd: upboard: Add UP2 platform controller driver Message-ID: <20181101080712.GB15973@dell> References: <1539969334-24577-1-git-send-email-dan@emutex.com> <1541018689-20625-1-git-send-email-dan@emutex.com> <1541018689-20625-2-git-send-email-dan@emutex.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1541018689-20625-2-git-send-email-dan@emutex.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 31 Oct 2018, Dan O'Donovan wrote: > UP Squared (UP2) is a x86 SBC from AAEON based on Intel Apollo Lake. It > features a MAX 10 FPGA that routes lines from both SoC and on-board > devices to two I/O headers: > > +------------------------+ > | 40-pin RPi-like header | > +------| (HAT) | > | +------------------------+ > +-------+ +--------+ > | | | | +------------------------+ > | SoC |----| FPGA |-----| Custom UP2 pin header | > | | | | | (EXHAT) | > +-------+ +--------+ +------------------------+ > | > +------* On-board devices: LED, VLS... > > This is intended to enable vendor-specific applications to customize I/O > header pinout, as well as include low-latency functionality. It also > performs voltage level translation between the SoC (1.8V) and HAT header > (3.3V). > > Out of the box, this block implements a platform controller with a > GPIO-bitbanged control interface. It's enumerated by ACPI and provides > registers to control: > > - Configuration of all FPGA-routed header lines. These can be driven > SoC-to-header, header-to-SoC or set in high impedance. > > - On-board LEDs and enable lines for other platform devices. > > Add core support for this platform controller as a MFD device, exposing > these registers as a regmap. > > Acked-by: Linus Walleij > Signed-off-by: Dan O'Donovan > --- > drivers/mfd/Kconfig | 17 +++ > drivers/mfd/Makefile | 1 + > drivers/mfd/upboard.c | 336 ++++++++++++++++++++++++++++++++++++++++++++ > include/linux/mfd/upboard.h | 44 ++++++ > 4 files changed, 398 insertions(+) > create mode 100644 drivers/mfd/upboard.c > create mode 100644 include/linux/mfd/upboard.h Looks like you've ignored the review comments here too. -- Lee Jones [李琼斯] Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog