Received: by 10.223.185.116 with SMTP id b49csp1888849wrg; Thu, 22 Feb 2018 04:58:05 -0800 (PST) X-Google-Smtp-Source: AH8x226611IJl+xx/GdxOzL0A2BBTqqiDI/kZkotFd3mdDwGXNtsIX622pvID6tFV8Y23Kl6hSUP X-Received: by 10.98.64.73 with SMTP id n70mr6932171pfa.142.1519304285041; Thu, 22 Feb 2018 04:58:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519304285; cv=none; d=google.com; s=arc-20160816; b=bX5BuS2uzweOkBJ9XvEQbf42scg9w5dUiu/VucZ+iW3rilMRx88RiZ5oFzN4oPvJ7v je6aCC8ubdCff23A+UdEVWPYzxyWdye9lhyv6PHumiy2fh4pERl3KJMkaxAH/z7Ocb0b X2o2UqWYLR4de7wa/hmrW1/F/cCJnartkWkCzZJ0hJOQXvFF3YumeivdRi6hf18VYGPo /OYktt4EcsNSZc3a7sTOurdPNrqJLOJpiWxyaUNayJsZdzTXqn7/EWXmpGvjv27uLvDw 4eQn17+tXMDavAA0WKE1B2Pn3jn+d7ARR1EmZCY0vrEQWfFIYiWDsiydp/5ERuSNl8kL 6zfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:references:in-reply-to:mime-version :dkim-signature:arc-authentication-results; bh=bMDYYXtBX2gT0toMy6q4ofbfjRTwN/HgrkGMHBIOJOA=; b=fW8hNxjSye28XovQldZf5c6ZyKLnJhoYeljRli8IykEtTQXcJPtLKDXQSNUy2zxddi leb5esvbcvQC2TxVXSPBYsBl3RD+ygUGpdVd0ryevpNJ0n7/+22k/rT/lMH9qF6VAPGy iVmH4eBq21KCGvdptmluq0uQ+HKsBHWQ0sayjppFxPv3AsSZfzMg2Jz80oMfDAMxVcSz iLCAuyV9ePsKIScHbhgxZl5IdxGrnMrykcAmLL3NEdt4a5CE0og35Jdus5kq/TdXJz2A InttaZ/X94z3G8rGQtIi3U4oplpdudUw+FXj6Siv6voLhSRs0nTUW0FRG4xahNVICNAU aDcA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fS6/uFFv; 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 bf8-v6si5320plb.751.2018.02.22.04.57.50; Thu, 22 Feb 2018 04:58:05 -0800 (PST) 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=fS6/uFFv; 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 S932292AbeBVM5L (ORCPT + 99 others); Thu, 22 Feb 2018 07:57:11 -0500 Received: from mail-io0-f195.google.com ([209.85.223.195]:44528 "EHLO mail-io0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753750AbeBVM5I (ORCPT ); Thu, 22 Feb 2018 07:57:08 -0500 Received: by mail-io0-f195.google.com with SMTP id z6so5904756iob.11 for ; Thu, 22 Feb 2018 04:57:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=bMDYYXtBX2gT0toMy6q4ofbfjRTwN/HgrkGMHBIOJOA=; b=fS6/uFFve9GohgU8LgLXsKwlXNxa8zWV1EuF6idO5wpT0ECaFAmkk6CZ+J5WSh/7WX wxqVBP1a825Tto37wyFOvpz5B+ti5TKfrFK+uO5wx7qsWqFk2DalLEYKDYZ0zjIiwWWt VFBQLzkJOq/H0i+lWfeU2lGWHasz/fJohGimA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=bMDYYXtBX2gT0toMy6q4ofbfjRTwN/HgrkGMHBIOJOA=; b=KgxPloMbPel+697kF4oW+BG/5cUZT6jTIF4iYCxoppkENlzHTOmCBnH7sVocqwjs7w RFQEEhGJp7Yh8YwNNc6svmx2aXnEw2aeFIGmm8TebZOAmvPest/ASJNmMbh6J2s2AQ0A 0InBghdOZULm17euq0h1F45ed+VeObXBczK6Oo4mxlQB1Yfd30Lx+JMchJFSSNttqT0H IZIhByY3eBPXMp8AmdgjfjJumyF9iF6vIGHBcEuUM613uMj/gZA5iM8c+LwYULLZyiYf cYFXU+Op0+Ph38ivEXw3JuqyJIqqkXJ/cYK5HNRliNNSxR6mnw5fNHpnU3ned82xk8zK Cd1w== X-Gm-Message-State: APf1xPAQeqbgAH3KVe6Iqkfre5g6O/wEQC+vEFVZjVj9BvjBg0VuT6VL +B3cfW8E8YQKxh9dwe8GijP4TcnsJPncViTgUWEevA== X-Received: by 10.107.158.147 with SMTP id h141mr8461752ioe.175.1519304228128; Thu, 22 Feb 2018 04:57:08 -0800 (PST) MIME-Version: 1.0 Received: by 10.79.230.25 with HTTP; Thu, 22 Feb 2018 04:57:07 -0800 (PST) In-Reply-To: <20180209120732.17863-3-j.neuschaefer@gmx.net> References: <20180209120732.17863-1-j.neuschaefer@gmx.net> <20180209120732.17863-3-j.neuschaefer@gmx.net> From: Linus Walleij Date: Thu, 22 Feb 2018 13:57:07 +0100 Message-ID: Subject: Re: [PATCH v3 2/4] gpio: Add GPIO driver for Nintendo Wii To: =?UTF-8?Q?Jonathan_Neusch=C3=A4fer?= Cc: "linux-kernel@vger.kernel.org" , Joel Stanley , "linuxppc-dev@lists.ozlabs.org list" , linux-gpio@vger.kernel.org, "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Albert Herranz , Segher Boessenkool Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 9, 2018 at 1:07 PM, Jonathan Neusch=C3=A4fer wrote: > The Nintendo Wii's chipset (called "Hollywood") has a GPIO controller > that supports a configurable number of pins (up to 32), interrupts, and > some special mechanisms to share the controller between the system's > security processor (an ARM926) and the PowerPC CPU. Pin multiplexing is > not supported. > > This patch adds a basic driver for this GPIO controller. Interrupt > support will come in a later patch. > > This patch is based on code developed by Albert Herranz and the GameCube > Linux Team, file arch/powerpc/platforms/embedded6xx/hlwd-gpio.c, > available at https://github.com/DeltaResero/GC-Wii-Linux-Kernels, but > has grown quite dissimilar. > > Signed-off-by: Jonathan Neusch=C3=A4fer > Cc: Albert Herranz > Cc: Segher Boessenkool > <--- > > v3: > - Do some style cleanups, as suggest by Andy Shevchenko Patch applied to the GPIO tree for v4.17 with all the review tags. I just folded the changelog into the commit message, for new drivers it is sometimes useful to keep these around in git actually. If any further changes are needed we can just patch on top of this. It's a very pretty driver, good work! Yours, Linus Walleij