From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 28AD6C388F9 for ; Wed, 11 Nov 2020 20:29:18 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id AE855206F1 for ; Wed, 11 Nov 2020 20:29:17 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="ECUWT8Xl" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AE855206F1 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=LauKNKCcn1rRdj7fAX6Eo/WiBVkmHZAgCCVMtE8hFqY=; b=ECUWT8XlwAJqFDPO7NsItP4KZ xnWwxZGBFQxZT/cz/owUJlrgbPAxERc9xAVnIx3HEz7/Io1ZZ7pnoBQ9YuPu0VXg89VU3Od9oqT0/ v9R5g6oThLQHtknuX5qIWwmhMuHTFbUzNRYHT7GhYLZB25AXz6KwKFQT7IlH5U8z9advuomXe992r 1ZmVZWWjpYgXGdPsO7dbCuJfVm+jQSGS8vu0KKM/K75JwlIRna8TNqUYXravVm6qhDknSrf6J9Pcw cY2+n5X0j7ikibZW/BD3IkuSxxLuPELv4YN+b6sYGin+0p35XRgg0CYsUafZBB7GxjvrFIYt/t47U EBLThd8zg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kcwje-00052w-V6; Wed, 11 Nov 2020 20:28:55 +0000 Received: from mail-ot1-f66.google.com ([209.85.210.66]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kcwjb-00051V-3R for linux-arm-kernel@lists.infradead.org; Wed, 11 Nov 2020 20:28:51 +0000 Received: by mail-ot1-f66.google.com with SMTP id a15so3404316otf.5 for ; Wed, 11 Nov 2020 12:28:49 -0800 (PST) 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:in-reply-to; bh=WJf51nyncLEmkY0/O8/AmM9y/TuW/LVt/kXamrqppsE=; b=lMzmd8Bz3u5aGoPwENLMFMVj+TxQtnahUTOcordSaiW0asHV0GMYEx7ytmlZFLcX7E q0iFjDWvI5yq5USP9Zty0pw9II5J7ZNkFbTUDYX4GRt76vrn3Q3qvCl3RQ+eoQNAtCCc 8lNSXylYvGdeL9qrjqxUufhWnEBoqD/I7+RLvbaoloH+IiMfubCFvv8mZrPcpBka3b+X JKnf032MndPZjvOHyuZbp1zht+SxPGsfhf1f+NX+0S8dAGQZ5DJNSCg0B+2UtA+vNYLK N/OFTVwKWdymVqVKD7IS71V/vQhsQ5JLARy+aHbpyXFF2o4lragPVqAWVW6ubCCYA2Hq v+Hg== X-Gm-Message-State: AOAM533aqrDBVfo1VPwjRaR/uPcOgb4Umed1KrPtK0N3zVN4nbU7FdVN zEUEWYfZGo1YeQrLWouI7g== X-Google-Smtp-Source: ABdhPJzjBGK4y8JdGnGo7mz2lnpYgsMG9B4V8dQwLAkI9fFRQ6mTl1k0TJTK/sGulYG/kuqZD1Vd3Q== X-Received: by 2002:a05:6830:348:: with SMTP id h8mr556706ote.318.1605126529396; Wed, 11 Nov 2020 12:28:49 -0800 (PST) Received: from xps15 (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id 186sm751073ooe.20.2020.11.11.12.28.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Nov 2020 12:28:48 -0800 (PST) Received: (nullmailer pid 1974454 invoked by uid 1000); Wed, 11 Nov 2020 20:28:47 -0000 Date: Wed, 11 Nov 2020 14:28:47 -0600 From: Rob Herring To: Daniel Palmer Subject: Re: [PATCH v3 1/5] dt-bindings: gpio: Add a binding header for the MSC313 GPIO driver Message-ID: <20201111202847.GA1974400@bogus> References: <20201109121731.1537580-1-daniel@0x0f.com> <20201109121731.1537580-2-daniel@0x0f.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20201109121731.1537580-2-daniel@0x0f.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201111_152851_205198_B4F0AEE9 X-CRM114-Status: GOOD ( 16.90 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: Cc: devicetree@vger.kernel.org, maz@kernel.org, linus.walleij@linaro.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, soc@kernel.org, w@1wt.eu, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, 09 Nov 2020 21:17:27 +0900, Daniel Palmer wrote: > Header adds defines for the gpio number of each pad from the driver view. > > The gpio block seems to have enough registers for 128 lines but what line > is mapped to a physical pin depends on the chip. The gpio block also seems > to contain some registers that are not related to gpio but needed somewhere > to go. > > Because of the above the driver itself uses the index of a pin's offset in > an array of the possible offsets for a chip as the gpio number. > > Signed-off-by: Daniel Palmer > --- > MAINTAINERS | 1 + > include/dt-bindings/gpio/msc313-gpio.h | 53 ++++++++++++++++++++++++++ > 2 files changed, 54 insertions(+) > create mode 100644 include/dt-bindings/gpio/msc313-gpio.h > Reviewed-by: Rob Herring _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel