Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1141590ybt; Thu, 18 Jun 2020 01:17:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxzeIFn6gc15Q1dSQzzEAihZen+7BGq0uTJ4hzlw6aC8MfZJkt5Duq6a3JhtpgUO7pcBM23 X-Received: by 2002:a17:907:35c9:: with SMTP id ap9mr2754510ejc.81.1592468273914; Thu, 18 Jun 2020 01:17:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592468273; cv=none; d=google.com; s=arc-20160816; b=t69fD18f7V6XambUVlkdQ9TxISXPFlSF64GHQhimDxiNlpyxhnYsDo2NHzo6clZoXr 4+zn2G4LBQ7R429JdMkjp/au1F18DmSFzu0Gy+JDYnaqQpEOuxHpNFpfoqII4hAlqtBH PZEDid0YDc5b1QK+YAtMhPu5xKeTPOsF0ePBmgkOMUZqMZI+mgLXfN61gP36jLHJjPHu Q77/77N4RsCJ01zoDLXR00v+Vtl4VDtc9DS9s70I9Vef0S5q52cJpKz4UJTWLerrMR17 uhd/Ym53j/ymUejCZs42CqILLuKg3bdi5aX2/jZ8oz5pzwLv9jsNk42D1dmrhL1LdRaN 4K0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=VFAtsOIUbu3lSU/HEGGn9hrUEMDItq984a8uDB0vTG4=; b=Tly3eGwA/MjhPu+RsfpiveQ1cy/gjR2XYKFfxtX+r8LubpHmK5KO3x448JWpy6luq+ BgQrBQm3U3mShMPtLb/jhfH6a4Ds+Tu8ujacSovbqNfu4TrF/EhazcA7az32Cd29LdfD DI6YoROKMDlfRPz7yz/s5T7KLzz4m7pPBJYqNae8tx53J5GFBeuqR0FaK9P5xX/MS6gQ gr6uBUWv6PYPI1v0uDz5FDfYNBGt0jCXk1BADV7yhphHB0rFVIKjLokYbmY5I2bYEd0Q OyRX4iiY/V1ab4VKzM5G6NVn7+OIg5JrZV9WwfK/NyLN+JatvzoD2t35PgwHw/xcDsNw lOZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OeeHyY+Y; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id a17si1341131eju.694.2020.06.18.01.17.31; Thu, 18 Jun 2020 01:17:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OeeHyY+Y; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1728507AbgFRIPW (ORCPT + 99 others); Thu, 18 Jun 2020 04:15:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53816 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728398AbgFRIPV (ORCPT ); Thu, 18 Jun 2020 04:15:21 -0400 Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B09D8C061755 for ; Thu, 18 Jun 2020 01:15:20 -0700 (PDT) Received: by mail-wr1-x443.google.com with SMTP id e1so5045482wrt.5 for ; Thu, 18 Jun 2020 01:15:20 -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; bh=VFAtsOIUbu3lSU/HEGGn9hrUEMDItq984a8uDB0vTG4=; b=OeeHyY+YKwWr2fRsYI11CjIJOMFFkdCm85UynZj7MpMoE9cp+TT0NoE8bPVmdKNSzf QTIAlb3B23TkGeN9VzxVOhsSJ1N47FjHc0HndFsFSgJunxiS3u/Xh0o6KkKOngoTOzQK mzSxMd7ej+ALbFugboPDoWizoX/iKpXRGYPK3I0cDW7KYMWWo/cVVI1DplpNBfOTrIFJ DFKek/jSOY2zOffnNr75HeaTp4uUyeotKBquwFBZwQTL7NIrn/D+1UUorehTACtmSScG 6RsxLv6wCrP/2KFNpXHu95CoxXxBW3VT/5dUcI4iHiTz4sZF8UAEIQVnrQPCBO+p7cdT 5kzw== 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; bh=VFAtsOIUbu3lSU/HEGGn9hrUEMDItq984a8uDB0vTG4=; b=SfkLtiChDmJRuqWqczu3QPzNa4Gd4F46chdhYK0xufHSdhSXtrT+0d9kcPZRqRlCxM NbwEgmu2uIwKD2PID6S1X5QK5wyuaq/de0mNcIqwNML6D5ldysECVInFYopc3AFI/fxf 0G96Vky9NOkHvwEgXbhB7PkYdQ3i0Y7NxQfX0v3cKvcIr43a87VzjgSoo3ZEgXxEJzgV Zmxpi80Wz5K+XP6b5A+feKzcSab9+o+4nEcBXUAZAWMQekIx4i7sgbN6jSBJ1TixC7Yy Q+oCtG7HzetqMyUwjUxDwhBX3NyMaAV6kw3IC3lf6lb8VfUj6e8U4vgbIfoDh0ai4vGH PRAA== X-Gm-Message-State: AOAM5328VWvSY+nV+PqIi4aHJC44urnQf8Lfx973vafISuQ/KO+sMysy xuCy3qrdAyXF9O/9kefOwKaIpQ== X-Received: by 2002:a5d:6809:: with SMTP id w9mr3485714wru.182.1592468119418; Thu, 18 Jun 2020 01:15:19 -0700 (PDT) Received: from dell ([95.149.164.118]) by smtp.gmail.com with ESMTPSA id h203sm2112690wme.37.2020.06.18.01.15.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jun 2020 01:15:18 -0700 (PDT) Date: Thu, 18 Jun 2020 09:15:17 +0100 From: Lee Jones To: Neil Armstrong Cc: linux-amlogic@lists.infradead.org, linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 2/5] mfd: add support for the Khadas System control Microcontroller Message-ID: <20200618081517.GA2608702@dell> References: <20200608091739.2368-1-narmstrong@baylibre.com> <20200608091739.2368-3-narmstrong@baylibre.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200608091739.2368-3-narmstrong@baylibre.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 08 Jun 2020, Neil Armstrong wrote: > This Microcontroller is present on the Khadas VIM1, VIM2, VIM3 and Edge > boards. > > It has multiple boot control features like password check, power-on > options, power-off control and system FAN control on recent boards. > > This implements a very basic MFD driver with the fan control and User > NVMEM cells. > > Signed-off-by: Neil Armstrong > --- A patch-level change log makes reviewing easier. > drivers/mfd/Kconfig | 21 +++++ > drivers/mfd/Makefile | 1 + > drivers/mfd/khadas-mcu.c | 142 +++++++++++++++++++++++++++++++++ > include/linux/mfd/khadas-mcu.h | 91 +++++++++++++++++++++ > 4 files changed, 255 insertions(+) > create mode 100644 drivers/mfd/khadas-mcu.c > create mode 100644 include/linux/mfd/khadas-mcu.h Nicely done. Applied, thanks. -- Lee Jones [李琼斯] Senior Technical Lead - Developer Services Linaro.org │ Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog