Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1085644rwb; Thu, 6 Oct 2022 08:16:45 -0700 (PDT) X-Google-Smtp-Source: AMsMyM68XSVgCyLqJpFgafLtaCe3FzhtAwamvuvywEsVtsnfmVKkmNQEAIq9EPrJNZJarHbiOoLT X-Received: by 2002:a17:907:7204:b0:783:ce92:d75e with SMTP id dr4-20020a170907720400b00783ce92d75emr283853ejc.682.1665069405011; Thu, 06 Oct 2022 08:16:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665069405; cv=none; d=google.com; s=arc-20160816; b=GZyMJen4u1567hJLP6V1uyW7WRoc+otWAQJ+KaEdfT2m5VDPW0yVHTzqXtohHjqQR0 92KjRYkBcElcoplszvqievqW8KdWAAKr8bTDOsvkJMnLfiGoiHKvNOMFfubReOUhm1qO uBpaZKkmxY7bRSS3Rwyslw0b4pD66ZBx6MCRJtB4dwLYYHiseOtwWSuBLot0RI1yAHDl 80jushivH3GHc/H2KfXZro+WEwUaF5oUhEqkLyF+y8FPbfZyixMki3sLtN3YayqoYqPu Ie5YjKRCMnwQ4lgsIF8Gaon+3x4dUOTeU8KRqIKp17UZ6Xecpb0i1Rf58UQlSHyi+smA eRXg== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=OcCFlsb0UPx35nzupcdQ+Jsu6S5hmDruOOCDGL2tRQU=; b=pJlQm2CgraKb2MTXwJ0NIhHLweGM9LNmugvkaeObW1kejbMQWLu2QkUJu/7Uzn8CM8 pMxMumgYyGJULy2I5zj+b+9oX5RSx91gcdJsqOJ6xIvBabm15TqAsHU2ndy67DMWWLar 9O1H+q+AGdofzbyCPAUn6XgeaJJURjCnfuNP51mOPhEmzGYIj5EBT3dafCOS5gwvEaiN gTj6eOSjMXVVxaSIld/zd14gck4p1zMXde5KHHimLE3P49VKGTJWEn9ihNqvXyZJ0ac+ jFUpw+LRjd1ECnweAzoL1QYslD/4Tir/qWmrxvXVQ0xsmkWrsRJB3IrrQhopm3pkiu82 IEHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=LcRWZUjk; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i10-20020a1709064fca00b006fe95bb93b3si18680947ejw.861.2022.10.06.08.16.16; Thu, 06 Oct 2022 08:16: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=@gmail.com header.s=20210112 header.b=LcRWZUjk; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231411AbiJFOzE (ORCPT + 99 others); Thu, 6 Oct 2022 10:55:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38968 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231146AbiJFOy6 (ORCPT ); Thu, 6 Oct 2022 10:54:58 -0400 Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7F3E31D65A; Thu, 6 Oct 2022 07:54:55 -0700 (PDT) Received: by mail-ed1-x52b.google.com with SMTP id y100so3200641ede.6; Thu, 06 Oct 2022 07:54:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date; bh=OcCFlsb0UPx35nzupcdQ+Jsu6S5hmDruOOCDGL2tRQU=; b=LcRWZUjkVaSzP+xw32qY5UviScr9vgmwxKrpmL6rXsiGeRGuK/+g14ELWGxCZGrORm qJQyhwScy4Th0H0aVlk809B5IzEBbOCmLeZrOu1R+4sBTjdFmzynVe0RrHAbWHP3Qaso q+T9yYaigi7Kt+kKlkmQ2hxeH+rchg1Vaj0qSdQS9+PNaI2k3k9WEQNWxXOHP1AhlRdk JKchX4Zqv234hqNXB9SjiKxKRRugT+Kir8XFBrqnpx80CBJX3PM9ES67z9/SsjXDgn4O vVjQB1DNCpVKkfJUYaav9xL/U/Eo4R9GWJ3zj5cpYyypEf8HmdBabdhiW5Bg/4MrT/jy /lKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date; bh=OcCFlsb0UPx35nzupcdQ+Jsu6S5hmDruOOCDGL2tRQU=; b=59iETLQzjYaVp/rV1EuU0Y0y8dGBehMuj93euF4CP2TelMEm660pqOdJiAmen0sZKp 64+EIHGRzDlS0LvmLCXidm9jQsp3llL1M412qldukCBWQYK/DeNhBK1V6qa6bEN81XBk Ldf/ieNeZALNsTA8JILIylGJLhJSxpfWyC+IDWDKdFn1yUhEexo2FqnBlnMYYOEvlLPp x2Pc6/FDz28W8l7pi0OwwVQrATbJ8bRoDOTbqE5RSLS4oVHR1ESZY5CZcCVLfVlAV8vl r171hVcyXNaf7zqWMthWGy2wfX0rGlg9FvbUiSmnM0pMWo5qwmZdOGRYdKat87W69mkE 6pVQ== X-Gm-Message-State: ACrzQf0MSba2vEwxfrdAGmH45LYbiLDguX2gnFLX1CvmBm1Zgqya8w5u Op0eW0bgPo03CIfBya/IFKPVr9fuDt8= X-Received: by 2002:a05:6402:2804:b0:439:83c2:8be2 with SMTP id h4-20020a056402280400b0043983c28be2mr161904ede.292.1665068093904; Thu, 06 Oct 2022 07:54:53 -0700 (PDT) Received: from localhost.localdomain (wlan-247051.nbw.tue.nl. [131.155.247.51]) by smtp.gmail.com with ESMTPSA id i15-20020aa7dd0f000000b00457c321454asm5957591edv.37.2022.10.06.07.54.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Oct 2022 07:54:53 -0700 (PDT) From: Nam Cao To: jdelvare@suse.com Cc: namcaov@gmail.com, linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] i2c: i801: add lis3lv02d's I2C address for Vostro 5568 Date: Thu, 6 Oct 2022 16:54:40 +0200 Message-Id: <20221006145440.10281-1-namcaov@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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 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) -- 2.25.1