Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp841597pxu; Mon, 23 Nov 2020 05:39:11 -0800 (PST) X-Google-Smtp-Source: ABdhPJyDkPkkv/wBXUu/bBmwBRFVcwrNQOQAFzHdd1Dn1EeREmc7jWGOPpT9ljr183St0fm+k1K9 X-Received: by 2002:a17:906:b14e:: with SMTP id bt14mr12579870ejb.226.1606138751177; Mon, 23 Nov 2020 05:39:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606138751; cv=none; d=google.com; s=arc-20160816; b=UxoeoK+PUZNmWdUDikOhkvMAMWHPzUOHeKLZuao6iMITr1DMZ7lCyt8Voewbpv8Vug sfbsN9MNT0l+FHrNAhdisG/d1UKDRAp+shOj1pOTseeOLR79XKjUGZmMOVnBb4KkhTRr Yy5ItU3ADqhrW4yG0fq5PKHwLR4Q4LXoS5AuUBhmYk9fbjc0Y6f/ofZm6vJS829e5gyt E8GGq+dp1/9KA0WYjY1q5dByouim8YlHuXzEq/Wibt7Snb0mKRIyw3JJ50fmF/Lorab7 hCUEuoFzIqBK7+Xz9PJWkCM0CxQteUYwcx/thJeR32KWZdmjcuxxaK0Emd6hgo26OfqD JdFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :ironport-sdr:ironport-sdr; bh=7M7g/hWWQQw9AdxSM+If69PmazxohlzjWx17BTXzUbY=; b=ijok8EG9H2dRP7n1K/iZeVh2R5sX97y14XVsjkiXoCHcE7PPdUiLjotZ8A4l/cyfti 1IlMGOxHe8Hn1MVcwrZwidYQDKhMdsMxyPY2hKA7KcKpnJpKVqNn4+7f3Z2CI3Z2863I v2uJf9h5WnytWe4iDCUh+5QBQdkp+UAd/59vh0E3m8Rc28XAtDBmileWv1MfvfoPBke9 2qbkuGZumPlFyxWH5DP1Y7VzBB61k5+a4j6OfyIgefByKdwk8dC9aa23mInPMtWeopHD a0+Z7nWC7NmaicPqJ6kzxi9WI+HB/VlxKBSkOoyUzDGJvGXZHAPg7p1x3aC/AcYdy7wN asbQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m1si6349001ejr.515.2020.11.23.05.38.48; Mon, 23 Nov 2020 05:39:11 -0800 (PST) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730100AbgKWNgX (ORCPT + 99 others); Mon, 23 Nov 2020 08:36:23 -0500 Received: from mga12.intel.com ([192.55.52.136]:46498 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729668AbgKWNgX (ORCPT ); Mon, 23 Nov 2020 08:36:23 -0500 IronPort-SDR: 1pGNM4oYwuHWWP+SYRMkgSV4Cbd0SokWLwjTCYrGWZotA90DJM2/p0pHWUzRWskPHq3hvYbE+q 1lDs3e7ITBfA== X-IronPort-AV: E=McAfee;i="6000,8403,9813"; a="151024606" X-IronPort-AV: E=Sophos;i="5.78,363,1599548400"; d="scan'208";a="151024606" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Nov 2020 05:36:19 -0800 IronPort-SDR: nOpHYPE1Ps+sD//qvHZB+kOkzAf0ggyFf0zyMHjLnheTo8RlWRveCL12v6MiUVsjjx/JaamCRc COgZgumuPwaQ== X-IronPort-AV: E=Sophos;i="5.78,363,1599548400"; d="scan'208";a="342810712" Received: from smile.fi.intel.com (HELO smile) ([10.237.68.40]) by orsmga002-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Nov 2020 05:36:17 -0800 Received: from andy by smile with local (Exim 4.94) (envelope-from ) id 1khC1u-009ANP-VL; Mon, 23 Nov 2020 15:37:18 +0200 Date: Mon, 23 Nov 2020 15:37:18 +0200 From: Andy Shevchenko To: Jan Kiszka Cc: Bartosz Golaszewski , Linus Walleij , David Laight , "open list:GPIO SUBSYSTEM" , Linux Kernel Mailing List , Bartosz Golaszewski Subject: Re: [PATCH v5 0/7] gpio: exar: refactor the driver Message-ID: <20201123133718.GD4077@smile.fi.intel.com> References: <20201116104242.19907-1-brgl@bgdev.pl> <86bf5fda-eeb5-5cb2-901f-a887af7584f6@siemens.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 23, 2020 at 01:57:07PM +0100, Jan Kiszka wrote: > On 23.11.20 13:12, Bartosz Golaszewski wrote: > > Thanks!On Mon, Nov 23, 2020 at 1:03 PM Jan Kiszka > > wrote: > >> > >> On 23.11.20 12:38, Bartosz Golaszewski wrote: > >>> On Mon, Nov 16, 2020 at 11:42 AM Bartosz Golaszewski wrote: > >>>> > >>>> From: Bartosz Golaszewski > >>>> > >>>> I just wanted to convert the driver to using simpler IDA API but ended up > >>>> quickly converting it to using regmap. Unfortunately I don't have the HW > >>>> to test it so marking the patches that introduce functional change as RFT > >>>> and Cc'ing the original author. > >>>> > >>> > >>> Hi Jan! > >>> > >>> Could you give this last version a final spin before I merge it? > >>> > >> > >> [ 14.250117] exar_serial 0000:02:00.0: enabling device (0000 -> 0002) > >> [ 14.336622] 0000:02:00.0: ttyS2 at MMIO 0x90000000 (irq = 44, base_baud = 7812500) is a XR17V35X > >> [ 14.391588] 0000:02:00.0: ttyS3 at MMIO 0x90000400 (irq = 44, base_baud = 7812500) is a XR17V35X > >> [ 19.250510] gpio_exar: probe of gpio_exar.1.auto failed with error -22 > >> > >> That's "new"... > >> > > > > And if you change reg_bits from 11 to 16? > > > > 16 works. Didn't we have that already? Yes, but it puzzles me what the idea behind it and don't we see the regmap issue here. In any case, I'm fine with 16 there, although it's not clear to me why 11 is not working... -- With Best Regards, Andy Shevchenko