From patchwork Tue Jul 12 11:02:29 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francesco Dolcini X-Patchwork-Id: 12914762 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CF00CC433EF for ; Tue, 12 Jul 2022 11:05:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=837W5SuFNYfl/icqzewnlxOKPIJ5erTcPEfmE2/ORd0=; b=hdWtAnHnZl+OlO Q6mZ2oUiH7T7uPjsfxIni4AD2JSaPd8nWNRnYmfUnVFtHw9whTgoN2IMNdfM76AHPcpObVNmKF0MR yzXf1M6EGj+wlDjQc6QRx98UK9YigD+3xElg/iP6FIH5SRtUlytZah/Q2qePLaMiv2yIken1jqzZf 5o//KUKtts02oHG8yiZ3qangEtyYa4GBm2HQVVyvQBBmTdwjvrx9mySaUmjSdwJjjoTu2r6jo6AiI 1MB6fcSR/WL83g9vfe4e9eOYKLL5rBTJF9anRWeS5HFynakh/l6xgyQyw1y9keDkixfRCwv0WxVVW o68P83/Giu+oOw3Ellmg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oBDgM-00AEUD-LC; Tue, 12 Jul 2022 11:04:00 +0000 Received: from de-smtp-delivery-113.mimecast.com ([194.104.111.113]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oBDfB-00ADZN-Qo for linux-arm-kernel@lists.infradead.org; Tue, 12 Jul 2022 11:02:49 +0000 Received: from CHE01-GV0-obe.outbound.protection.outlook.com (mail-gv0che01lp2047.outbound.protection.outlook.com [104.47.22.47]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id de-mta-12-I4DavvXvNzejsb9UX1TvtA-1; Tue, 12 Jul 2022 13:02:36 +0200 X-MC-Unique: I4DavvXvNzejsb9UX1TvtA-1 Received: from ZRAP278MB0495.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:2e::8) by ZRAP278MB0317.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:28::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.16; Tue, 12 Jul 2022 11:02:34 +0000 Received: from ZRAP278MB0495.CHEP278.PROD.OUTLOOK.COM ([fe80::3d:ca30:8c24:1a95]) by ZRAP278MB0495.CHEP278.PROD.OUTLOOK.COM ([fe80::3d:ca30:8c24:1a95%7]) with mapi id 15.20.5417.026; Tue, 12 Jul 2022 11:02:34 +0000 From: Francesco Dolcini To: Lee Jones , Maxime Coquelin , Alexandre Torgue , Rob Herring , Krzysztof Kozlowski CC: Francesco Dolcini , linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Ahmad Fatoum Subject: [PATCH v1 1/4] mfd: stmpe: Probe sub-function by compatible Date: Tue, 12 Jul 2022 13:02:29 +0200 Message-ID: <20220712110232.329164-2-francesco.dolcini@toradex.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220712110232.329164-1-francesco.dolcini@toradex.com> References: <20220712110232.329164-1-francesco.dolcini@toradex.com> X-ClientProxiedBy: MR1P264CA0167.FRAP264.PROD.OUTLOOK.COM (2603:10a6:501:55::8) To ZRAP278MB0495.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:2e::8) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 0e22c139-fdef-4b9c-40c6-08da63f60638 X-MS-TrafficTypeDiagnostic: ZRAP278MB0317:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0 X-Microsoft-Antispam-Message-Info: mZLZoXonhfwIwI3U+sJQTLQ2n3nfY/Zh/MyKZjpt1CShLZRZxV7TdCo4JwUojxf+HXk5UsGgYOp89LTL550QM/XJo66G8pzyap9zd9Rii/pwkTyq0Tv2R4LE8dECmt/yfR/Jnc1L+QyfKjrkv02YcUkX93P1MiNbJGgCPMQAI2UIPDvNeJR+D6QBKRVNHrqgc/6FWT5uL4hm8DqNzrkqDe7SanKhP8yHtB5tHotpc0UWt+eDpnL+Nwz6RIy8vrM2DPiTCKdpL0u0UJuoYs85shWQiuLgsAliy8QtVRFaPV7feZtNYfqDxL20YhJxVgYo4qqV9yQXtkwAO/B4o4Wyvz+MsH65t5D9HiddLFKYqvu6+P4OoPinzv90jfinZWv1b2rDSMIxvaCi+qqRnSaki/Iif/dxp9xOahNqK5q4i9AyEx9vbSkyynu0oPITVLZCG/AkD7anDdsA7S32EiKwShheCeQAZ6i2L0alrqHm7LVtkC+8p9uK2m6rqEklTEa/E/Eglc5AHSnaGR/oRc2XW76upXrR8qAmwpoyiOnbaA/mbHvaiHR1PyI9p07y+z9LmfbZ52No3E+UIOfLg6bC5zE0p69/ir6h6mcmPJg14vj2XPuzO2ANk+mxs0OTSGC0hrA5lAxMlcPbSKcax2gJ7FMfdD/MTqliibCSAXO4d1h1ppQBYtchq74tdxA9yVD3X10wf96MppVcnkXOgd5dzaIUphGaCqzLUso27B65Cds53y3MUklVR/yfQs0qqapRlqslmv8D678hl+SpuiHm/ZBxHaTgnotKki3ysPAza5LqpZN27/k/yCqbEN9DqYLy X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:ZRAP278MB0495.CHEP278.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230016)(4636009)(346002)(366004)(376002)(39850400004)(396003)(136003)(66476007)(38350700002)(1076003)(52116002)(41300700001)(38100700002)(2906002)(54906003)(186003)(6506007)(6666004)(44832011)(36756003)(7416002)(66946007)(316002)(110136005)(8936002)(478600001)(5660300002)(26005)(86362001)(83380400001)(66556008)(8676002)(2616005)(6486002)(6512007)(4326008);DIR:OUT;SFP:1102 X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: ZDchQm8uVduf/c9BMPbGlZJ8LAx6y9sxW+XKihuhqqgm8WaMiEf6WayTKBBTuvEFSonR8WXL1rjqzhtl/yhl1J81OCSckVEaFpiZyPKlCb1AmKigC8YmSk06ltSw8fd2E0OgisScVZkL8rC1M/UnCNy4J9lng8IhAKiYjO1Xn0HovYnDY5boq3Tq0eZRJOLPfkNd3VIws/ViaxbR+PA77gEf2k7GUpfluhlsniWrC3bcGrhU/L14wJ7528OlIVkTWtWfKVji0MmN5kgYIkugRuhUpRQombLu+JX+MIqFeYTEdoup/Zdq1iv8v4z/C1jGvKq5kynQX7sNxUT/Zvs54LmE9FaFJoYNXYzwOoCWa/NlsZr59MwNmG+gZvNrSelIft0yK7wq/5V3Qf6EzFJulxSvOz3m1UH+FB1EI9EE+BhSswvoIVM/UnR/49U17Ob6+1O6YG7LKGZM3cudiPoXwdGdV0neDV75vH3PREvh3CMd9Ymi/fOY9ZlPnfuT9htU/kcYVdv0w0u9QfcPJ7eKcXgAmAggbL76PH16oqEluyEN1PE+5HvKRzfW+mbFb2Zao8tyzd8355YBLA6Gq0D0Bk6J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id: 0e22c139-fdef-4b9c-40c6-08da63f60638 X-MS-Exchange-CrossTenant-AuthSource: ZRAP278MB0495.CHEP278.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jul 2022 11:02:34.4582 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: d9995866-0d9b-4251-8315-093f062abab4 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: wQZwiFZU5nnN2xv/juma7DOF4oqxtzNAeM/TVwmB1coh0AXBUlhYiv2cm2Wkjx77lPYTcLee4/CkXwHIAxMBLXhj/Phi6i/NmuHquL7enUM= X-MS-Exchange-Transport-CrossTenantHeadersStamped: ZRAP278MB0317 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CDE13A77 smtp.mailfrom=francesco.dolcini@toradex.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: toradex.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220712_040246_209136_77D7FFEF X-CRM114-Status: GOOD ( 13.32 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Use sub-function of_compatible during probe, instead of using the node name. The code should not rely on the node names during probe, in addition to that the previously hard-coded node names are not compliant to the latest naming convention (they are not generic and they use underscores), and it was broken by mistake already once [1]. While doing this change `rotator` entry was removed, it is not used in any device tree file, there is no cell defined, it's just dead non-working code with no of_compatible for it. [1] commit 56086b5e804f ("ARM: dts: imx6qdl-apalis: Avoid underscore in node name") Suggested-by: Ahmad Fatoum Signed-off-by: Francesco Dolcini --- drivers/mfd/stmpe.c | 31 +++++++++++++++++-------------- 1 file changed, 17 insertions(+), 14 deletions(-) diff --git a/drivers/mfd/stmpe.c b/drivers/mfd/stmpe.c index aeb9ea55f97d..90a07a94455f 100644 --- a/drivers/mfd/stmpe.c +++ b/drivers/mfd/stmpe.c @@ -23,6 +23,12 @@ #include #include "stmpe.h" +#define STMPE_GPIO_COMPATIBLE "st,stmpe-gpio" +#define STMPE_KEYPAD_COMPATIBLE "st,stmpe-keypad" +#define STMPE_PWM_COMPATIBLE "st,stmpe-pwm" +#define STMPE_TS_COMPATIBLE "st,stmpe-ts" +#define STMPE_ADC_COMPATIBLE "st,stmpe-adc" + /** * struct stmpe_platform_data - STMPE platform data * @id: device id to distinguish between multiple STMPEs on the same board @@ -321,14 +327,14 @@ static struct resource stmpe_gpio_resources[] = { static const struct mfd_cell stmpe_gpio_cell = { .name = "stmpe-gpio", - .of_compatible = "st,stmpe-gpio", + .of_compatible = STMPE_GPIO_COMPATIBLE, .resources = stmpe_gpio_resources, .num_resources = ARRAY_SIZE(stmpe_gpio_resources), }; static const struct mfd_cell stmpe_gpio_cell_noirq = { .name = "stmpe-gpio", - .of_compatible = "st,stmpe-gpio", + .of_compatible = STMPE_GPIO_COMPATIBLE, /* gpio cell resources consist of an irq only so no resources here */ }; @@ -350,7 +356,7 @@ static struct resource stmpe_keypad_resources[] = { static const struct mfd_cell stmpe_keypad_cell = { .name = "stmpe-keypad", - .of_compatible = "st,stmpe-keypad", + .of_compatible = STMPE_KEYPAD_COMPATIBLE, .resources = stmpe_keypad_resources, .num_resources = ARRAY_SIZE(stmpe_keypad_resources), }; @@ -376,7 +382,7 @@ static struct resource stmpe_pwm_resources[] = { static const struct mfd_cell stmpe_pwm_cell = { .name = "stmpe-pwm", - .of_compatible = "st,stmpe-pwm", + .of_compatible = STMPE_PWM_COMPATIBLE, .resources = stmpe_pwm_resources, .num_resources = ARRAY_SIZE(stmpe_pwm_resources), }; @@ -461,7 +467,7 @@ static struct resource stmpe_ts_resources[] = { static const struct mfd_cell stmpe_ts_cell = { .name = "stmpe-ts", - .of_compatible = "st,stmpe-ts", + .of_compatible = STMPE_TS_COMPATIBLE, .resources = stmpe_ts_resources, .num_resources = ARRAY_SIZE(stmpe_ts_resources), }; @@ -484,7 +490,7 @@ static struct resource stmpe_adc_resources[] = { static const struct mfd_cell stmpe_adc_cell = { .name = "stmpe-adc", - .of_compatible = "st,stmpe-adc", + .of_compatible = STMPE_ADC_COMPATIBLE, .resources = stmpe_adc_resources, .num_resources = ARRAY_SIZE(stmpe_adc_resources), }; @@ -1362,19 +1368,16 @@ static void stmpe_of_probe(struct stmpe_platform_data *pdata, pdata->autosleep = (pdata->autosleep_timeout) ? true : false; for_each_available_child_of_node(np, child) { - if (of_node_name_eq(child, "stmpe_gpio")) { + if (of_device_is_compatible(child, STMPE_GPIO_COMPATIBLE)) pdata->blocks |= STMPE_BLOCK_GPIO; - } else if (of_node_name_eq(child, "stmpe_keypad")) { + else if (of_device_is_compatible(child, STMPE_KEYPAD_COMPATIBLE)) pdata->blocks |= STMPE_BLOCK_KEYPAD; - } else if (of_node_name_eq(child, "stmpe_touchscreen")) { + else if (of_device_is_compatible(child, STMPE_TS_COMPATIBLE)) pdata->blocks |= STMPE_BLOCK_TOUCHSCREEN; - } else if (of_node_name_eq(child, "stmpe_adc")) { + else if (of_device_is_compatible(child, STMPE_ADC_COMPATIBLE)) pdata->blocks |= STMPE_BLOCK_ADC; - } else if (of_node_name_eq(child, "stmpe_pwm")) { + else if (of_device_is_compatible(child, STMPE_PWM_COMPATIBLE)) pdata->blocks |= STMPE_BLOCK_PWM; - } else if (of_node_name_eq(child, "stmpe_rotator")) { - pdata->blocks |= STMPE_BLOCK_ROTATOR; - } } } From patchwork Tue Jul 12 11:02:30 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francesco Dolcini X-Patchwork-Id: 12914761 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 34749C433EF for ; Tue, 12 Jul 2022 11:04:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=H48t7Uby+TJckRj51X25ZZE1fmIKj3X9ztQVJKj9N9g=; b=vsqdsotRjN/aXW sc3Cv0rWgGUErj03IZPnCaMjO6pQnDRXMTufIV8ih17we2nrslTcXyCKFZBvgmzRdfEA+4LmVYRNX MhV0KSlOjBZWOZWCAqqmCdPi0ywyMuG+5ByGuhPzV0uKNH0wYKt4kupZVi/KbF3eRVjXiv2fN7iwv lz4Zr8k8bK2ILMYt4DxcA6dTZtpFbBeIFNiVPOcvHFFW+q0wn6BwOMO0l2BABl0fUDYwCS4nY/pKw UkWo3SE2rYdAnsTgFmTu6cEHUeShSr+M4pOsdfqxJ/JkyWOpQ8mB1rNNW/e516M8tQ0kiIrBjHxa7 NBkPt1YFTkTIR4ohz82A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oBDfx-00AECP-J3; Tue, 12 Jul 2022 11:03:33 +0000 Received: from de-smtp-delivery-113.mimecast.com ([194.104.111.113]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oBDfB-00ADZM-Qo for linux-arm-kernel@lists.infradead.org; Tue, 12 Jul 2022 11:02:48 +0000 Received: from CHE01-GV0-obe.outbound.protection.outlook.com (mail-gv0che01lp2047.outbound.protection.outlook.com [104.47.22.47]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id de-mta-12-Soh08dhJNdmOHhAbPQBGFQ-2; Tue, 12 Jul 2022 13:02:38 +0200 X-MC-Unique: Soh08dhJNdmOHhAbPQBGFQ-2 Received: from ZRAP278MB0495.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:2e::8) by ZRAP278MB0317.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:28::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.16; Tue, 12 Jul 2022 11:02:35 +0000 Received: from ZRAP278MB0495.CHEP278.PROD.OUTLOOK.COM ([fe80::3d:ca30:8c24:1a95]) by ZRAP278MB0495.CHEP278.PROD.OUTLOOK.COM ([fe80::3d:ca30:8c24:1a95%7]) with mapi id 15.20.5417.026; Tue, 12 Jul 2022 11:02:35 +0000 From: Francesco Dolcini To: Lee Jones , Linus Walleij , Bartosz Golaszewski , Maxime Coquelin , Alexandre Torgue , Rob Herring , Krzysztof Kozlowski CC: Francesco Dolcini , linux-iio@vger.kernel.org, linux-input@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH v1 2/4] dt-bindings: gpio: stmpe: Remove node name requirement Date: Tue, 12 Jul 2022 13:02:30 +0200 Message-ID: <20220712110232.329164-3-francesco.dolcini@toradex.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220712110232.329164-1-francesco.dolcini@toradex.com> References: <20220712110232.329164-1-francesco.dolcini@toradex.com> X-ClientProxiedBy: MR2P264CA0155.FRAP264.PROD.OUTLOOK.COM (2603:10a6:501:1::18) To ZRAP278MB0495.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:2e::8) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 7f158add-527d-4a5e-dba7-08da63f60654 X-MS-TrafficTypeDiagnostic: ZRAP278MB0317:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0 X-Microsoft-Antispam-Message-Info: uMkbu09aaOxSQZXyTalk0zwNCwMCHY+RS4Hoc5AIc94aT/tzpynO+orykNJP8t2JTviqNbWeU2aFkggIplhLcUnVUBM9Df36nAVLC5mCxVLyw3jII/KlFIBFqvfYlooK3qbOjXBGJq4YRGltcwIFluK4iQVUVD704ESlSaL28CWN+5aTt3g0R9I3AQXpEByaPdE36zrkm+PRL5aVuG7S3tHt14Vw6wcp1SqHhrz22YDpyiD3xdqpi1qlcayfMOBXnxvQJ/REy99jY+jlCozKxPX0IqNQLXg4vHszaU9N52ql2119wggkh1JdkyuLPhRum+AS2hrS9dsJGyk90GZW1LLUbollSOdwV7q7YHdnYc8330LwTr/yEl6k/WE0bk0F3dnxO7P96DQq8vZoYExcgs1sm8vuOY/brArG6L+wDe3KxRi0ELYMqDocss5FxZ9NJA29BpGQE0SHaFs3HKoYGzjQ+MGynixeDJ0TeRxYqYBlRezMWgp+CiclSYOttx8KCqJQkTyYiLqR0dqNTKjP0zJBnCMxwtpnNPrnU0eCpmAG/2MYSizzOdJcIxYG1Nj8V5oGT+W04aBvc/9vGlvR8NFkSwBNytSIIjVQ9VhU5abpyEBop6uERPqZMzhznIu8J+TBOOBews4d/jykzZW4ERP1LxbeXfQzpzcWxz5Yrpf6xj8AG2tzt9doklF++KBYopg3x3KcaKaRIZpuKFfctlkjEC6sYhNMpxjYvdz8/h4Xs0J9pNUjosL53AeMFNWIfFoUxfs0Y8L4qfaAM1wFyn+iWrAPwasg70JPmc53erbCbkyZlZFe49DEAiqBQO+d X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:ZRAP278MB0495.CHEP278.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230016)(4636009)(346002)(366004)(376002)(39850400004)(396003)(136003)(66476007)(38350700002)(1076003)(52116002)(41300700001)(4744005)(38100700002)(2906002)(186003)(6506007)(6666004)(44832011)(36756003)(7416002)(66946007)(316002)(110136005)(8936002)(478600001)(5660300002)(26005)(86362001)(83380400001)(66556008)(8676002)(2616005)(6486002)(6512007)(4326008);DIR:OUT;SFP:1102 X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: f10A0wUk11um4FCE20imVuAJGKLLyqJqUi57TUsLPQky10pHv7/xORcJftUIcNJsnJKWMMm2r1T0DnkxLrYgkRTK7T3hrL7tk8TaOaW9OuND/gs7+EPhrCn2sFvXojvTF5A9oWIrSsClADN76eCxSzquFf+nyzhmQfc/t72qpIPk4rjEPtRZipUbDpzp9oust3wF1sPs2/UpO/46Q421aoaCu9QcwklubLFmfBAz/r0YSTMtrwaGp/5mhrlO855NrY9FbtFW8vwogGdkZ/mb0mHS+iFcx8TMTLEwRMCA2Fo8Yt0uxm89Ourn+Bmuwi9XzKFXCmqzuzdv9NV6kULTKlplD6dsM4AJWIG2xpoVuXHud3Ea9QrL8rRPsM7/wdQLUED1JJA6fSGboN1SUITHA4dO295S4ampbDNd13N3M+nduS7YhjDfgBRfGKuF+zKRGDz9q4dP8Wsqycpe5stmnDYM7bjtWu//l+7kWquIUcoDbjVZzEsSLZvTxFwTrN/vxOvuacDZnJnvACDxBNfSKiHt6r/N3ViYkHvfjyENg8BvJDu/piUkcWgAW8++VSqipvGU3dWFZ6yCIxS6g2oFwUAthhTEWEEu8veOmvpMO2SN9OJIrwIm6ZJB1Z7ylw0RDVR5+avMxDJgWfE9ZmZ1ND0Ao1catLw49aNUfrSBtqjtxNAB5fzTTmaPF/LUziuUfQVIid901oQQNmRMPmZEUTo2SErivg32nwUN5ZfGxW3NlGPvOcfhH6GWEhoPs2jWm8nMMFm/IxuIH7VHxZnx/RTutQPwQL96n9NZyBarCHSYNIFkTXpIjDiJxNYSUgOJa/YJObtpguWrCMZRozpKQUxnRx2r92L6jnmwcgL13LifQZtwCxsZwqU/vD8U/aSbr0hBkN+2GTwCzzIFoUnIV5A8BIpG0jgJrz5fXqxL+uDGy7QXNVgcb54m7qQgH9j4ciyUTf5I0bOpFfc/Lv4oQK+yT2wngsUrT8/ug26YMo2j0c6oovM8jOUx/TSuioORuSXwtD/eieQnM/AZhcps0u5WwF26EkiR5nY4kcSchUb0t7T6Luf/E3QiBxLjIHQDCelTG5SyAns2tRTfL/hPU3q37tJlhsMv7YGzC8gd4sLtIgRC6hqge84xJdYiDBcyIF8i+fCshdyivNvkQ2o5f1XDsMHS1vTQw9pWZchKQG4IvTBG6v06kuLYodBC1F6lTqOD31gUDsaDRb9OyMYRqJuln5a0aBbJBjTYqOrE4Ib2vFDIu2FjADN1lhjsYk/tQMwZdEHts5JwK2leW06bj9LJQUMmIAGQTGW5x/Y5nn4XsWNKKhjd3Uz/3DIEUWmiDflLre5VFwyu/1oH1C9a/IKR1s4mOiLCLw3KvfqfzzLbFy2Y9XbrsDgl0jyLqttt8nuw3y46woXMvPNzxC6HgbRzvx2YKrcBzgA0K5ixRuBegKI9A1mHEtcUy7IK1pKd8Aq4aZhb2it5Cz1rUlgJNhJDCDkmAhZrk6miwuV8OJMTzB88mLpp1YQQN1VrJAsKlgWQZvDFHKZhr6bUIFQYJopOhAUF0FVcD4UpRe2PhSsbbPvpZTtrALLUfcQw368vhfgqHFtmpw2IQhmNZa0Ryw== X-OriginatorOrg: toradex.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7f158add-527d-4a5e-dba7-08da63f60654 X-MS-Exchange-CrossTenant-AuthSource: ZRAP278MB0495.CHEP278.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jul 2022 11:02:34.6456 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: d9995866-0d9b-4251-8315-093f062abab4 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: jR8ROypVvsKtSoe3wCCbEMSxGQ2MuC64Kyl8UqpuEDFgNLsmVLu2HfBcleU0p8cF9F6hAU/UKwni679gj4eRGH5/yOC03bQlDuuTSnHtyrs= X-MS-Exchange-Transport-CrossTenantHeadersStamped: ZRAP278MB0317 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CDE13A77 smtp.mailfrom=francesco.dolcini@toradex.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: toradex.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220712_040246_210702_1D5FC9BE X-CRM114-Status: UNSURE ( 9.64 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org STMPE driver does not require a specific node name anymore, only the compatible is checked, update binding according to this. Signed-off-by: Francesco Dolcini Acked-by: Bartosz Golaszewski Reviewed-by: Linus Walleij --- Documentation/devicetree/bindings/gpio/gpio-stmpe.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/gpio/gpio-stmpe.txt b/Documentation/devicetree/bindings/gpio/gpio-stmpe.txt index a0e4cf885213..b33f8f02c0d7 100644 --- a/Documentation/devicetree/bindings/gpio/gpio-stmpe.txt +++ b/Documentation/devicetree/bindings/gpio/gpio-stmpe.txt @@ -8,8 +8,7 @@ Optional properties: - st,norequest-mask: bitmask specifying which GPIOs should _not_ be requestable due to different usage (e.g. touch, keypad) -Node name must be stmpe_gpio and should be child node of stmpe node to which it -belongs. +Node should be child node of stmpe node to which it belongs. Example: stmpe_gpio { From patchwork Tue Jul 12 11:02:31 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francesco Dolcini X-Patchwork-Id: 12914758 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 802E5C433EF for ; Tue, 12 Jul 2022 11:03:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=FWQEVq2EH1pRFUN3OYxwz4zYwTdEcVeMJStPVal+tMw=; b=iw3L8u9MzCEpzI xbYU88mzuc2yLTyidLDZEPs0m/O49dC03UrL6+mxVS+PiyO0aA3P4Z2cluI2j04Y5nOeksSbR9akX OPmJikZOk43aoYrYXhKkPVL9YT8vojoSLlPR1ou0gm376xpS7m9VI3Q/BDsLKcP/n21gnKvTRp7he q4uOeHk/bAS43O9IHa3jvpTFGiJu5PZlToBcTBggf2piTDWqBvi7uDMU55e/BbGeaOYIAE9JFzlXH XKpiZ3Oug3W5rhNMHRi8kFDs9sCvJwfWqvD6fZtLk3yshF/8T2HZIYprtbE64pZHECo9/2NTWwTJh 2ybk3CBvLaeECXCi3JIg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oBDfF-00ADeV-He; Tue, 12 Jul 2022 11:02:49 +0000 Received: from de-smtp-delivery-113.mimecast.com ([194.104.109.113]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oBDfB-00ADYd-6C for linux-arm-kernel@lists.infradead.org; Tue, 12 Jul 2022 11:02:47 +0000 Received: from CHE01-GV0-obe.outbound.protection.outlook.com (mail-gv0che01lp2048.outbound.protection.outlook.com [104.47.22.48]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id de-mta-13-wZG3-wYNPKqevNpiF3vJYA-2; Tue, 12 Jul 2022 13:02:36 +0200 X-MC-Unique: wZG3-wYNPKqevNpiF3vJYA-2 Received: from ZRAP278MB0495.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:2e::8) by ZRAP278MB0317.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:28::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.16; Tue, 12 Jul 2022 11:02:34 +0000 Received: from ZRAP278MB0495.CHEP278.PROD.OUTLOOK.COM ([fe80::3d:ca30:8c24:1a95]) by ZRAP278MB0495.CHEP278.PROD.OUTLOOK.COM ([fe80::3d:ca30:8c24:1a95%7]) with mapi id 15.20.5417.026; Tue, 12 Jul 2022 11:02:34 +0000 From: Francesco Dolcini To: Lee Jones , Jonathan Cameron , Lars-Peter Clausen , Maxime Coquelin , Alexandre Torgue , Rob Herring , Krzysztof Kozlowski CC: Francesco Dolcini , linux-input@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-iio@vger.kernel.org Subject: [PATCH v1 3/4] dt-bindings: iio: adc: stmpe: Remove node name requirement Date: Tue, 12 Jul 2022 13:02:31 +0200 Message-ID: <20220712110232.329164-4-francesco.dolcini@toradex.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220712110232.329164-1-francesco.dolcini@toradex.com> References: <20220712110232.329164-1-francesco.dolcini@toradex.com> X-ClientProxiedBy: MR1P264CA0174.FRAP264.PROD.OUTLOOK.COM (2603:10a6:501:55::14) To ZRAP278MB0495.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:2e::8) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: f46fb30c-d397-412f-de90-08da63f60635 X-MS-TrafficTypeDiagnostic: ZRAP278MB0317:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0 X-Microsoft-Antispam-Message-Info: B+QLYnrX3PA11x/nW4UQVV7Gk8TDJGaSZbW1vmzdNMbHROYQV19SYQ42cjv/Q7NDgx8FliPc0AIT6YLrr0EKJF33WDmxdVA0y20cAynoVQqe2RRZvmcN81VszcEIbfJQfqzHXHsGVTjXMq60ZmgTv4wDKzr4cBLG7EnfXqPCCos6+jQ4Dx/PmpWGh2hddrrniIiiHqp6BdcFtIRhkgYBc2c6seDcDAWaykoKCOx+IsK4jhypkd7wYedmp6j3STBXLUuE67PVeAC8ngRT/4jMLZ8utdH3SkUGDXaQLQcdfxbH13OMN2LJsviJcIoREc9GvLRGW04zbV/uTfp82gU4BWCBkMLm3mNue4CFAvvW9bq4XlMj1eIrBYzP/htyPTgrBkvuTXrWhJVW2Fuk+psFJKS409Sbm2VkzdP1g/mkgZB79JmWO1qBhfVCqJtE4dzgheZxjdCQl3X2ExueeDQoYfbxQ30TIiCx+5GD6GnTd0AdMM64UNOvnjqk+NYEo0u0/fA+ouDZxBt6so/9QojJfrmAcLOr0VEzB76alZIvuGMNn10x2gV9I4V6XW98nU2n1UoCyOr5dWdXauEk81+LhDfUPlY1uUmGaxNN4TxeER3vR+ecqu+nM+Dbdz4gNX50fDRKtWV2Ka2KXsTrD/3lcQ6b5rMAVI4dZP5plf2YNRYB7Y2kznK+2cimaj1xL/THOlWI9XoEqmQ4MCtOOt8Gw6mW5eshOqhtdstWIKWl/7AVRyl5aP0jAIkDWM+4uWsGqiVlVKaebfFX1vAuGU03KzgxKZAKsnSEuWdUgwpASJ8pobVPz8ns4kqz9+cZM8OM X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:ZRAP278MB0495.CHEP278.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230016)(4636009)(346002)(366004)(376002)(39850400004)(396003)(136003)(66476007)(38350700002)(1076003)(52116002)(41300700001)(38100700002)(2906002)(186003)(6506007)(6666004)(44832011)(36756003)(7416002)(66946007)(316002)(110136005)(8936002)(478600001)(5660300002)(26005)(86362001)(83380400001)(66556008)(8676002)(2616005)(6486002)(6512007)(4326008);DIR:OUT;SFP:1102 X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: R5hp3lCBY+T9sZGjgp4MjCqfR8ZZ2dYoe7v+9+gH2rhVJVsU8guDhcFJXg1fiA6evZQ3YYtsMM5iYDP+WkrN06o8owNNxXBndzrsZySUgzt/UxX5MwubP/M65aG48g8r/dTJG5l74SK5KIxvAhON9wuQcNqvn7qNQuESTP7MHrrKcOC792COpa/jEm2SLoB7ARDa40RcQfgNS7vuHlZz5degPJW2T7cLvj90xlB1/eH0qRzF1e1Pnv26CY88YfGvzsN8yHn1etecaaz1UjVSxcsk7bScT9s3VjdaZts8Wx/lx9f26EEJLr2xW6TGX5DGx8tfICycfhzbEhfOBpNiIfm0IHpKmbBia9YFkJ0d0I5oDOSAzcRv1IpnR/tA7IEp/iHFZs8y8iTUZNlVdDKIP5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aR8LgGnIXJun4NzB+Ki+wAz6BP/X67jiEJymCtqOxQoBq4DqavuphaG7JqHtdb53pv43r+5Qp52QETPmtOetirsha7ME8KPU2SLbZId6Kc90IGqzvZX2cOK7C5+AdFRxg== X-OriginatorOrg: toradex.com X-MS-Exchange-CrossTenant-Network-Message-Id: f46fb30c-d397-412f-de90-08da63f60635 X-MS-Exchange-CrossTenant-AuthSource: ZRAP278MB0495.CHEP278.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jul 2022 11:02:34.4426 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: d9995866-0d9b-4251-8315-093f062abab4 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: WAlbAdHQxokQeV8KSBduawvslQfXsHw+eJthIQ/BewH//vvnxeKIe9QZfRQCiZEGSyEBb/BxknR5ayCebClzWQGgrkbW5RH8BavEWhnI+R4= X-MS-Exchange-Transport-CrossTenantHeadersStamped: ZRAP278MB0317 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CDE13A77 smtp.mailfrom=francesco.dolcini@toradex.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: toradex.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220712_040245_585083_873E93C3 X-CRM114-Status: GOOD ( 10.21 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org STMPE driver does not require a specific node name anymore, only the compatible is checked, update binding according to this. Signed-off-by: Francesco Dolcini --- Documentation/devicetree/bindings/iio/adc/st,stmpe-adc.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/iio/adc/st,stmpe-adc.yaml b/Documentation/devicetree/bindings/iio/adc/st,stmpe-adc.yaml index 9049c699152f..333744a2159c 100644 --- a/Documentation/devicetree/bindings/iio/adc/st,stmpe-adc.yaml +++ b/Documentation/devicetree/bindings/iio/adc/st,stmpe-adc.yaml @@ -13,8 +13,7 @@ description: This ADC forms part of an ST microelectronics STMPE multifunction device . The ADC is shared with the STMPE touchscreen. As a result some ADC related settings are specified in the parent node. - The node name myst be stmpe_adc and should be a child node of the stmpe node - to which it belongs. + The node should be a child node of the stmpe node to which it belongs. properties: compatible: From patchwork Tue Jul 12 11:02:32 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francesco Dolcini X-Patchwork-Id: 12914760 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3878BC43334 for ; Tue, 12 Jul 2022 11:04:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=oInmZWP1P0ThnZYK6voAySsAX/6te5xUmhjvkOkzhMM=; b=ZmtnSQlResG3fA C0/FDdaPSMh1hzD32qs4d2EcrtK/twetpDuwKSkW+omg14w8jmeAtVv69srtlzdZKGg6Y61mxAI3W 1ap3NyPSyCBDnN57hyxvl7GT6WAJVkgDhb81wb8mQ57tj0LenTiRpHTI6cYrtygwDNa29trInYXxE Bq4rkFHZ3LAxVpPNjW07u1olfydYvmOw1aBR96tPUTE7S4rKH/nnpBDM23pUrv4TJUc+EzW6y2TrA HYnwRdDLtdhcQUlU2r3GFxaYS5UexcMbnu1DOlD6umy98/l1Hy3FItzqTbOCkdg8eaZ9rjSdQooEh OMKy2E4nPg1NtQEGj3qw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oBDfi-00AE47-Ac; Tue, 12 Jul 2022 11:03:18 +0000 Received: from de-smtp-delivery-113.mimecast.com ([194.104.109.113]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oBDfB-00ADZP-6E for linux-arm-kernel@lists.infradead.org; Tue, 12 Jul 2022 11:02:48 +0000 Received: from CHE01-GV0-obe.outbound.protection.outlook.com (mail-gv0che01lp2048.outbound.protection.outlook.com [104.47.22.48]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id de-mta-13-3X3glB--ONuAuMx54EhdAw-4; Tue, 12 Jul 2022 13:02:39 +0200 X-MC-Unique: 3X3glB--ONuAuMx54EhdAw-4 Received: from ZRAP278MB0495.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:2e::8) by ZRAP278MB0317.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:28::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.16; Tue, 12 Jul 2022 11:02:35 +0000 Received: from ZRAP278MB0495.CHEP278.PROD.OUTLOOK.COM ([fe80::3d:ca30:8c24:1a95]) by ZRAP278MB0495.CHEP278.PROD.OUTLOOK.COM ([fe80::3d:ca30:8c24:1a95%7]) with mapi id 15.20.5417.026; Tue, 12 Jul 2022 11:02:35 +0000 From: Francesco Dolcini To: Lee Jones , Dmitry Torokhov , Maxime Coquelin , Alexandre Torgue , Rob Herring , Krzysztof Kozlowski CC: Francesco Dolcini , linux-input@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-iio@vger.kernel.org Subject: [PATCH v1 4/4] dt-bindings: input: touchscreen: stmpe: Remove node name requirement Date: Tue, 12 Jul 2022 13:02:32 +0200 Message-ID: <20220712110232.329164-5-francesco.dolcini@toradex.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220712110232.329164-1-francesco.dolcini@toradex.com> References: <20220712110232.329164-1-francesco.dolcini@toradex.com> X-ClientProxiedBy: MR1P264CA0142.FRAP264.PROD.OUTLOOK.COM (2603:10a6:501:51::11) To ZRAP278MB0495.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:2e::8) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: fbc5a66c-a8c5-45c8-3af5-08da63f606ad X-MS-TrafficTypeDiagnostic: ZRAP278MB0317:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0 X-Microsoft-Antispam-Message-Info: Meup2MobrVbfQ3dEJscTVNRTEu5bXRry9LQ2Jg8SKr5g0dku1ozcIuiwSTe8CAgJriUHR/0OqbXd80H9himCe2CkeLevGqYukBdEffTXJP7sDW/eqfdjyu73cVnYVTXtuWYjtQ5JmjcSjqQ6L8iDEMqHvli7ehM8z7C82e5w9aZC1i+zaR9lAg66hES9JjfAxY5DIaT0QlpxSt5OjhQ3ObpR3ZWmPX2T87ASkDu1QrMUi08V7vM7IqLykmJONSUcKeSO3rvsy96LIKV+6sb5xqdfG9X5qasc606WDiytWWhvbYiU7ZpN9INHdPgCsXTm/HvDqaLysqJYqfYjN7AccKeleG4DyvNfQJSh22qPpJMc5jQyiToSOSIJVhTfnGy+y0fV6mI/GGug9yP3yb76XdFvK4VRFVKSJ4lF31/vbv30yqIkKMg12UlS5IITE5qOUhIhd6G1ZDLgLbXoHKSyFbnSGqliQqRbic3zgCwecQZqxUUoQ7FYmnWGdbMRZqGC671sYACOjU8NAa5wgpDbQOcZgFuSvgSj/yGj/LiXW2BneDGp9uMX+hYqyxl8sqaMZ1gUGljBfZv/sr5Kh06hFxjDoJSOD6UnK0tEVdqWQEsmmy/T4EVDPazGwZbMqYDiTtUM5fmKumnVdkex0qLKJsC4XT7S/VRWrC929N1nN5Yyv60p3mG6fAZMjxy5Q3DeEktxHBFsYK3JWINn9nfV6ZDb7Sl6AFUuLCTAFEaTSDAgwiGNrNc4otSK4ZGeVP3RD8ih2rGiSSCTkVHOQrOEOtk/um+qpn3L/w86bNPkkSEX7zp7vpcNeHo/BY1BrQrM X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:ZRAP278MB0495.CHEP278.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230016)(4636009)(346002)(366004)(376002)(39850400004)(396003)(136003)(66476007)(38350700002)(1076003)(52116002)(41300700001)(38100700002)(2906002)(186003)(6506007)(6666004)(44832011)(36756003)(7416002)(66946007)(316002)(110136005)(8936002)(478600001)(5660300002)(26005)(86362001)(83380400001)(66556008)(8676002)(2616005)(6486002)(6512007)(4326008);DIR:OUT;SFP:1102 X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: ud9MKl50gj/9XeL+A/pmBK3IDePNudQK3WG6SG4XR+NoSH64BCngxZahCfZk8C/R3nIRwLZK5rfa8RGnWYBMeU85lFm3UZaAFmdh8dpNf01NIoZDu7oJCfsAQ1XRIuCDmocl0Z5d7JhCS/s5CFs8ttmvTvS0eJdLw6e3WENIEA46pz96CA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tp0AjsfrjUeCxfMpZUuDT8cwLVtrwgTPNMXOLi86wuKrT68NzVTEEL5giGAT33gxABR127tSz93Sy5pvyWa2TX83VBdjAwWWb5TzKrMSt1UyeZgdnqDwS8O1UzJTuKMqRjQdsQcsHpeESZ9YoZgv3Wa+tP/JXihE6zfoYUXofZn8BffhIXKmWmL9vfZ29gKSc5osA2ETkFD1mTLPfC6ehrXQibbHQ66TzdoAyNQfHvIKd/YH5G/XOm83Qc8Xd2SFvdUJg/V21h9TF+/ZzNWwMETtMgGmXic9MAzG6kwRnfYw150BElwmy4vg0H5olxUQAbxkjpLet6GP7ivWlWlsXstT2K33SObVKL1fSUN1PC/ybU6ikowbg/P/s6Q== X-OriginatorOrg: toradex.com X-MS-Exchange-CrossTenant-Network-Message-Id: fbc5a66c-a8c5-45c8-3af5-08da63f606ad X-MS-Exchange-CrossTenant-AuthSource: ZRAP278MB0495.CHEP278.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jul 2022 11:02:35.2092 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: d9995866-0d9b-4251-8315-093f062abab4 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: NTz4EGCqEMzwLMRKrPnjLQ82qGUngByD64V4HnCQQbErsDXCJp+x2/jZbUyS1I72xIC5BhnxyKRVOc97bG8iOkO/mYUjkK6vUx2RgaPoVLE= X-MS-Exchange-Transport-CrossTenantHeadersStamped: ZRAP278MB0317 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CDE13A77 smtp.mailfrom=francesco.dolcini@toradex.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: toradex.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220712_040245_617466_D998A4C1 X-CRM114-Status: UNSURE ( 9.90 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org STMPE driver does not require a specific node name anymore, only the compatible is checked, update binding according to this. Signed-off-by: Francesco Dolcini --- Documentation/devicetree/bindings/input/touchscreen/stmpe.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/input/touchscreen/stmpe.txt b/Documentation/devicetree/bindings/input/touchscreen/stmpe.txt index c549924603d2..238b51555c04 100644 --- a/Documentation/devicetree/bindings/input/touchscreen/stmpe.txt +++ b/Documentation/devicetree/bindings/input/touchscreen/stmpe.txt @@ -54,8 +54,7 @@ Optional properties common with MFD (deprecated): 1 -> 3.25 MHz 2 || 3 -> 6.5 MHz -Node name must be stmpe_touchscreen and should be child node of stmpe node to -which it belongs. +Node should be child node of stmpe node to which it belongs. Note that common ADC settings of stmpe_touchscreen (child) will take precedence over the settings done in MFD.