Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp4090279pxb; Mon, 4 Oct 2021 17:16:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxZW3Lby5i2pkFIOeDz6M/5Q98kZI7z82i9YKcZm0+X19HscJIGvT78Xjhs6BR37o5JB4Nw X-Received: by 2002:a17:902:b102:b0:134:a329:c2f8 with SMTP id q2-20020a170902b10200b00134a329c2f8mr2331862plr.71.1633393010500; Mon, 04 Oct 2021 17:16:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633393010; cv=none; d=google.com; s=arc-20160816; b=dz8bSBWEh8o1WGHee+rx9s25w+stmYjnD9pi+ioqvYdToZZ0yXFcl5H+nkFyM/xC/W Sch0rdHVbPa5ZSbJ75oBwGnHcKfnGHJWVcF42rs71pd2O16A4DYggF84d2Cmyq8YCjnS XSgLQnaGJohXA18hwmpLRfOCOd2mIw7i8X0tR64H4mis5XqSq6t1ZcwNpR6i8NvjwECb EoiFP5JKEk69SZtB9sST3GCBjgybV3QDIle7q3rZ1Hp3+ZmPtFxNq9Os3JioOnG2kL2s 9m2MyzopsmxMJhuBrdgXwMzdtVTJQ5VLkXsVrf5q32u1lPztT3FS2rATjms2ibyCveu1 Efdw== 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; bh=/cIKwqiiuLgobXDQ2FDfJfThXFQMEGwTN5ZwOTn9O4c=; b=YW2ih9DVsxJIpebO3iTLYlmhzVsJUPaoGIl/XLkf1N+MNo2nq576KoP8FlC8G2WdSD VwFI7EYJhr+GQ47h15lNegD5l0t2csINJrRAOckb+GqBL07yUfYwcunHpV/iWwBWEGd0 GVIgljAH9wqKHgvFNOtoSsvOMmjQSH+EwJYNyl+4sak22/ROXKIhhCweXxL5lHh8z7g0 1jCt427z7H5ZkCzcDPT9o6rQ9xvJBWaqrEUH4ZLu1rZxBKTXnBFVUVqTldUdBJxuM46C iyMulnS6sKFXCjyfkxaj+nXNpx1tJDVJoSg7gdfIkoe1ODnGTyMuKyX0qsAdZ7f08LX2 p3WQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e10si47128pjs.107.2021.10.04.17.16.37; Mon, 04 Oct 2021 17:16:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238289AbhJDRSF (ORCPT + 99 others); Mon, 4 Oct 2021 13:18:05 -0400 Received: from mail-vs1-f44.google.com ([209.85.217.44]:38880 "EHLO mail-vs1-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233446AbhJDRSE (ORCPT ); Mon, 4 Oct 2021 13:18:04 -0400 Received: by mail-vs1-f44.google.com with SMTP id y141so4802845vsy.5; Mon, 04 Oct 2021 10:16:15 -0700 (PDT) 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=/cIKwqiiuLgobXDQ2FDfJfThXFQMEGwTN5ZwOTn9O4c=; b=pQ4iaKDNP+C76ASPJ2mNlCnDlix1tg5tvrHS3GvszQjLs03q47lolUVyHOsEcux8pb qTVmxfw+2rQIgYxAWauzoUgPFJ2+6k2aUDcApDf7D0P1KMsvxYAusx9oX/HnoHAIQojP IMd3iv6wNA1iZPZWe0Z0s2RueHGBQTwAhV2GK0gpIEXgqD5JMNC3Ccsck0ksheTG3o2t i4jNcFf/E3raLQNKNIqaCHoyUEkPMnUZlEzeVD7LfVi6CrnKLXtQp0VwshXmwGtzp/xX B3r8cYKH98L8taa9sTz/QLQegdb4GWG85eRNs6/3naEDFpNfmb+P9adh1ogvR5G9GZLr mQ4w== X-Gm-Message-State: AOAM533OFF1PJzZqhDPtV1AS6vCsilbXlb5xnkemZ2x63igvuRDiY6MF V8hizUAykX+p9OtrDzU6FWhPeSc/x/x2XAN8mFA= X-Received: by 2002:a67:c295:: with SMTP id k21mr11443962vsj.37.1633367774534; Mon, 04 Oct 2021 10:16:14 -0700 (PDT) MIME-Version: 1.0 References: <20210304034141.7062-1-brad@pensando.io> <20210304034141.7062-2-brad@pensando.io> In-Reply-To: From: Geert Uytterhoeven Date: Mon, 4 Oct 2021 19:16:03 +0200 Message-ID: Subject: Re: [PATCH 1/8] gpio: Add Elba SoC gpio driver for spi cs control To: Brad Larson Cc: Andy Shevchenko , linux-arm Mailing List , Arnd Bergmann , Linus Walleij , Bartosz Golaszewski , Mark Brown , Serge Semin , Adrian Hunter , Ulf Hansson , Olof Johansson , "open list:GPIO SUBSYSTEM" , linux-spi , linux-mmc , devicetree , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Brad, On Mon, Oct 4, 2021 at 7:14 PM Brad Larson wrote: > On Mon, Aug 23, 2021 at 1:11 PM Geert Uytterhoeven wrote: > > On Mon, Aug 23, 2021 at 6:31 PM Brad Larson wrote: > > > On Mon, Aug 23, 2021 at 12:50 AM Geert Uytterhoeven > > > wrote: > > > > On Mon, Aug 23, 2021 at 3:14 AM Brad Larson wrote: > > > > > On Mon, Mar 29, 2021 at 3:40 AM Andy Shevchenko > > > [...] > > > > > Regarding the above module question and Kconfig definition, since I > > > > > first looked at this and reviewed the comments I realized I should be > > > > > using builtin. The file gpio/Kconfig is currently this > > > > > > > > > > config GPIO_ELBA_SPICS > > > > > def_bool y > > > > > depends on ARCH_PENSANDO_ELBA_SOC || COMPILE_TEST > > > > > > > > That means the driver will default to yes by merely enabling > > > > COMPILE_TEST, which is a no-go. > > > > > > > > config GPIO_ELBA_SPICS > > > > bool "one-line summary" > > > > depends on ARCH_PENSANDO_ELBA_SOC || COMPILE_TEST > > > > default y if ARCH_PENSANDO_ELBA_SOC > > > > > > Thanks Geert, changed to this > > > > > > --- a/drivers/gpio/Kconfig > > > +++ b/drivers/gpio/Kconfig > > > @@ -241,8 +241,9 @@ config GPIO_EIC_SPRD > > > Say yes here to support Spreadtrum EIC device. > > > > > > config GPIO_ELBA_SPICS > > > + bool "Pensando Elba SoC SPI Chip Select as GPIO support" > > > + depends on ARCH_PENSANDO_ELBA_SOC > > > def_bool y > > > - depends on ARCH_PENSANDO_ELBA_SOC || COMPILE_TEST > > > > So we're losing the COMPILE_TEST ability again? > > > > Hi Geert, > > The gpio-elba-spics.c driver is being deleted with the spi chip-select > control integrated into spi-dw-mmio.c. The GPIO_ELBA_SPICS config > option goes away and fixes my breakage of COMPILE_TEST. OK. Thanks for the follow-up. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds