Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp3714913iog; Tue, 21 Jun 2022 04:36:00 -0700 (PDT) X-Google-Smtp-Source: AGRyM1spGBHhDCAA+7mAOP/zBl0hXFhnuMGTc0/mJOeKnY6P2Qr6jIIiioNPFFQTnspqielxsE66 X-Received: by 2002:a65:6745:0:b0:3fd:fd52:85bc with SMTP id c5-20020a656745000000b003fdfd5285bcmr25971001pgu.350.1655811360656; Tue, 21 Jun 2022 04:36:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655811360; cv=none; d=google.com; s=arc-20160816; b=OYKGBTvLlbp6UP+FlPfauAQVgokrKMs+OFflkhmkU0Y0kNYDtMyf/5Qjch1bpl8b0X Di2KTFkm4yn7uwW7+3xJ3xHpateUY7P+FwBuMkA49tSFhowGAXtaJTAY4j8KswBfOkaJ WFyeHLdt1ff1icuti/EZM0RGykFhzaXhmnctiGMBdTBnZWEfv3g7tH369pcYzgd3zq1G GwE2n/p6b5XRFZOjR7wdGBuf9H/Q51sOe6fJZDfURhPaVmsfT4uvM8rnL90WhSHTxkOa Rv6iyHYli9TwpW65z+epI8yW/eBU0TT4b9KfxFnGicpAgqDU83oayIlcTWMn1HL1vrfo JczA== 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:dkim-signature; bh=H3pfG6ncEe8j2NTCEWsSik6FNJ+rzYtpJd/lCG81Lbo=; b=aV+lM5ZVMIGInTklU7QzT2eUbezXIW0lATnznTTzs3WO0/1tKZWJtu0x73Gde/jRlb iyHRkp+R6oyehA2bwLAnLcFbB3FHx13Zl9JVuteeQelMiFF0uW7tXKO9gtDP4bOYe7tt 4IcPoQQcEQzi9RhHLErXOy5AKJN/ellMaqjZTToOQxKQnKSA5NuIoArCpXAcQ2vstBpB AYsZttMTMcw2upKBg3+5Zu7hdqTCmOew0lRZD8Dbn+icrD39WfXazGid8LQfLaCwF/mY DC2EbfW+asGcwdzyf/B3X8F7emKWD90WDhVai9Cny9+XIYdmoZg8A53y9S6eq/as1eAf tXlw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ouX9z8GW; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f5-20020a637545000000b00408c39ff9b8si19290884pgn.324.2022.06.21.04.35.38; Tue, 21 Jun 2022 04:36:00 -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=@gmail.com header.s=20210112 header.b=ouX9z8GW; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348740AbiFULGv (ORCPT + 99 others); Tue, 21 Jun 2022 07:06:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55272 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348730AbiFULGu (ORCPT ); Tue, 21 Jun 2022 07:06:50 -0400 Received: from mail-pl1-x62f.google.com (mail-pl1-x62f.google.com [IPv6:2607:f8b0:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 77AEF29C8D; Tue, 21 Jun 2022 04:06:49 -0700 (PDT) Received: by mail-pl1-x62f.google.com with SMTP id m14so12199846plg.5; Tue, 21 Jun 2022 04:06:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=H3pfG6ncEe8j2NTCEWsSik6FNJ+rzYtpJd/lCG81Lbo=; b=ouX9z8GWqIHqXlaWOwE1dVudTSH6cFc1fNrG7Li0J1puaUb7wVVUPYVDBTY/kuyd4+ Q8pF6R+fA87fOA90C2fhmeoGWnzk3HUa2ZiJfkCrjYKHPSwsyLYfyYC+c6nAwGc69FnP ErjXlh3Y0+xltLGQCno8htwE7WU8AH0pQinElhBxZQlaxZxqn/fxF4SvefKVjVNziqsS GzSLLF5n79kTDsEZxRr4zBgZAhMHSEHvMQ4UyWcqBCsZrrZqfyjmJMMA77qo6F6zD6ZV R2Fecb6UL25DKZ+y5u62FHWFFXOH5ma0cT9FmYI6GmIebpkQhfe+nBiBt3B2jMNN6yRm 0a5g== 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=H3pfG6ncEe8j2NTCEWsSik6FNJ+rzYtpJd/lCG81Lbo=; b=CPE/bLXCGqSiHK4szpJKLAOKlGNO0gaIjJ/uZCFuLn4xxr1Zg9DjXnJbyJ+DuQDXqM /44uTgpRFNjiSc3ym5DOKdKfs4SBcWr6kKA35LBKVR66ak+8RyB/EhWuRVxiL53LS4dc kZKsxPYd5YJx+6RMQ3ZQvxGUXeib6TiV3rIbGduknH6uhduWOU+eEGz+JX0XWKt+ffHs m8UaEp+G6+FrYuICDoFU9V7jXVz0wOjg/v5kLIByI7oHDooFXCjMU6H2VBCjKQ6fYXq+ 09ofn/tC2x7CPfnBYLB+iFxJ2Y8EBx2LsOG97eQsCZP6dit9QqUgvco4aoMnvwV6o5oR /AMQ== X-Gm-Message-State: AJIora9Vpw2iK3R55yjnuDolOiMAUphGGXP/5Sq91LiK951+yHjKD6v0 Q0IaL2uzFnSP9tCSF5YY2JIHSZHFQxDS+wAnzcA= X-Received: by 2002:a17:90a:cb84:b0:1ea:ffd2:3075 with SMTP id a4-20020a17090acb8400b001eaffd23075mr28581043pju.106.1655809608927; Tue, 21 Jun 2022 04:06:48 -0700 (PDT) MIME-Version: 1.0 References: <20220530173324.921-1-andriy.shevchenko@linux.intel.com> In-Reply-To: From: Fabio Estevam Date: Tue, 21 Jun 2022 08:06:37 -0300 Message-ID: Subject: Re: [PATCH v1 1/1] iio: adc: mxs-lradc-adc: Get rid of OF specifics To: Andy Shevchenko Cc: Ksenija Stanojevic , Marek Vasut , linux-iio@vger.kernel.org, "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , linux-kernel , Jonathan Cameron , Lars-Peter Clausen , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , NXP Linux Team Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,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 Hi Andy, On Tue, Jun 21, 2022 at 8:00 AM Andy Shevchenko wrote: > > On Mon, Jun 20, 2022 at 06:13:53PM -0300, Fabio Estevam wrote: > > On Mon, May 30, 2022 at 2:33 PM Andy Shevchenko > > wrote: > > ... > > > I tried to apply the same change inside > > drivers/input/touchscreen/mxs-lradc-ts.c: > > > > --- a/drivers/input/touchscreen/mxs-lradc-ts.c > > +++ b/drivers/input/touchscreen/mxs-lradc-ts.c > > @@ -675,11 +675,9 @@ static int mxs_lradc_ts_probe(struct platform_device *pdev) > > if (irq < 0) > > return irq; > > > > - virq = irq_of_parse_and_map(node, irq); > > - > > mxs_lradc_ts_stop(ts); > > > > - ret = devm_request_irq(dev, virq, > > + ret = devm_request_irq(dev, irq, > > mxs_lradc_ts_handle_irq, > > 0, mxs_lradc_ts_irq_names[i], ts); > > if (ret) > > > > but I still get the following warning: > > So just to be sure. You got it before the above change applied, correct? Correct. This warning is an old one. See: https://lore.kernel.org/all/20200701224145.GA3616172@bjorn-Precision-5520/T/ > I'm wondering how this all LRADC was supposed to work. The IRQs are assigned > based on abstract numbering without any IRQ domain behind it. This is not how > it's designed in Linux. Adding Ksenija and Marek to shed a light.