From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.9 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id AC00FC10DCE for ; Thu, 12 Mar 2020 13:58:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 81E0C206E7 for ; Thu, 12 Mar 2020 13:58:46 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="rXeKEapu" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727179AbgCLN6p (ORCPT ); Thu, 12 Mar 2020 09:58:45 -0400 Received: from mail-vs1-f68.google.com ([209.85.217.68]:41537 "EHLO mail-vs1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726641AbgCLN6p (ORCPT ); Thu, 12 Mar 2020 09:58:45 -0400 Received: by mail-vs1-f68.google.com with SMTP id k188so3708269vsc.8 for ; Thu, 12 Mar 2020 06:58:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Fx0Vi5pKlEASKxiQYrtyhfY8y0s7akeECkpZVrG32d8=; b=rXeKEapu6I/a+Rkozky+mQZ4L6h8ZEabo168RsNPZzBmC9GIm9krfQfUmMz+0tlj+5 FFQSg+3rQjPNnQx+goAU0Xu6wc/hBSdDv9f3bAxKMAaXvTsgwH+9dfcpUj1UQ+KnK8bL s+xcmFDOmTp5fctcsFgIoCLgX41e9Dahfpif6O7BmLRAO7wKpQxqFruLhdOFuZS0KK7G 4vwuV5SyhZq3Oi5+eh4mUNulzObGO+/4DROaCHW+9bixq29Dd5YCMJYRJTd9mlGKR6su DnK59NycxKsurK7Xsf+cJvdr4arFyZ0gVIyCElzxc6Kv116ZZSb+BCVydxFmAaYl+DK8 Tspw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Fx0Vi5pKlEASKxiQYrtyhfY8y0s7akeECkpZVrG32d8=; b=ZNxOx5YUapYfM44W7ZAdckEjDXPb5MY98Ipwtzx4pvlmfF98pFjLBI4d7/KCFC5KpW cKPthlYu6aOedByC+atGGL2Nhhyj+AlN0dF5p0gRMJnNB5kdxA8QrRHnAcBqJkKasBUp KP4Ye+vOJ5yEufBQYQ2Ask78zCWy24BlmbsTNOlqf6PzdXqIzhawmerCRsAkrdxvIaul CIwHZ6HDQtevrSgqSalYZy6C0Wz0VB/2Rg0wRRRIpqJ1iTNbJigSekMn1ed+VDV7Rp0o oylU7DYqymx1hqHEcV2onBf9jcGUhXru+eMLybcRVlDH6/XVWtHJLxrMaJpNvXjmALJ4 CcRg== X-Gm-Message-State: ANhLgQ1OVQ0JeIU6Uf0H0GnRBACrJM8snwkLGUYD4S94uIRjE1INZrgD FHyD2fvpE/O9UNa1qbF7u9tKb9IlJHyU0ROsM5gGZQ== X-Google-Smtp-Source: ADFU+vvN/wcPPKIp5PaHkQBwl2RN9Ra1c1araaS1iOkyVaJDdcWSos4k3JEL50Yj40BdEIJrwcCNCVArAYW0s3YRVCU= X-Received: by 2002:a67:cb84:: with SMTP id h4mr5422265vsl.85.1584021524408; Thu, 12 Mar 2020 06:58:44 -0700 (PDT) MIME-Version: 1.0 References: <20200306132505.8D3B88030795@mail.baikalelectronics.ru> In-Reply-To: <20200306132505.8D3B88030795@mail.baikalelectronics.ru> From: Linus Walleij Date: Thu, 12 Mar 2020 14:58:33 +0100 Message-ID: Subject: Re: [PATCH 0/4] gpio: dwapb: Fix reference clocks usage To: Sergey.Semin@baikalelectronics.ru Cc: Serge Semin , Alexey Malahov , Maxim Kaurkin , Pavel Parkhomenko , Ramil Zaripov , Ekaterina Skachko , Vadim Vlasov , Thomas Bogendoerfer , Paul Burton , Ralf Baechle , Hoan Tran , Bartosz Golaszewski , Philipp Zabel , Rob Herring , Mark Rutland , "open list:GPIO SUBSYSTEM" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On Fri, Mar 6, 2020 at 2:25 PM wrote: > From: Serge Semin > > There is no need in any fixes to have the Baikal-T1 SoC DW GPIO controllers > supported by the kernel DW APB GPIO driver. It works for them just fine with > no modifications. But still there is a room for optimizations there. > > First of all as it tends to be traditional for all Baikal-T1 SoC related > patchset we replaced the legacy plain text-based dt-binding file with > yaml-based one. Baikal-T1 DW GPIO port A supports a debounce functionality, > but in order to use it the corresponding reference clock must be enabled. > We added support of that clock in the driver and made sure the dt-bindings > had its declaration. In addition seeing both APB and debounce reference > clocks are optional, we replaced the standard devm_clk_get() usage with > the function of optional clocks acquisition. > > This patchset is rebased and tested on the mainline Linux kernel 5.6-rc4: > commit 98d54f81e36b ("Linux 5.6-rc4"). > > Signed-off-by: Serge Semin > Signed-off-by: Alexey Malahov > Cc: Maxim Kaurkin > Cc: Pavel Parkhomenko > Cc: Ramil Zaripov > Cc: Ekaterina Skachko > Cc: Vadim Vlasov > Cc: Thomas Bogendoerfer > Cc: Paul Burton > Cc: Ralf Baechle > Cc: Hoan Tran > Cc: Linus Walleij > Cc: Bartosz Golaszewski > Cc: Philipp Zabel > Cc: Rob Herring > Cc: Mark Rutland > Cc: linux-gpio@vger.kernel.org > Cc: devicetree@vger.kernel.org > Cc: linux-kernel@vger.kernel.org I like these patches, once Rob is happy with the bindings I'll be happy to merge them. I haven't heard from Hoan Tran in a while, so if we don't hear from him this time either I would suggest you also add yourself as maintainer for this driver, if you don't mind. Thanks, Linus Walleij