Received: by 10.213.65.68 with SMTP id h4csp785206imn; Tue, 20 Mar 2018 15:33:10 -0700 (PDT) X-Google-Smtp-Source: AG47ELt1Bs65ITqdhuH28v0MFbGqtmeE1q948+MagDGeH1D7uq7K4XdKWv37e2KGATThhQrx+W/9 X-Received: by 2002:a17:902:8287:: with SMTP id y7-v6mr18213884pln.85.1521585190650; Tue, 20 Mar 2018 15:33:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521585190; cv=none; d=google.com; s=arc-20160816; b=QtdKnTQCgoP+DnVkwbobItGr3r9dnqBy4y1LDa4UvVdNZWeE8kK9zxBTU6AydFQNZq 1apzBAIn+sJTcwYuwt8BvZyTuZRdsb74O7/5MLm+OyDKZlYV1gMhGR4o1qdExYrgs9/c lLfwWVtS6y6pZci00yEwJq8Sr7zebIvq/GXKYXJEuc9eDx+qHJ0j4fhU/Hr9+2aKbgik CDyD2nJdtw3fAXnrKzy27MX+Xr/OjvINIZglv+xDSB+H0IR3HrxM67SlyqT9IdvXoV74 cHQSs8sENhfbIDN2onnmobJhOsmYAYx63nM1TMqey6eYbG7XktoxdWT7e7OUck4dC+oI Jz8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=ItPRJm8KcyXDWgb7ISTovB7rEXMwsargDiAWah6n54Y=; b=Kv+px0bsSMkFhKQNgH6cCa4h+UKZrvHY0o9EncX6xdDUed9Y6IV5qqj5Tz3lTJiU3o m8CoRl69g6XMb+N5FASH9gdhcNc1sGCCPryfFkuiizFDroCjfQBOUhXWjB23ZLl0n/8p Fh+AMx5t1OGtfz/AqBjguhZjEJiqJCrSnMdtSLY0b3HK6+hG3VhqSuxdfLXuhjiV6qDe /WqC+gpgVM+ssWws7XUcaPdvN20yJJgRavUJoAulhAvDi7MLe4CmU0Nqreuqnvfvf27l uXMptVuprMfEDnnZu8+VTo1ttb3WJ7j7YBZL0X/rYTrrytXVx0RsRUO8fRsf0KcyCyqy fngw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=eYFuuE83; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u63si1811972pgc.638.2018.03.20.15.32.56; Tue, 20 Mar 2018 15:33:10 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=eYFuuE83; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1751757AbeCTWbp (ORCPT + 99 others); Tue, 20 Mar 2018 18:31:45 -0400 Received: from mail-pg0-f67.google.com ([74.125.83.67]:40885 "EHLO mail-pg0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751713AbeCTWbm (ORCPT ); Tue, 20 Mar 2018 18:31:42 -0400 Received: by mail-pg0-f67.google.com with SMTP id g8so1211438pgv.7; Tue, 20 Mar 2018 15:31:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=ItPRJm8KcyXDWgb7ISTovB7rEXMwsargDiAWah6n54Y=; b=eYFuuE832ed7TVbNs/YP85ymYc/LlmFALTer8Y5Np6ysjhh4vj7Olv+EhAGM6uxpTr hiRiyvaGuRGQf4xFIvTgUP83YA8NklhOjBJRv6/S+Nhh0Rl+rTQGNVDAW250d0GR/+tE 0o2ulOHvct5uIVtwvSa0Hd2pIapNtUTCVYKQnGVnj46N+k6xtv86WKmkRyRVz5B3dWcT EUNOaacpLPklmxhq9Xlb8FQjCzS+ONEi4QzSejaiHCS+5g9ZKQ6OyB1kYQtc4fG5dQKR rvE+T+9FnZ5oeYI2mUAYIJEmsj7j2C1tV9gI5SCK5RnCnhlJAxVFsMB8RfILOqci7WHS QljQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=ItPRJm8KcyXDWgb7ISTovB7rEXMwsargDiAWah6n54Y=; b=oWOg007z9jhRV19kBNAg5qCNDK9/qaz36JxmkO26eW5QC3pgXSOPFinXfWpB9uG87J tNC7XMFlbORTQ+Z/vzpd076c02CuvnlGxzygxt2SqNeBR2/BLD5Hlj+QQZDBhUcPLuxu lAQHnKssdwzDjvYKAHhO9n9wngs1vque9vUIYi18il1SufwcMvj5+pqZ049i5Z77DfKN C0IpOj/oIR/MvUdT73sLsjEBjegjvWYHhgnrKsBBqTI85pkTJzallfYUkV4tVeA+92JK OK19eEr/Dvq7OtGHBAubNxr2iueq9FtG/wL9N3XBOgizBk22HRegdfwWjuI8DDiaEYKj RxUQ== X-Gm-Message-State: AElRT7FEix2dBWrGw6Zd2U5DgujRG1e1gd9fwptvVQZIXYD3YOLN1lko t3tk61t7NblOGKXSWkvgNMvqRH5C X-Received: by 10.99.125.75 with SMTP id m11mr13257395pgn.391.1521585101667; Tue, 20 Mar 2018 15:31:41 -0700 (PDT) Received: from dtor-ws.mtv.corp.google.com ([2620:0:1000:1511:8de6:27a8:ed13:2ef5]) by smtp.gmail.com with ESMTPSA id r20sm6108360pff.165.2018.03.20.15.31.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Mar 2018 15:31:41 -0700 (PDT) From: Dmitry Torokhov To: linux-input@vger.kernel.org, Benson Leung Cc: Nick Dyer , Olof Johansson , linux-kernel@vger.kernel.org Subject: [PATCH v2 00/14] chrome_laptop: stop being a platform driver Date: Tue, 20 Mar 2018 15:31:24 -0700 Message-Id: <20180320223138.234724-1-dmitry.torokhov@gmail.com> X-Mailer: git-send-email 2.16.2.804.g6dcf76e118-goog Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, This series is a combination of Atmel touchscreen driver stopping using platform data and moving over to generic device properties, and chromeos-laptop switching from being platform driver, which is the wrong abstraction for it, and moving to using i2c bis notifier. Switching from platform driver to the notifiers allows us to get rid of the ugly code that manually tries to handle deferrals in case i2c bus is not ready at the time we start initializing the module. Thanks! Changes v1->v2: - switched suspend mode handling to use DMI quirk. We'll clean it up properly in the Atmel driver later, for now we just want to untangle Atmel and chromeos-laptop - added Nick's Acks. Dmitry Torokhov (14): Input: atmel_mxt_ts - do not pass suspend mode in platform data Input: atmel_mxt_ts - switch from OF to generic device properties Input: atmel_mxt_ts - switch ChromeOS ACPI devices to generic props platform/chrome: chromeos_laptop - add SPDX identifier platform/chrome: chromeos_laptop - stop setting suspend mode for Atmel devices platform/chrome: chromeos_laptop - introduce pr_fmt() platform/chrome: chromeos_laptop - factor out getting IRQ from DMI platform/chrome: chromeos_laptop - rework i2c peripherals initialization platform/chrome: chromeos_laptop - parse DMI IRQ data once platform/chrome: chromeos_laptop - use I2C notifier to create devices platform/chrome: chromeos_laptop - rely on I2C to set up interrupt trigger platform/chrome: chromeos_laptop - use device properties for Pixel platform/chrome: chromeos_laptop - discard data for unneeded boards Input: atmel_mxt_ts - remove platform data support MAINTAINERS | 1 - drivers/input/touchscreen/atmel_mxt_ts.c | 231 +++--- drivers/platform/chrome/chromeos_laptop.c | 896 +++++++++++---------- include/linux/platform_data/atmel_mxt_ts.h | 31 - 4 files changed, 579 insertions(+), 580 deletions(-) delete mode 100644 include/linux/platform_data/atmel_mxt_ts.h -- Dmitry