Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp371767imn; Thu, 28 Jul 2022 03:26:37 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tpcVwAaPx06a/SktIT3tLqI+xtQiz6tC0tEhq3xwCxUvw0gVCVxFtu2rus+rEaLjIxEkuW X-Received: by 2002:a17:902:d2d1:b0:16c:223e:a3db with SMTP id n17-20020a170902d2d100b0016c223ea3dbmr26376550plc.37.1659003997417; Thu, 28 Jul 2022 03:26:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659003997; cv=none; d=google.com; s=arc-20160816; b=nfi2lEOu5PiCooz00/Ps3de1tcZowlozq4r0oM404iUZ/joGhXHLx5WrAS8XinTSoQ 9pGu4IVKVBXYNIg568Afhr2fnaMuov+otdnn2/I57sgV0m6zpSxoZwjLMZj2JS8OeTE6 SDoz6XHqLh9M1SmDv592KxrkKzFbJ3EXnRLbEPE5T+YYVXwAslQNZkcm5I1bYEjRFXKY 6h+HAdG9Z+biF6PpdU7t7NLjLlHcKfLv4O1eEknhz7w4enWt4SM+aymTIOQqXeOSS31b FeULLdGNDKPVREUVnT/MSevnNLlAcHyjs8Hzl9SPcnFM2NrrBlAKJHIIL9p5LKUIW+wz 1W6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=bLxB+89pwq/EuHVG99O0yiShqnw3Nb2nVhToNkeoVY8=; b=0YQJFTZQvbcAci4+JDTfhBobYxtuIKJ5xVL7FJjt8DiJDYS+flTtRmCV87unIOvfJM NEuI6nPXfGJfX5squJvo79cYrKGyzUGibF6zyVfXPZKPqplauZyHG5GsyB8I5IHtvJBY fiqKyrzpLS1kRJhyOcQtoTzEokpCHUrJ+7q+K6sj6UXDB7A/QOwUa9/sx0BVCYSFlCtq 1vxCdGHKHlaJrrsHgXiinRc6r8pW04SyfU7QBM99aupToYY59pjSORnfcXSR134jMQU8 tpMEBaAWL0RzrIQoTb9F97fNshFBMudFN0vExRFTEic1daAJKUfbKqxesu8Kz9Csk+LX VL3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=YoaQAlgH; 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=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u1-20020a62d441000000b0052c8b7d7586si282248pfl.45.2022.07.28.03.26.21; Thu, 28 Jul 2022 03:26:37 -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=@linuxfoundation.org header.s=korg header.b=YoaQAlgH; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235670AbiG1J4x (ORCPT + 99 others); Thu, 28 Jul 2022 05:56:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57596 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235034AbiG1J4v (ORCPT ); Thu, 28 Jul 2022 05:56:51 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CEF7D63916; Thu, 28 Jul 2022 02:56:50 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 638A7614B6; Thu, 28 Jul 2022 09:56:50 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 46B3DC433D6; Thu, 28 Jul 2022 09:56:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1659002209; bh=boCRpvTjs+becvjTUzbhpSoR5geBGJA5S2zg5QWdSzA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=YoaQAlgH4ipQj1MmkAM7/6TnXhLNauUGd+9Etc2xZJqqfbSBFcNVbfzo2lnGlaIve SNaOdjL/t5ZKtXB2+QwsSpo6InQok9ULaiGkOKxuyEtN5Teq0zzfBIBjIy3aAc3gBT 9nN4fpMlXB0Qaw0iT6ORhqeCWxnD6Z6P9wXSoxy0= Date: Thu, 28 Jul 2022 11:56:46 +0200 From: Greg KH To: Martin =?utf-8?B?WmHFpW92acSN?= Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, mani@kernel.org, hemantk@codeaurora.org, elder@linaro.org, f.fainelli@gmail.com, linus.walleij@linaro.org, Michael.Srba@seznam.cz, jeffrey.l.hugo@gmail.com, bjorn.andersson@linaro.org, saravanak@google.com, krzysztof.kozlowski+dt@linaro.org, robh+dt@kernel.org Subject: Re: [PATCH RFC v1 1/2] bus: add Wiegand write-only GPIO driver Message-ID: References: <20220728091712.13395-1-m.zatovic1@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20220728091712.13395-1-m.zatovic1@gmail.com> X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS 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 Thu, Jul 28, 2022 at 11:17:11AM +0200, Martin Zaťovič wrote: > --- /dev/null > +++ b/drivers/bus/wiegand-gpio.c > @@ -0,0 +1,661 @@ > +// SPDX-License-Identifier: GPL-2.0-only > +/* > + * Wiegand write-only GPIO driver > + * > + * This program is free software; you can redistribute it and/or modify > + * it under the terms of the GNU General Public License version 2 as > + * published by the Free Software Foundation. > + * > + * This program is distributed "as is" WITHOUT ANY WARRANTY of any > + * kind, whether express or implied; without even the implied warranty > + * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > + * GNU General Public License for more details. No need for the license "boilerplate" if you have the SPDX line, so these two paragraphs can be dropped entirely. You might want to add a copyright line though, lots of companies want to see that, don't know if yours cares or not :) thanks, greg k-h