Message ID | 20220509091406.39552-10-jianhui.lee@canonical.com |
---|---|
State | New |
Headers | show
Return-Path: <kernel-team-bounces@lists.ubuntu.com> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=canonical.com header.i=@canonical.com header.a=rsa-sha256 header.s=20210705 header.b=oUWFA+AO; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=<UNKNOWN>) Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4Kxb8z0VmWz9sGJ for <incoming@patchwork.ozlabs.org>; Mon, 9 May 2022 19:14:43 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from <kernel-team-bounces@lists.ubuntu.com>) id 1nnzTO-0001qY-Fe; Mon, 09 May 2022 09:14:34 +0000 Received: from smtp-relay-internal-1.internal ([10.131.114.114] helo=smtp-relay-internal-1.canonical.com) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from <jianhui.lee@canonical.com>) id 1nnzTG-0001cP-1v for kernel-team@lists.ubuntu.com; Mon, 09 May 2022 09:14:26 +0000 Received: from mail-pf1-f197.google.com (mail-pf1-f197.google.com [209.85.210.197]) (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 smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id 4D4653F1CA for <kernel-team@lists.ubuntu.com>; Mon, 9 May 2022 09:14:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1652087665; bh=jJw+r4lI39sV79ePkrCzBJvm42jjbupPKLPVLDld9uA=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=oUWFA+AOdQRsCRbxfIxOvox1TnatabDos47X3JkLFLb9YIMX22CjXOP828gLBxunV 6zy0ZLSxUJLyTgnsK24BLYILjQeZRmOhbUzmolz7VGa9Qq8eoy1oU1F24AizxhPiPJ x1pIB5KVVeuO00dGTuO9dGhYd+/Tz0QClVpDz0FOqwM780A/oLr1gRx3QjTFO3vZKp oYJKyO3n/a+xuMFj2Fewq5MF8lZqBiHG2K2Q+31qPPqxLJ4hNi0Nqo9lIkCEiBlwMM jbsTmHBkPtcrPzp5GcMeGAbtMlzBWMkvZnUmbpGp9VuyBrid5RX8OCQDyOdHJlH5/z ZFHro2avGx1Zg== Received: by mail-pf1-f197.google.com with SMTP id x16-20020aa793b0000000b0050d3d5c4f4eso4455248pff.6 for <kernel-team@lists.ubuntu.com>; Mon, 09 May 2022 02:14:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=jJw+r4lI39sV79ePkrCzBJvm42jjbupPKLPVLDld9uA=; b=Sn/KMWBxuQfXKq8+5HL05TcyA27Kz43DH0en7+Dz/RLFYm5mSKSZ0J0hlkvpyt0o90 gHLQlcHYuQTwpqGRwVmka8JhLgqc6BKmoOG66zR3TTbWfjhrDivUrA6m/k4f0BOkzkJX CvheHsj4P2gAKgzuqTnH5OXoZ2FVSDpTiy7EBMo/51gBQLzo/kuNe+9OYy2v7xITa/KV yE1h8QS7R2fc4xLDY5sMrjSfNu7MHQjpfOs0eVDWmTKZk2/YGzmpr5iqcQcCeFDPdUWq t2PpCZ6cCmNq70pga2EpZPS38hM1KOioTmBhrHYGVRH1FRR5TknrZ7ZCpdUviNNF0t7q BHdA== X-Gm-Message-State: AOAM530jtDQ2WzvVo8gTWI3bFgxUqxdm04zbyfrBrHELUbZezJUF4u4K yVhaq+g/SGX1LaMUykwaKgNCUs6kxpVVoKRHJnYSAAN1Y18bDCu1sFT8p5ymnzyVeAIgsyzCIeR o+bur++jjN17KpyV23YRIDPCtUQ5D1h5QbC8z0t1qaw== X-Received: by 2002:a63:570f:0:b0:39d:2648:261d with SMTP id l15-20020a63570f000000b0039d2648261dmr12085367pgb.551.1652087663999; Mon, 09 May 2022 02:14:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyUpj9GROyHkKZ4qQhV/hoYwauPdUUC9k7HhqNG7MOuy6426HH0pRl7f+nswGp+vhsg/XCTmg== X-Received: by 2002:a63:570f:0:b0:39d:2648:261d with SMTP id l15-20020a63570f000000b0039d2648261dmr12085357pgb.551.1652087663733; Mon, 09 May 2022 02:14:23 -0700 (PDT) Received: from Razer-Stealth.. (36-230-106-94.dynamic-ip.hinet.net. [36.230.106.94]) by smtp.gmail.com with ESMTPSA id r1-20020a170902c7c100b0015e8d4eb2e9sm6437057pla.307.2022.05.09.02.14.22 for <kernel-team@lists.ubuntu.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 May 2022 02:14:23 -0700 (PDT) From: Jian Hui Lee <jianhui.lee@canonical.com> To: kernel-team@lists.ubuntu.com Subject: [SRU][Focal:linux-intel-iotg-5.15][PATCH 09/10] iio: humidity: hdc100x: Add ACPI HID table Date: Mon, 9 May 2022 17:14:05 +0800 Message-Id: <20220509091406.39552-10-jianhui.lee@canonical.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220509091406.39552-1-jianhui.lee@canonical.com> References: <20220509091406.39552-1-jianhui.lee@canonical.com> MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions <kernel-team.lists.ubuntu.com> List-Unsubscribe: <https://lists.ubuntu.com/mailman/options/kernel-team>, <mailto:kernel-team-request@lists.ubuntu.com?subject=unsubscribe> List-Archive: <https://lists.ubuntu.com/archives/kernel-team> List-Post: <mailto:kernel-team@lists.ubuntu.com> List-Help: <mailto:kernel-team-request@lists.ubuntu.com?subject=help> List-Subscribe: <https://lists.ubuntu.com/mailman/listinfo/kernel-team>, <mailto:kernel-team-request@lists.ubuntu.com?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" <kernel-team-bounces@lists.ubuntu.com> |
Series |
Add IIO sensors ID for ACPI based platform
|
expand
|
diff --git a/drivers/iio/humidity/hdc100x.c b/drivers/iio/humidity/hdc100x.c index 9e0fce917ce4..47f8e8ef56d6 100644 --- a/drivers/iio/humidity/hdc100x.c +++ b/drivers/iio/humidity/hdc100x.c @@ -417,10 +417,17 @@ static const struct of_device_id hdc100x_dt_ids[] = { }; MODULE_DEVICE_TABLE(of, hdc100x_dt_ids); +static const struct acpi_device_id hdc100x_acpi_match[] = { + { "TXNW1010" }, + { } +}; +MODULE_DEVICE_TABLE(acpi, hdc100x_acpi_match); + static struct i2c_driver hdc100x_driver = { .driver = { .name = "hdc100x", .of_match_table = hdc100x_dt_ids, + .acpi_match_table = hdc100x_acpi_match, }, .probe = hdc100x_probe, .id_table = hdc100x_id,