Received: by 2002:aa6:c429:0:b029:98:93ff:f56f with SMTP id g9csp3408047lkq; Mon, 23 Nov 2020 05:03:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJz5vQ1jgSNWvox3738OdAIq6pDk/gTdUbU/0ZOnFlcHvbeyR4GSbW7bo4Qt/ndQpHcLMJFS X-Received: by 2002:aa7:de01:: with SMTP id h1mr46449008edv.269.1606136630738; Mon, 23 Nov 2020 05:03:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606136630; cv=none; d=google.com; s=arc-20160816; b=hv2u0I+0XflYlV1Dl0wbkdOFWfLwco5DTB+rLT5zlnlcBNByr6OtQtLrpG1CQtf/iL zob6Kn324OnD8QwpcZor0169/qh8gMaxS2eOpER7R+/e8gCMp9IuAYenYIz8exo8M/eH WTppYHTKRp5cEBw9VQIg9tL82F1RxxLYnIhQhmszBe0G8z1ObpIUbsFqfl5CI4IGkNBh E418rcJWbp4HJxeqHm0zDGpIOgPfFElZkPYBOKRHC7w03etvkRIf/Z7aRa2/JdNpQghL Wh/lKKV6OHiiZUmkkDxLoJMFuW+zS0yROHwBKVm8dFNw0DIvvbJTxJwJJoklob9dYmqN 9YPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=fgbz5yBTlfSqkfGINgr4kEm+mLGvXjg4joXTEb3JC9o=; b=ZRP9NodYmxCvljY5yC+z63WWe6EW0FgLvvU0ohOzdJDlIzK8fMalhMzirO/8dY0eYr C6KxPfksMVRKU20tOanv90OxkW1v7fsUkpRkroo64ggQ++4PUAcoR/UUjvcQ6jJcXaDR ndcdkxQ68RRU/DjEZJDIcywgmBstyaJjrtnSgzd++xZuH+29SCz4/UyeayZiKQsCbr4A jgWooEj8GMqaHIZzCNV/pwlIan4FJiuQ5nwvYND0PHFPG9i/UWuEkKc1qqqcidR9fXGV /DCbeYWSz7G8I+0nCD1igITjw0m3IxwB78lo/OW6fT5Rbkv9LPTS4pZMzgyY8kieGPyg cxdw== 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=siemens.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q4si6217125edb.455.2020.11.23.05.03.26; Mon, 23 Nov 2020 05:03:50 -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=siemens.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388150AbgKWM73 (ORCPT + 99 others); Mon, 23 Nov 2020 07:59:29 -0500 Received: from lizzard.sbs.de ([194.138.37.39]:34564 "EHLO lizzard.sbs.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388053AbgKWM51 (ORCPT ); Mon, 23 Nov 2020 07:57:27 -0500 Received: from mail2.sbs.de (mail2.sbs.de [192.129.41.66]) by lizzard.sbs.de (8.15.2/8.15.2) with ESMTPS id 0ANCv91C001016 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 23 Nov 2020 13:57:09 +0100 Received: from [167.87.38.29] ([167.87.38.29]) by mail2.sbs.de (8.15.2/8.15.2) with ESMTP id 0ANCv78F003158; Mon, 23 Nov 2020 13:57:07 +0100 Subject: Re: [PATCH v5 0/7] gpio: exar: refactor the driver To: Bartosz Golaszewski Cc: Linus Walleij , Andy Shevchenko , David Laight , "open list:GPIO SUBSYSTEM" , Linux Kernel Mailing List , Bartosz Golaszewski References: <20201116104242.19907-1-brgl@bgdev.pl> <86bf5fda-eeb5-5cb2-901f-a887af7584f6@siemens.com> From: Jan Kiszka Message-ID: Date: Mon, 23 Nov 2020 13:57:07 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? Jan -- Siemens AG, T RDA IOT Corporate Competence Center Embedded Linux