Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp4792868ioo; Tue, 31 May 2022 11:43:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxt3IOstCNkvnmCbIZ8gOu/Xtj7c+3k6Xq8hqhl8mZwyH5TqQFFTtuKdgMPxpTCqmpGy6ne X-Received: by 2002:a05:6402:348f:b0:42b:505a:4ef9 with SMTP id v15-20020a056402348f00b0042b505a4ef9mr51909528edc.66.1654022596335; Tue, 31 May 2022 11:43:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654022596; cv=none; d=google.com; s=arc-20160816; b=gu8BivG6qmVpCJOKHXtJldVgELWlsK3QdjTaTGplr/vl2WruKuWfCzJVY/4CEthvTG RrbbnSejsA+03hFCErhgUw+wGiyF5f6jGMbaQEl6NYN6oa9sLzSGQX96buw3YyH6EPuY N2Mf0VC2crzwxZ1A9yehZc+hXCeQHjhGepdzhsvGWIGlCG02+1tokxoNoBppAeieglpA Rg7KbSt3bjPIHyggTY92/BtGxDOdOk8/paFV9n1oCjcOaqZUYb3lquJWa/A5LIFHQA0x 9S9vV7a5mAziY+tKWHYzCWn0VAqDL/vg4f8bA48orr8kNYpYAGlIVwwVetrxM2dQhtKM TFYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=MCE74GR5cd4AP/uMh3B09r7w3iqnVZmjXLrGDc0ll4E=; b=IpCvWnGs+dpvMIfpedKbQqP/vaT24FeOavvhA9QLR03hOXoHhh0L4ry8bFi+j8zEPs ncZb42Yxpvyuighr9VpswTzbCW9mjcw7wJYLoy/neGp5rJseC7hNB4tNjpu8AfIZM6T6 aLMsn0K2sTEzabSiyu95w+RCNW65z/aSNoym1Sa5B+Imh1r1JbbsyL6Y38bZf9CYbp6V 1bYQEIwoAniVRakbPnOY/VydTWTVqLFOyn0FERerv0sKDzkm06oJnM2f/H1WWgqxcf0D nSNunY2MUmc9VJoUgb4sC6oSi72EIaJrsFfDz3srZHpInleG73ldyIEsgNY0f56eDB3s 2KuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=Sp8gIrzZ; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c10-20020a170906340a00b006ff073403ebsi12553985ejb.677.2022.05.31.11.42.50; Tue, 31 May 2022 11:43:16 -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=@infradead.org header.s=desiato.20200630 header.b=Sp8gIrzZ; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243532AbiEaCOn (ORCPT + 99 others); Mon, 30 May 2022 22:14:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35166 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234705AbiEaCOl (ORCPT ); Mon, 30 May 2022 22:14:41 -0400 Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A37BE77F22; Mon, 30 May 2022 19:14:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:Content-Type :In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date:Message-ID: Sender:Reply-To:Content-ID:Content-Description; bh=MCE74GR5cd4AP/uMh3B09r7w3iqnVZmjXLrGDc0ll4E=; b=Sp8gIrzZmwjlDwR5gLvzxZlTob 3lUWElXFB0MMLAjtHo29QD2GCLRRwCdl40feohIHVpqAzHw55Car5/w/8M8myyGDnOu/0tPhIKafr LaM26tWBClui7FElSgXvJXAWHOMY2j99Nkfo7OvaL/EPBKk+Ae9aHG4irS4Xh8P11o/ZTR0PvZlIS qeIDZOaKwogWNJXWBLOzB8Jfasoj5siKHrCpxTCEUmnK0hM1fcR1M7ElGdev7Ur34ytz5MPozWF3Q yHwlZnY9JxNSR9Gad/8mD20qOcH4PQLW4Zj8Q7JFaZA8jWWuxz/t+iehITJIlfud8+Ym5mtV7a0AX iPQ/N86w==; Received: from [2601:1c0:6280:3f0::aa0b] by desiato.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1nvrOx-003F1K-W7; Tue, 31 May 2022 02:14:32 +0000 Message-ID: Date: Mon, 30 May 2022 19:14:23 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: [PATCH v9 2/6] drivers/input/joystick: sensehat: Raspberry Pi Sense HAT joystick driver Content-Language: en-US To: Dmitry Torokhov Cc: Charles Mirabile , linux-kernel@vger.kernel.org, Serge Schneider , Stefan Wahren , Nicolas Saenz Julienne , Mattias Brugger , linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, fedora-rpi@googlegroups.com, linux-input@vger.kernel.org, Daniel Bauman , Mwesigwa Guma , Joel Savitz References: <20220419205158.28088-1-cmirabil@redhat.com> <20220419205158.28088-3-cmirabil@redhat.com> From: Randy Dunlap In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE,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 5/30/22 18:57, Dmitry Torokhov wrote: > Hi Randy, > > On Mon, May 30, 2022 at 06:26:26PM -0700, Randy Dunlap wrote: >> Hi-- >> >> On 4/19/22 13:51, Charles Mirabile wrote: >>> diff --git a/drivers/input/joystick/Kconfig b/drivers/input/joystick/Kconfig >>> index 3b23078bc7b5..505a032e2786 100644 >>> --- a/drivers/input/joystick/Kconfig >>> +++ b/drivers/input/joystick/Kconfig >>> @@ -399,4 +399,15 @@ config JOYSTICK_N64 >>> Say Y here if you want enable support for the four >>> built-in controller ports on the Nintendo 64 console. >>> >>> +config JOYSTICK_SENSEHAT >>> + tristate "Raspberry Pi Sense HAT joystick" >>> + depends on INPUT && I2C >>> + select MFD_SIMPLE_MFD_I2C >> >> Looks like this also needs >> depends on HAS_IOMEM >> >> since everything in drivers/mfd/Kconfig depends on HAS_IOMEM and >> since this 'select' causes a kconfig warning when HAS_IOMEM is not set: >> >> WARNING: unmet direct dependencies detected for MFD_SIMPLE_MFD_I2C >> Depends on [n]: HAS_IOMEM [=n] && I2C [=y] >> Selected by [y]: >> - JOYSTICK_SENSEHAT [=y] && INPUT_JOYSTICK [=y] && INPUT [=y] && I2C [=y] > > Do you mind sending a patch? OK, will do. -- ~Randy