Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp6327683rwi; Tue, 18 Oct 2022 10:54:44 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4Whsv/qALcEw3dGtGDIrASN27YL/g+UDHGU/GpdbpH/dQb3C1w32nSCgCGCZ/TLteoGh2S X-Received: by 2002:a17:907:78d:b0:740:33e1:998 with SMTP id xd13-20020a170907078d00b0074033e10998mr3510232ejb.162.1666115684094; Tue, 18 Oct 2022 10:54:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666115684; cv=none; d=google.com; s=arc-20160816; b=FrIs2/9hmzgNs5jcmjXq6q33rdjhgX7lOAT8pBv0NHTzyowKP+yW5AIbNVmMTp+fhA 1dRfBhndTVhDmPcTKohJ1AWIj6+kdvIM2AuQko0hR7YnVSSBeBiTdlFDq+t5Tkod0Z+p P6f3VKhGMxgNidhwaWjkig9un+D35zHL4cm/pSGgu+s84pKWbVEUhf3/7s6XGjJ2V+Le h88clMrN24biYfuHdpVWlfUkH+luUY8cwzppcUyLcorQGTIOx7mTOGo+k/LLtRkaRiCf 11OB0rIUpT2tTcoFaf+xA35x6g6hkx6SRRsjvV1k6P5QSlCfi+2wnqc3DqXkGIbkhdpp QqGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date:dkim-signature:dkim-signature; bh=oOxaBIBN/0IDpvkVnRKGxynpe2/tl8CVR54+1XSWLSo=; b=hhIp9MtnauGVx1hsHZB7Zsy6HMVqeQez35X7YYXUVLcaHaTNHqCdWWLifz91cqtjVy RkqjpVHmd8JNnk/iTscXjIysB+AyfHoWl562EmRZB52RB3beY2cxtaVwR2aJnbW9yaGb tQ6gBApnGXIo11fMIyOqlrmQhHaauXPaPSpfR2eLZ+WmetgabS7eM0fOIR+OO9vLp0yK wxVewTPlNQX6b2Ttnu9FVlEuAlCnPx+BrX7DlxpgpDtvGZ8IPkhtsrjU9f9C52t9qjtE wuUQnMKqqCuE/SL7LjGgw5+9nAVFqfmDkmkYtaOAaAvqK/fFVAaMOA7zr9RWznB/WvFd l5WA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=Hi1FZSHx; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=Z+8vjvYS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p20-20020a1709060dd400b0078c5f3569a8si11167652eji.459.2022.10.18.10.54.17; Tue, 18 Oct 2022 10:54:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=Hi1FZSHx; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=Z+8vjvYS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230025AbiJRRkB (ORCPT + 99 others); Tue, 18 Oct 2022 13:40:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49060 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229917AbiJRRj7 (ORCPT ); Tue, 18 Oct 2022 13:39:59 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2001:67c:2178:6::1d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9232727FF3; Tue, 18 Oct 2022 10:39:54 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 3A5B11FBA9; Tue, 18 Oct 2022 17:39:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1666114792; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=oOxaBIBN/0IDpvkVnRKGxynpe2/tl8CVR54+1XSWLSo=; b=Hi1FZSHxs7is/xzUg/KXNlIz3Ujbl2LzdZ3G/TZNi6iY50y+RIqcbRBQtFbAkeofXaS91+ LKFZjJIadoU4wYz+HN7cWlvws0/XbIlwrN8V7xRdiqxMVTN46NvjEHBCkNPMY2QVkW6t0A 7FNm77af/qNjyiEPdtsK4R0LF7r5erk= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1666114792; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=oOxaBIBN/0IDpvkVnRKGxynpe2/tl8CVR54+1XSWLSo=; b=Z+8vjvYSPo8MjLAKSqCNY48yEQJy96AnlVXJGKR6ch5P4BK3C9dss7IuKem0I3ExjyFaq4 2MiHzcgTXtfZjUCQ== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 07AEB139D2; Tue, 18 Oct 2022 17:39:51 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id O1QTO+fkTmMmHwAAMHmgww (envelope-from ); Tue, 18 Oct 2022 17:39:51 +0000 Date: Tue, 18 Oct 2022 19:39:51 +0200 From: Jean Delvare To: Nam Cao Cc: linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, Pali =?UTF-8?B?Um9ow6Fy?= Subject: Re: [PATCH] i2c: i801: add lis3lv02d's I2C address for Vostro 5568 Message-ID: <20221018193951.40787445@endymion.delvare> In-Reply-To: <20221006145440.10281-1-namcaov@gmail.com> References: <20221006145440.10281-1-namcaov@gmail.com> Organization: SUSE Linux X-Mailer: Claws Mail 3.18.0 (GTK+ 2.24.32; x86_64-suse-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 06 Oct 2022 16:54:40 +0200, Nam Cao wrote: > Dell Vostro 5568 laptop has lis3lv02d, but its i2c address is not known > to the kernel. Add this address. > > Output of "cat /sys/devices/platform/lis3lv02d/position" on Dell Vostro > 5568 laptop: > - Horizontal: (-18,0,1044) > - Front elevated: (522,-18,1080) > - Left elevated: (-18,-360,1080) > - Upside down: (36,108,-1134) > > Signed-off-by: Nam Cao > --- > drivers/i2c/busses/i2c-i801.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/i2c/busses/i2c-i801.c b/drivers/i2c/busses/i2c-i801.c > index a176296f4fff..e46561e095c6 100644 > --- a/drivers/i2c/busses/i2c-i801.c > +++ b/drivers/i2c/busses/i2c-i801.c > @@ -1243,6 +1243,7 @@ static const struct { > */ > { "Latitude 5480", 0x29 }, > { "Vostro V131", 0x1d }, > + { "Vostro 5568", 0x29 }, > }; > > static void register_dell_lis3lv02d_i2c_device(struct i801_priv *priv) Fine with me. Reviewed-by: Jean Delvare Pali, OK with you? -- Jean Delvare SUSE L3 Support