From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 C40601094D; Sun, 24 Dec 2023 22:07:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="B925lwno" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 24468C433C8; Sun, 24 Dec 2023 22:07:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1703455665; bh=C8mnLeHQXatUi8PRR1DxFxB5Q7HJZm9F2gnAe0IdOfs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=B925lwnoqUiwWTUVzFXBJk6xcrj1Uf6cCAXPeHNt2VQm3lsXIeqdW1knYNn+sDVSY cEVc38xGpvZGVMAWO8jrlyxRfg/evDK6NKiGKJS2AQzhcaZoXR02xBzHnlcjPxFCW0 DYN0pix4YvNZF270znJV26NVwUbfDaC77pO8YdVk9s7O3+2JBBp4zaOIX5QMRkPeYD Ysoc08XmWhvxKzCIIwdh6UFhWwa+YOL+KMHb4RJm8txbCPBzTr0nv8zof760ZdsgVY 3l3XMhTFTTQejQ1sAdCK96LmXtEOgB+vN5k/6kkZKkPIZGagzqqeXUCzzW2JuUBBjA N8p6zL/cd3Wlw== Received: by pali.im (Postfix) id BD12381B; Sun, 24 Dec 2023 23:07:42 +0100 (CET) Date: Sun, 24 Dec 2023 23:07:42 +0100 From: Pali =?utf-8?B?Um9ow6Fy?= To: Hans de Goede Cc: Jean Delvare , Andi Shyti , Eric Piel , Paul Menzel , Ilpo =?utf-8?B?SsOkcnZpbmVu?= , 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: Re: [PATCH 6/6] platform/x86: dell-smo8800: Add support for probing for the accelerometer i2c address Message-ID: <20231224220742.5cv2a7tdd4f2k4mt@pali> References: <20231224213629.395741-1-hdegoede@redhat.com> <20231224213629.395741-7-hdegoede@redhat.com> Precedence: bulk X-Mailing-List: linux-i2c@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231224213629.395741-7-hdegoede@redhat.com> User-Agent: NeoMutt/20180716 On Sunday 24 December 2023 22:36:22 Hans de Goede wrote: > Unfortunately the SMOxxxx ACPI device does not contain the i2c-address > of the accelerometer. So a DMI product-name to address mapping table > is used. > > At support to have the kernel probe for the i2c-address for modesl > which are not on the list. > > The new probing code sits behind a new probe_i2c_addr module parameter, > which is disabled by default because probing might be dangerous. > > Signed-off-by: Hans de Goede I would really like to hear Dell opinion about this change, and if there is really no way to get i2c address. Could you ask Dell people about it? Always it is better to use official / vendor provided steps of hardware detection, instead of inventing something new / own which would be there for a long time...