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=-6.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 29F60C433E9 for ; Fri, 8 Jan 2021 17:54:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CE04023772 for ; Fri, 8 Jan 2021 17:54:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728519AbhAHRyW (ORCPT ); Fri, 8 Jan 2021 12:54:22 -0500 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:39548 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728479AbhAHRyV (ORCPT ); Fri, 8 Jan 2021 12:54:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1610128374; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ApjdY65NLh4ukaTTHH8c86uuWfyLWMuFPHofhf/ZJ0I=; b=Nxr3VzAzurwoTMb1LnSfU2p9AzdQ++owVF1puBJ8HmLvjEjSmP+sSOmDpchUSAwwt2i99M YIBSTm7yYT+uX/+5pdXAeJAV9Pm1XxLHyz0eKRcnw+xMhLjnIGpRMzjI8IRkq/1Ljab01p 5dxOVMzGemAgacpX8P9hjThluZK3D3Q= Received: from mail-pl1-f198.google.com (mail-pl1-f198.google.com [209.85.214.198]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-289-3V83fFUePwuu1OnC-a_SJQ-1; Fri, 08 Jan 2021 12:52:53 -0500 X-MC-Unique: 3V83fFUePwuu1OnC-a_SJQ-1 Received: by mail-pl1-f198.google.com with SMTP id c5so6770664plr.4 for ; Fri, 08 Jan 2021 09:52:53 -0800 (PST) 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=ApjdY65NLh4ukaTTHH8c86uuWfyLWMuFPHofhf/ZJ0I=; b=mDZAo1UaVUfFO75XvIB1EHHhLlwvXuvpuAs6mChKaLUlF+795IKzl0rwXa5YNv0Vlr GpagomNvQ5OWYO2Pe6qyFgKATM8lW3TmyDfvFUNPlV2ci6WTIWgRDCH/1fkoEwc5YTzd rxdumaL4BRLibAl4TR0/GOO1Yq69HYKvsye8hKJ3pHjR9PEZhH6PCbpf9bwXcP67qTOA 3RkPkfHdjd1R0+Av0d5A4wFlFS09UliAtPXPCXnZ38WmSHol5scLO1EStE5i+HK2vicX ldJ56K5N3DG/OVBWK772Ni6ZjCLNMSH6gxmc2D+6J3cnTOCEkR7F6zGksf09/1BXf3bF 2OqQ== X-Gm-Message-State: AOAM533muWzdFebxKdg3qk7eiY/sz0nHIZ4LtWbFuUOiGwu6AXYbu37M NKEECYrmJivXe/GL1qRoQ6R3XK9DCPaQrcfC4ebzxzdOoM/AqcdQoMMf9lXOUAjS1V6cd/E9VY1 t44nGWsWdAr4gIhrRHJTbrF+y447Nxc7j5mgGaO9C X-Received: by 2002:aa7:8641:0:b029:1a1:e2f5:23de with SMTP id a1-20020aa786410000b02901a1e2f523demr4697939pfo.35.1610128372069; Fri, 08 Jan 2021 09:52:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJy9ULWofreNDD91DUrkxShVGr1ZmP4TBmQxtimlVwbZObVFp63Ht0t6i8P+fj0Epj5Me2AF1+DolTtFy7YXtb4= X-Received: by 2002:aa7:8641:0:b029:1a1:e2f5:23de with SMTP id a1-20020aa786410000b02901a1e2f523demr4697894pfo.35.1610128371787; Fri, 08 Jan 2021 09:52:51 -0800 (PST) MIME-Version: 1.0 References: <20201211222448.2115188-1-dianders@chromium.org> In-Reply-To: From: Benjamin Tissoires Date: Fri, 8 Jan 2021 18:52:40 +0100 Message-ID: Subject: Re: [PATCH v8 0/4] HID: i2c-hid: Reorganize to allow supporting goodix,gt7375p To: Doug Anderson Cc: Jiri Kosina , Greg Kroah-Hartman , Dmitry Torokhov , Hans de Goede , "open list:HID CORE LAYER" , Kai-Heng Feng , Rob Herring , Stephen Boyd , Andrea Borgia , Anson Huang , Bjorn Andersson , Catalin Marinas , Daniel Playfair Cal , Geert Uytterhoeven , =?UTF-8?Q?Guido_G=C3=BCnther?= , Jiri Kosina , Li Yang , Masahiro Yamada , Max Krummenacher , Michael Walle , Pavel Balan , Shawn Guo , Vinod Koul , Will Deacon , Xiaofei Tan , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Linux ARM , LKML Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Doug, On Wed, Jan 6, 2021 at 2:35 AM Doug Anderson wrote: > > Benjamin, > > On Fri, Dec 11, 2020 at 2:24 PM Douglas Anderson wrote: > > > > The goal of this series is to support the Goodix GT7375P touchscreen. > > This touchscreen is special because it has power sequencing > > requirements that necessitate driving a reset GPIO. > > > > To do this, we totally rejigger the way i2c-hid is organized so that > > it's easier to jam the Goodix support in there. > > > > This series was: > > - Tested on a device that uses normal i2c-hid. > > - Tested on a device that has a Goodix i2c-hid device. > > - Tested on an ACPI device, but an earlier version of the series. > > > > I believe the plan is for Benjamin to land the whole series. Will > > said this about the arm64 defconfig change (and provided his Ack): > > > ...there are a few things I really care about > > > in defconfig (e.g. things like page size!), generally speaking we don't > > > need to Ack everything that changes in there. > > > > > > That said, might be worth checking whether arm-soc have any defconfig > > > changes queued in -next so you don't end up with conflicts. > > > > Changes in v8: > > - Mark suspend/resume as static as per patches robot. > > > > Changes in v7: > > - Rebase atop commit afdd34c5fa40 ("HID: i2c-hid: show the error ...") > > > > Changes in v6: > > - ACPI probe function should have been "static" > > - Don't export suspend/resume, just export dev_pm_ops from core. > > - Fixed crash in ACPI module (missing init of "client") > > - No need for regulator include in the core. > > - Removed i2c_device_id table from ACPI module. > > - Suspend/resume are no longer exported from the core. > > > > Changes in v5: > > - Add shutdown_tail op and use it in ACPI. > > - Added mention of i2c-hid in the yaml itself as per Rob. > > - Adjusted subject as per Rob. > > - i2chid_subclass_data => i2chid_ops. > > - power_up_device => power_up (same with power_down). > > - subclass => ops. > > > > Changes in v4: > > - ("arm64: defconfig: Update config names for i2c-hid rejigger") new for v4. > > - Fully rejigger so ACPI and OF are full subclasses. > > - Totally redid based on the new subclass system. > > > > Changes in v3: > > - Fixed compatible in example. > > - Removed Benjamin as a maintainer. > > - Rework to use subclassing. > > - Updated description. > > > > Changes in v2: > > - ("dt-bindings: HID: i2c-hid: Introduce bindings for the Goodix GT7375P") new in v2. > > - Get timings based on the compatible string. > > - Use a separate compatible string for this new touchscreen. > > > > Douglas Anderson (4): > > HID: i2c-hid: Reorganize so ACPI and OF are separate modules > > arm64: defconfig: Update config names for i2c-hid rejigger > > dt-bindings: input: HID: i2c-hid: Introduce bindings for the Goodix > > GT7375P > > HID: i2c-hid: Introduce goodix-i2c-hid using i2c-hid core > > I think this series is ready to land. The "defconfig" has a trivial > conflict with commit 74b87103b3d0 ("arm64: defconfig: Enable HID > multitouch") against linuxnext, but it's so simple that hopefully > folks will be OK with that when it lands. > > Please let me know if there's anything else you need me to do. :-) > I wanted to apply the series yesterday, but for these kinds of changes I like giving it a spin on actual hardware. Turns out that my XPS-13 can not boot to v5.11-rc2, which makes testing the new branch slightly more difficult. I'll give it a spin next week, but I think I should be able to land it for 5.12. Regarding the defconfig conflict, no worries, we can handle it with Stephen and Linus. Cheers, Benjamin