Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp5502643ybl; Tue, 27 Aug 2019 05:48:19 -0700 (PDT) X-Google-Smtp-Source: APXvYqwX5JdUAWrqG+oIftdLshCJB6Rso8AEWNidYb3x9ORhW1QpN3fEb13H2dZ5D8UUD/8My39u X-Received: by 2002:a17:90a:3847:: with SMTP id l7mr24112667pjf.99.1566910099416; Tue, 27 Aug 2019 05:48:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566910099; cv=none; d=google.com; s=arc-20160816; b=UBxnOt3RYuuLp6ljqarbp7HEDV372MQCkjs99YLU9aCXOZUd6qMdix9GJs7QC/6RuV dou77uhn+Iw6jKjdwt1G4SiiAVF7LEaScOZWZzr8w+gXFtKVfDtAOK3Dor955B9Iy7o+ 9lwDwPQ0tZXTnescpNhRu1FoyCnE4mU/oweFFVxSTsnhCdrcGQAUOdshSANXQmzCSEHZ hwYqgDji3f6uaYCfUXQFUVECVt+jRQbJ9nTx3PtWbGQcrJIUxmkuCpr/c97sJPnRvI55 obrV6D82gW51RG0/AH+xtDJNMta1aRBg+FXulxzv3nBkeXCY7oQqCP4Jc0i3g2+/Daly JneQ== 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=5QBDLcjxkLr/nnq6qs0lgCdOCwtscFs7g505ezIG0LQ=; b=e6AApf6AZepnxtyjxYUenP2ln3+ITY2VDlAl2+LQtGXCL/CNdZZkcBAo0oZ4yDQGh5 hfu977IsXQdZPmsyF+z45INjN+PS3tw7uau+IfcxQkUCWCDLwZ+fvGQVEnnziui7Sey6 gWIZCgVwkC+sx+GQGlrK7m0imNsRbsYfPyf1ga6uaePLnquJLyK7mXDbB6n2InGJ3RTz 5uP9ItR5rmjfxAvNxOtItx5JR8LeqSRSy9MV7JO9EYlbraN9x88Fnwl7/Ar1Gl6355Qc BqA8GTCtB3yguWJC9J84O1yof1xRSScGD893eAANGqRqKp50RsgDQsPEAGuAJMcP+hFH E7Lg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="l8N1F/Dz"; 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 s38si11596557pgl.138.2019.08.27.05.48.03; Tue, 27 Aug 2019 05:48:19 -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="l8N1F/Dz"; 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 S1729004AbfH0Mq5 (ORCPT + 99 others); Tue, 27 Aug 2019 08:46:57 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:39960 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726170AbfH0Mq5 (ORCPT ); Tue, 27 Aug 2019 08:46:57 -0400 Received: by mail-wr1-f67.google.com with SMTP id c3so18650709wrd.7 for ; Tue, 27 Aug 2019 05:46:56 -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=5QBDLcjxkLr/nnq6qs0lgCdOCwtscFs7g505ezIG0LQ=; b=l8N1F/DzXNM+nJ1ODvblKsaSge7jR1tgnGyWr6gtN2B13qnhtpWlih1mBc7pXZ3vJ3 NNX0k4gBpFUirBgKuB+UL+QeyFm+RTPOXN3tvgpwfX4uJlAWZ3MrEyJvavAD10wj+VTr KPnRPtgpYoIUwvnflZAWBqvvrn+4qd+6VFsXqhuJALrIs5GYbrdlTlkRjYnFcJjj1mI7 eOrnyEvQ0AQzzAYsJ9qVncvp9D/PVdsTU/pPavB5jM3ft7HosiIU3d+DeZoAaEnPzgTN 2gBWCtRQd90oxSysFBW4LDkprZ06II/4b8a08oVAi9KYN+OxgYqKtxa0w8KlLdiuF32p DAyA== 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=5QBDLcjxkLr/nnq6qs0lgCdOCwtscFs7g505ezIG0LQ=; b=qd7aZsE/BdbsY6xTo9QDxPNS0G1zqV6xkNul56t5lyrBo/J+V8QqxvnUxz1UBF5i3K gpStTOYtzXZWEmZujVhPnIcfeEL2oUQlnznfjQmaVFf1GODR8JAo87Mrp2a6gAX8HW/i S2XXGxLxO0Z/OwCZ+o97KA3mnWTuxDj6an11gkxlM6JSDex9GwYIriKWK/+xPXmZRPzs T2I/ygjgXo8ZrbHiqegyFOr/VVPD94n4dEv5QWgBwQ3dFCAF3o6SPBI3VLy/tRzLJPa2 GpN3KZegD6KvYGVIlqLCUo1xRjMt70jPpqcVUh1jRg5FUh/UHQlB5CNnFE+VoopeIzwG /ePg== X-Gm-Message-State: APjAAAUglzhUQbp0ypDeS8HnYX2IzKuZOMsp4BBYrbEb5E/TODFepoxk KRQ+AmKaCppK2yYM++3vUH2siA== X-Received: by 2002:a5d:604d:: with SMTP id j13mr28317268wrt.244.1566910015713; Tue, 27 Aug 2019 05:46:55 -0700 (PDT) Received: from dell ([2.27.35.174]) by smtp.gmail.com with ESMTPSA id u129sm3828248wmb.12.2019.08.27.05.46.53 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 27 Aug 2019 05:46:54 -0700 (PDT) Date: Tue, 27 Aug 2019 13:46:52 +0100 From: Lee Jones To: Enric Balletbo i Serra Cc: linux-kernel@vger.kernel.org, Jonathan Corbet , Krzysztof Kozlowski , Will Deacon , MyungJoo Ham , Chanwoo Choi , Benson Leung , Guenter Roeck , Jonathan Cameron , Dmitry Torokhov , Mauro Carvalho Chehab , Sebastian Reichel , Thierry Reding , Alexandre Belloni , Liam Girdwood , Mark Brown , Neil Armstrong , Greg Kroah-Hartman , Collabora kernel ML , Andy Shevchenko , Gwendal Grignou Subject: Re: [PATCH v6 08/11] mfd: cros_ec: Add convenience struct to define dedicated CrOS EC MCUs Message-ID: <20190827124652.GC4804@dell> References: <20190823125331.5070-1-enric.balletbo@collabora.com> <20190823125331.5070-9-enric.balletbo@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190823125331.5070-9-enric.balletbo@collabora.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 Fri, 23 Aug 2019, Enric Balletbo i Serra wrote: > With the increasing use of dedicated CrOS EC MCUs, it takes a fair amount > of boiler plate code to add those devices, add a struct that can be used > to specify a dedicated CrOS EC MCU so we can just add a new item to it to > define a new dedicated MCU. > > Signed-off-by: Enric Balletbo i Serra > Acked-by: Andy Shevchenko > Reviewed-by: Gwendal Grignou > Tested-by: Gwendal Grignou > --- > > Changes in v6: > - Add a break statement once the MCU type has been determined (Lee Jones) > > Changes in v5: None > Changes in v4: None > Changes in v3: None > Changes in v2: None > > drivers/mfd/cros_ec_dev.c | 88 ++++++++++++++++++++++----------------- > 1 file changed, 49 insertions(+), 39 deletions(-) For my own reference: Acked-for-MFD-by: Lee Jones -- Lee Jones [李琼斯] Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog