From patchwork Sun Dec 24 21:36:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hans de Goede X-Patchwork-Id: 13504436 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9D037EAE8 for ; Sun, 24 Dec 2023 21:36:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="egFk+l+5" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1703453807; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=YHH+dYFiAZRBdYkQReDHV20DrDgbD63aPu4W4Tm4x5M=; b=egFk+l+5EJiGr18/13JjlU5IWtOVrS0iorsumY18P7XYGCJFr/uxggzyr4Mn72ut70rEPX xK8O62SNR4gjYKbph+cyFteuHCnpju5hfsE+s0Z3VE1aAkSD0ZcxpgI38T2xgEWCbl7jGk ZNLqGmxJn3Oh/Jh+2Td0YOPLUBKxoLg= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-232-QL1ZsS3WNUaz8INWDZ0K6w-1; Sun, 24 Dec 2023 16:36:42 -0500 X-MC-Unique: QL1ZsS3WNUaz8INWDZ0K6w-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id C7E80832D60; Sun, 24 Dec 2023 21:36:40 +0000 (UTC) Received: from localhost.localdomain (unknown [10.39.192.24]) by smtp.corp.redhat.com (Postfix) with ESMTP id 22F5F2026D66; Sun, 24 Dec 2023 21:36:38 +0000 (UTC) From: Hans de Goede To: =?utf-8?q?Pali_Roh=C3=A1r?= , Jean Delvare , Andi Shyti , Eric Piel Cc: Hans de Goede , Paul Menzel , =?utf-8?q?Ilpo_J=C3=A4rvinen?= , Andy Shevchenko , Dell.Client.Kernel@dell.com, Marius Hoch , Kai Heng Feng , Wolfram Sang , platform-driver-x86@vger.kernel.org, linux-i2c@vger.kernel.org Subject: [PATCH 0/6] i2c-i801 / dell-smo8800: Move instantiation of lis3lv02d i2c_client from i2c-i801 to dell-smo8800 Date: Sun, 24 Dec 2023 22:36:16 +0100 Message-ID: <20231224213629.395741-1-hdegoede@redhat.com> Precedence: bulk X-Mailing-List: platform-driver-x86@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.4 Hi All, Here is a patch series which implements my suggestions from: https://lore.kernel.org/linux-i2c/4820e280-9ca4-4d97-9d21-059626161bfc@molgen.mpg.de/ to improve the lis3lv02d accel support on Dell laptops. Jean, Andi the actual move is in patch 3/6 after some small prep patches on the dell-smo8800 side. My plan for merging this is to create an immutable branch based on 6.8-rc1 (once it is out) + these 6 patches and then send a pull-request for this. Can I have your Ack for the i2c-i801 changes in patch 3/6? I think you'll like the changes there since they only remove code :) Regards, Hans Hans de Goede (6): platform/x86: dell-smo8800: Only load on Dell laptops platform/x86: dell-smo8800: Change probe() ordering a bit platform/x86: dell-smo8800: Move instantiation of lis3lv02d i2c_client from i2c-i801 to dell-smo8800 platform/x86: dell-smo8800: Pass the IRQ to the lis3lv02d i2c_client platform/x86: dell-smo8800: Instantiate an i2c_client for the IIO st_accel driver platform/x86: dell-smo8800: Add support for probing for the accelerometer i2c address drivers/i2c/busses/i2c-i801.c | 122 -------- drivers/platform/x86/dell/dell-smo8800.c | 337 +++++++++++++++++++++-- 2 files changed, 316 insertions(+), 143 deletions(-)