Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp3296561imw; Mon, 11 Jul 2022 06:05:11 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sV6AxMTaXBpmXkj/YV/t4wpwmkfFbck6XlwKW3EktH/qC6fP5vfJrTF9zRgvowXkvdKOxX X-Received: by 2002:a17:90b:164d:b0:1f0:31c1:9e88 with SMTP id il13-20020a17090b164d00b001f031c19e88mr8643913pjb.206.1657544711674; Mon, 11 Jul 2022 06:05:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657544711; cv=none; d=google.com; s=arc-20160816; b=P+q+LT9N3+3EfZjQeUmN0PUCggrVl77x9xTacougG+0FOiyO8H7/fp/ggoF0xIu080 i77L0Ab666TWkuw4WgvCMX0vKhNU4Atqos60y7yc78GrkKCPhe6MeLTrlmgBZlxQEqGN FHoJKP+rTOozwCwrP3C5c3rdHQPROK5FQ6BQh4xT/ye/1BQ7tqDA3WVxlsYB37Zhaxi7 14JSepWtGImhH2lotG3SN9Q6WzCEkrUs3lxXJ+fSm/PjVm5A+q3kFHeK/mtMrOsksS9o OvIGZoXFDAMWpejuxsZGNRIljjZBoVzXotl2+lIeDus/iK1Hmn8hlEqSMZAZ7IUBrsZM SMDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=jBLM5Pi9tPv6vKM0pZCCueIUCFwTFpFPFADh+Fgewz0=; b=nc6ODvRhjSyiSeX3s8EZFfeDhD6zHxgzXOTl1nW3XyXdiM58ulNpk+pu2/ds3ZRh3M 9ZAE4TsX62hT+h8ExrZYq5qi8uz2vxpaDUl9Rs/P4vg76hy83LGOWE62NkMov+0iaCIW uIQ5/i3IwZ37PhgLqHYDAH7ZrfrTnpfOnslkeVluFPJ3pKXUl+Ml/tWum52T9v6IqsOz MeK8kjX9TWXsMkmdlkWQKuJ3qQBatWP6n6kXtn6BFdbcNtJ8sI4R1BX1S9gxA0nBPQ44 K4S4lcBcZcbG5FCkvGL5ZjVTfJYvYffUI/vtrNHFB1e5b9sZ7R6vE3vuPBh1zqa1+ZXI AzsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SNjylM88; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 204-20020a6301d5000000b00415d875032csi9789058pgb.334.2022.07.11.06.04.59; Mon, 11 Jul 2022 06:05:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SNjylM88; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S229708AbiGKNC1 (ORCPT + 99 others); Mon, 11 Jul 2022 09:02:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37244 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229690AbiGKNCY (ORCPT ); Mon, 11 Jul 2022 09:02:24 -0400 Received: from mail-yb1-xb36.google.com (mail-yb1-xb36.google.com [IPv6:2607:f8b0:4864:20::b36]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A264CE6B for ; Mon, 11 Jul 2022 06:02:22 -0700 (PDT) Received: by mail-yb1-xb36.google.com with SMTP id 6so8575004ybc.8 for ; Mon, 11 Jul 2022 06:02:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=jBLM5Pi9tPv6vKM0pZCCueIUCFwTFpFPFADh+Fgewz0=; b=SNjylM88LckGpiE4V/QUaMe32JWa/uYAO8RGp/aAtFaJRJpGCN6w0mykgjuvUSGDur lrFqFOwDHaoNloZrphn14yC0t+vufFpHzADq4YWaNThEc1Ugi/ioeS7l8Z+iO7+ClNyY f2j/Rg8i1AOf7VlII+FHdmrOtQ3JfUygah2qq1q8P6/sXeEg5FItPM52F1ecGvQO9c0L 6cwowVtD0lP3a0eu8KH6kAVi5VceEXcC9flnLWL2cU7eTUyLFebg8dGbRlajiXYcvrw+ 4oCWvmmlOeSQMQd8juIi+UUOMtqwlE+OP258+eVPXXHf9WqrIOgfscAvF6CJA2vvda/1 10dg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=jBLM5Pi9tPv6vKM0pZCCueIUCFwTFpFPFADh+Fgewz0=; b=vsXFo6ypXqrpM9uHh9LDN3wNY8TwY6uO+VmrXleXAgrfJ2iOcWDiKC07dJ/zp49yzZ 7nkCj5WNwKlOdQrQl1qUK3SHP7qBoLw4Y+dHdVYfoitkcqDfiEfbGWlEEzXVQ6WOnkyW gubR4fBZtm/mpfIqFu5KBhgQ2+ucodhlpAGEIHQCv2qFfjwngDqni029CUq66S6vpHim M6M7JwsFMQ4qhWf7PZS/d4MccS9BQUQM5SszsmwgZ2VwmudhKWAE6GVl97BvH3PP0yn4 Vut6CMXusFfVVtR52CA1VT9ZHDTE35CMSEooX4ZEs7PH3w57F4xcT/IT5jo0u4vfUnVR mf7w== X-Gm-Message-State: AJIora+QTuJo7pcq6lZ6K8XeiETcCWKsQ5epLNKP91A9rwNnfaQOrVV/ WG8+i1O524iP0pLojKE7VzLNnWZ16P45MGOmCECSfqP4hXo= X-Received: by 2002:a05:6902:1184:b0:66e:756d:3baa with SMTP id m4-20020a056902118400b0066e756d3baamr16793466ybu.533.1657544541545; Mon, 11 Jul 2022 06:02:21 -0700 (PDT) MIME-Version: 1.0 References: <6be749842a4ad629c8697101f170dc7e425ae082.1657216200.git.william.gray@linaro.org> In-Reply-To: <6be749842a4ad629c8697101f170dc7e425ae082.1657216200.git.william.gray@linaro.org> From: Linus Walleij Date: Mon, 11 Jul 2022 15:02:10 +0200 Message-ID: Subject: Re: [PATCH v2 1/6] gpio: i8255: Introduce the i8255 module To: William Breathitt Gray Cc: brgl@bgdev.pl, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Fred Eckert , John Hentges , Jay Dolan Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 8, 2022 at 1:16 AM William Breathitt Gray wrote: > Exposes consumer functions providing support for Intel 8255 Programmable > Peripheral Interface devices. A CONFIG_GPIO_I8255 Kconfig option is > introduced; modules wanting access to these functions should select this > Kconfig option. > > Tested-by: Fred Eckert > Cc: John Hentges > Cc: Jay Dolan > Signed-off-by: William Breathitt Gray This chip is like 50 years old, but so am I and I am not obsolete, it's about time that we implement a proper driver for it! But I suppose you are not really using the actual discrete i8255 component? This is certainly used as integrated into some bridge or so? (Should be mentioned in the commit.) > +config GPIO_I8255 > + tristate That's a bit terse :D Explain that this is a Intel 8255 PPI chip first developed in the first half of the 1970ies. > +++ b/include/linux/gpio/i8255.h You need to provide a rationale for the separate .h file in the commit message even if it is clear how it is used in the following patches. Yours, Linus Walleij