From patchwork Tue Jul 12 16:33:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francesco Dolcini X-Patchwork-Id: 12915321 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 1E6B0C433EF for ; Tue, 12 Jul 2022 16:35:29 +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=etvZqn3NOPk3rm5i6aNh6uYSqmv9rBKqXG3p3mbkVSA=; b=VQKU0puEmSdTdn G+bOkt7N1zSy5n40meq2Rwhuakw8AoqYqvRjU29uiwMnmnU+umFU+bJo/CmNbfn1OGmq7yBAg8o/s O/eILKSEoNXrjVyLF08MvwXdi1go9NzZsHFwkv+ztyH96xSbVLRjRBXrjzSS4a/EARW0l2RvLjPnB UPtlSTH8W6XUqvrI3t3C1fK2bsJG5uYe5USUFH8OiZYZ4Hfz9dqxoiPWNm4FVAuzhVUpcxZRJpApH 5SsTn0L9KQ9ewCWgZkzxR1O8iyPQ/a66WAyZVfFkKKelv/8OpvWcPnVpJMX8nUjMQziMnbxdMPZ8/ BTWSbPjHrXcSwj4z4BNA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oBIq6-00CrHM-B8; Tue, 12 Jul 2022 16:34:22 +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 1oBIpg-00Cr3G-SN for linux-arm-kernel@lists.infradead.org; Tue, 12 Jul 2022 16:34:00 +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-22-lXjZf_bWMVmIFl8yF1cEaw-3; Tue, 12 Jul 2022 18:33:50 +0200 X-MC-Unique: lXjZf_bWMVmIFl8yF1cEaw-3 Received: from ZRAP278MB0495.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:2e::8) by ZRAP278MB0173.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:2c::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.15; Tue, 12 Jul 2022 16:33:48 +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 16:33:47 +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 Subject: [PATCH v2 1/5] mfd: stmpe: Remove rotator block from probe Date: Tue, 12 Jul 2022 18:33:41 +0200 Message-ID: <20220712163345.445811-2-francesco.dolcini@toradex.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220712163345.445811-1-francesco.dolcini@toradex.com> References: <20220712163345.445811-1-francesco.dolcini@toradex.com> X-ClientProxiedBy: MR1P264CA0165.FRAP264.PROD.OUTLOOK.COM (2603:10a6:501:55::13) 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: 3c48593c-4c2f-409f-a9b2-08da64244b77 X-MS-TrafficTypeDiagnostic: ZRAP278MB0173:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0 X-Microsoft-Antispam-Message-Info: DzNsB8jgWf3EzASoAEC3cEf8DSQsDVIbh3M0iurdaDYGHFdcbjDHp5YUaFlNc4IF/TOsCJgxsuvLjYJ3V3pMjfeUP+DaOHiATyQOB7wEojrBhvlujU6KGJNkUjf/g2nQM2uH/41tZgLueOZb7s2ofDafgYLdDTi1U75ZSLiCugWelmyL7PWAYA3eKlD2QRGDE+LfTsgr0Lbv9bL+UzI3gnZ3xmCRmuXIdbv3B/muAMySlmolsd1iXqEodvoTNZA8P6FJo22ncDD3DkD7tvPYtvEGmNLCyownN8ONuFJxyESS3MNB3KeK6Ev1Em+nnjmRjzav8+hrs4bpCw0sGKYja06WFSV2xXvGFZCbijfVznAkqrZyMRrs4ps9GUG+/eu9sxXHJFRoZC538m9JdzEu3Rj1o0EuOrLmrl4qpex4FTS16qCpcdvw4P1oxCrC3iMGsfsUyGnzt4sMyeUIwc2rnNVFVG8p4dwL/Nd8kxvJPH5GM9HDKFgP1l5YNcx1kAhhIs6pJ3Bsq8+qUZ/KnuItptS1MlnErE96IuLvS6+ZmolesiJo75mSw+omT55wVzZFLCY9HySq2pKoIkIUjPUpUDmvwot+nbN8KWiUKk75MJ3QGo71UnKTaK8vx5YbhxxDoMm4reOptIRcsdrafVWgkd+jtbZAuWQW7W02yw3/W5BHAhvZNyBD4k4mYuyJ9amiT+9yRAO7Z6L11FZWIjm/zihJqIGLSFrXiniLpnUuP/NWKY85g8BypLpOzZtA2Otc88x/2ji8IWlcex2UzzTSxxU7bnZ3Yt7emSisTyRT5IsRP2AzIJN5M0q8x06biPSs 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)(39850400004)(376002)(346002)(366004)(396003)(136003)(478600001)(44832011)(6666004)(4744005)(36756003)(6486002)(8936002)(41300700001)(83380400001)(110136005)(316002)(5660300002)(2616005)(66946007)(26005)(1076003)(66556008)(8676002)(6512007)(186003)(52116002)(4326008)(66476007)(2906002)(38350700002)(6506007)(38100700002)(86362001);DIR:OUT;SFP:1102 X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: tgYNDfB/hdOTNpML8YeG1s2TVu2uOHp+yrJU0rmCFBRa8OWpBIDgUQLheY3YXLZzmcJR5y6kjDef0YsjhYcN/+JMvp4CRIxvD0cq6zKp+mfuxje1R75Yx7s1eJTbJPdbEnE9vVjLyWM4TWmzaNe+T5Ms81+luFqDnhGQgkYAJYu4L5DyVoIErkhg/CjgDc+bWpgLsEEAuyWLc/PmCyFjwQfXkCy/ghacKBGUMiZo2dew6ye/ONqHF67WrF7Hz74HqbfCdtFfg/I8LRZ7toKqm4tM0i6FCwtkMLAKbc5W/avSxWSPcpkt081pVtaqdWidvusGqzuUyVwJKjIEbucRDX5WAAywM/99/LYLB/hWm42HfH6Sa/QAnzLdkibH8vUUzBavwW4gRR1cbQsC790k4BR8pH/DWxDoY9AjS09IbmV2faHpF1BSm7/kCxoadWA8QYVHaETziTlZIOfEx6MIiMzkqrbnR/qVxawHcD5iubQ4vyx1t851CvUcd/yNZYsol2HvTX4L9jc4fBuDTnv6V8y+btQid5Z1G8BUNNFe/UKsMyV7rnJezdSmigZ8Q6lWIOwVHy9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-Exchange-CrossTenant-Network-Message-Id: 3c48593c-4c2f-409f-a9b2-08da64244b77 X-MS-Exchange-CrossTenant-AuthSource: ZRAP278MB0495.CHEP278.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jul 2022 16:33:47.5341 (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: BEwaokeWcaSAoF0IYi9Jf0RwS8Vws0P+DzLr5Cenp+dT8NHzNhsdX2wV/yGmxtcQYY+KbKQPk0JEICalmxApNlETehPu5Kg8gVchJMMxZBA= X-MS-Exchange-Transport-CrossTenantHeadersStamped: ZRAP278MB0173 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_093357_274410_E37AA588 X-CRM114-Status: GOOD ( 10.02 ) 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 Remove rotator block from probe, it is not used in any device tree file, there is no related cell defined, it's just dead non-working code with no of_compatible for it. This is a preliminary change to allow probing by of_compatible and not by a fixed name. Signed-off-by: Francesco Dolcini --- v2: - new patch --- drivers/mfd/stmpe.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/mfd/stmpe.c b/drivers/mfd/stmpe.c index aeb9ea55f97d..4aa4ac2ff406 100644 --- a/drivers/mfd/stmpe.c +++ b/drivers/mfd/stmpe.c @@ -1372,8 +1372,6 @@ static void stmpe_of_probe(struct stmpe_platform_data *pdata, pdata->blocks |= STMPE_BLOCK_ADC; } else if (of_node_name_eq(child, "stmpe_pwm")) { pdata->blocks |= STMPE_BLOCK_PWM; - } else if (of_node_name_eq(child, "stmpe_rotator")) { - pdata->blocks |= STMPE_BLOCK_ROTATOR; } } } From patchwork Tue Jul 12 16:33:42 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francesco Dolcini X-Patchwork-Id: 12915324 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 7FF41C43334 for ; Tue, 12 Jul 2022 16:36:37 +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=ElI6NyRx/uGfwRZXfORN+9K6vSd4wvYrwGueAkD1HoQ=; b=TuMlY6OXuXYZN8 y5WqZ4n4jxbZiTAmUGjsuDYwUAyPnkQQ7jzM2rY/8spD7oekh41IxTfeAcVALSJ1regdP7raBI7WR ULFqq4vzdwePB4RLcUMQ355iZjEa6OJdkHBhrB2Q9XbkOQAvXPVVSEP8hLkptRnJG2AxtkYeXLRx6 9iDBp8DF5vHf4ueIQCPPOzr37jzCtz2pupAnkJt5JEJ8gZi0rEfkSAIjLr3NKdoeJhUSVb0v+6DXk Kv7mQB8dMOE4AogtNVNRKlhoD2EY8OGmRTZna/8CklPFQkiSe+4HaekzDH+6paERK5uVHvaOfk11K ntzq0crOvr5CH6+ifnnQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oBIr4-00CrrG-On; Tue, 12 Jul 2022 16:35:23 +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 1oBIpg-00Cr34-SU for linux-arm-kernel@lists.infradead.org; Tue, 12 Jul 2022 16:34:01 +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-22-RMZy1JirNn-sjAT-K7IYzg-2; Tue, 12 Jul 2022 18:33:49 +0200 X-MC-Unique: RMZy1JirNn-sjAT-K7IYzg-2 Received: from ZRAP278MB0495.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:2e::8) by ZRAP278MB0173.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:2c::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.15; Tue, 12 Jul 2022 16:33:47 +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 16:33:47 +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 v2 2/5] mfd: stmpe: Probe sub-function by compatible Date: Tue, 12 Jul 2022 18:33:42 +0200 Message-ID: <20220712163345.445811-3-francesco.dolcini@toradex.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220712163345.445811-1-francesco.dolcini@toradex.com> References: <20220712163345.445811-1-francesco.dolcini@toradex.com> X-ClientProxiedBy: MR2P264CA0144.FRAP264.PROD.OUTLOOK.COM (2603:10a6:500:30::36) 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: 615b4774-40a9-4985-a9b2-08da64244b77 X-MS-TrafficTypeDiagnostic: ZRAP278MB0173:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0 X-Microsoft-Antispam-Message-Info: wULL2Qvbwqj3+4wWPDq7bm0L7TPQxKzRgJkrW03HWJ9s+TgYVYszoZ7LQaUrUfcbY1jEc0KexmwB21ubewwi/lcWddMS6upsvjf/tycQTCzO97l/tWkZKkNjRYyGZAp1jMlIIfipCqEBHmlcCzVWfPUIlHAcl1Bmi1S4KQmW07Vkv6QYnQobQJfR3Ot2cbKiECuCZmHeQKED7QCxEqmaPSSxWHnFw5oMvBfkxE4f45No4ZJ5U7+aE7ljxnDq/M7TzN4kCWM2z9gTZprkD3TfQYLev85nz5ukA6OxTbhCsjkExxmitXkwxEJqSCjF5fhe4wtEakcmCj1m7jUMn9yqb9S0eNhN2n+pk1XiDRzkrqoevWpkaZoeSLFd444mXquhBqi+/VpIwGBiVpAqsR0o2Mgxu36sXxObKTaVeiNUuGqZOwFuFL6Fk5D1s12raHyXGKwOXokQUeia57CfnbQt/cfsuY0BUL8hDS/jNxsv1JvLcFOBAEj/DQAiRhH9yginEMsBo8HER4Zcn4pUea2X83H3uatMRnJTnZFfDvnw4ySeMjNJV0cI9BUW+xjezLYmjbDEXqlk1WVTaJ7FrF1XyQWiLm3WjPbI6HQxqBq8xMUPbtPuMG7Ipm2imqDY8kEJYZPeqT5TUqkBQzW9ODh7jj/OPnyUyHE2V7JV4diqV4M5bjk9YYVM6zRtwRO7IC7qIBEs4ghXLEB5OyK2LT8odGxZhRs0YkMoLdAeqcnXZIlpr7gIGr9+QZ67KCekjnl3xl7Ia3wVD+DRaRxx6Pb78bld5WH+DDopi9MHzbs2k5rQR9Ed+0CLhfisK/cOvJja 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)(39850400004)(376002)(346002)(366004)(396003)(136003)(478600001)(44832011)(6666004)(36756003)(6486002)(8936002)(41300700001)(83380400001)(54906003)(7416002)(110136005)(316002)(5660300002)(2616005)(66946007)(26005)(1076003)(66556008)(8676002)(6512007)(186003)(52116002)(4326008)(66476007)(2906002)(38350700002)(6506007)(38100700002)(86362001);DIR:OUT;SFP:1102 X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: vwNnOiMo8cbLnNWHFmHH4YgoTBl46eCwFG8K7gPnzlC8S466HauzwF35u8RlfQZPNTZ2sZbT+rKKqzKkP9IMAOZpEtcWrHLwd7BmJ1f7td4WXKTgvhOGxVejmq1ibQPoWxCUkY6alv6whNOTFvY/rJWUSH1PM/PdDHKnB6rgKTea3++rYWAyE9CLI9QVoV0dZCzzG8MPwIg9xvT7dghZ27c+1pGfMXDgkS1GLEHzDoJKUqWfeMFlQgCO7n7H+PzHQ4fV/Nt0BxsTWJwOLew41iPxgQyizhFNAbID3T9JWdNAS01NGXoQSR7ggB1PO7e6XnqMukPGwMvc66Menll0ulXZ3P/HWHJDiu2AMdXcfP1LLLUvDhnb2SnKQp6Db6GquaQ57VQdxKmdFYFd5BekrKJUPORat8peCrmj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ESe/Q3AskbKk96kj0tze3zYHzQgiGapxwSczysr1S2M8ZLcvuHfsJlmuBgejqmDkSh7urFCV8OMu2TqiKTxnm+tRyh/wP5vhWeSjJK4K/BtQxhcfMI+cTWd3Z5ug7aRJA== X-OriginatorOrg: toradex.com X-MS-Exchange-CrossTenant-Network-Message-Id: 615b4774-40a9-4985-a9b2-08da64244b77 X-MS-Exchange-CrossTenant-AuthSource: ZRAP278MB0495.CHEP278.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jul 2022 16:33:47.5341 (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: Tqk+vkjL3WHilQ/VpbFnWQcRwEOs1ejq8NOo19ltGFtkzjkrfLg0GM4fDbvW1g3z9JV8Je8fS0Yhq3mGZEAtV6H21i9BCiUv1DFN/MskGII= X-MS-Exchange-Transport-CrossTenantHeadersStamped: ZRAP278MB0173 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_093357_291366_676B7B60 X-CRM114-Status: GOOD ( 10.49 ) 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]. [1] commit 56086b5e804f ("ARM: dts: imx6qdl-apalis: Avoid underscore in node name") Suggested-by: Ahmad Fatoum Signed-off-by: Francesco Dolcini Reviewed-by: Linus Walleij --- v2: - remove define usage for compatible strings - moved rotator removal from probe to a separate patch --- drivers/mfd/stmpe.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/mfd/stmpe.c b/drivers/mfd/stmpe.c index 4aa4ac2ff406..987e251d90ae 100644 --- a/drivers/mfd/stmpe.c +++ b/drivers/mfd/stmpe.c @@ -1362,17 +1362,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_cell.of_compatible)) pdata->blocks |= STMPE_BLOCK_GPIO; - } else if (of_node_name_eq(child, "stmpe_keypad")) { + else if (of_device_is_compatible(child, stmpe_keypad_cell.of_compatible)) pdata->blocks |= STMPE_BLOCK_KEYPAD; - } else if (of_node_name_eq(child, "stmpe_touchscreen")) { + else if (of_device_is_compatible(child, stmpe_ts_cell.of_compatible)) pdata->blocks |= STMPE_BLOCK_TOUCHSCREEN; - } else if (of_node_name_eq(child, "stmpe_adc")) { + else if (of_device_is_compatible(child, stmpe_adc_cell.of_compatible)) pdata->blocks |= STMPE_BLOCK_ADC; - } else if (of_node_name_eq(child, "stmpe_pwm")) { + else if (of_device_is_compatible(child, stmpe_pwm_cell.of_compatible)) pdata->blocks |= STMPE_BLOCK_PWM; - } } } From patchwork Tue Jul 12 16:33:43 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francesco Dolcini X-Patchwork-Id: 12915320 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 D389CC433EF for ; Tue, 12 Jul 2022 16:35:15 +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=TRwsliAjacd7mh 05L7PhlvOOZGnIrz8145fiJrh1zDiPJmMnqHm8BMHw7SbxsYupeZh6aab+tZxMCLguUNr7otX1j7m Np6ytd/TnVbv768gJFvfb/oc6jYSqSM5DVbyRcjb2qJxb4jDis8bzYw41hz96rlWyAtwD51AU3YVf GowX7fQRHKhN6NkzHsUb0Op2vE+8HeNU5tDKzjy+1TDM/l6LWPUQ2gqzK3kuusLd+lhxnOYkfflI4 RN1Y124Ahgu4nTp1dZZftHnEvmyzMY/BqW+RuHp//hNFBDZIfK+RJxn7TNWhxX6gC6tA1uqQoTy1d gmRG5FS9QlPN3WlG4MQg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oBIpm-00Cr7e-U4; Tue, 12 Jul 2022 16:34:04 +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 1oBIpg-00Cr3O-SH for linux-arm-kernel@lists.infradead.org; Tue, 12 Jul 2022 16:33:58 +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-22-1gN5Sj2RMx2D2_rj_tGOhQ-4; Tue, 12 Jul 2022 18:33:51 +0200 X-MC-Unique: 1gN5Sj2RMx2D2_rj_tGOhQ-4 Received: from ZRAP278MB0495.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:2e::8) by ZRAP278MB0173.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:2c::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.15; Tue, 12 Jul 2022 16:33:48 +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 16:33:48 +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 v2 3/5] dt-bindings: gpio: stmpe: Remove node name requirement Date: Tue, 12 Jul 2022 18:33:43 +0200 Message-ID: <20220712163345.445811-4-francesco.dolcini@toradex.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220712163345.445811-1-francesco.dolcini@toradex.com> References: <20220712163345.445811-1-francesco.dolcini@toradex.com> X-ClientProxiedBy: MR1P264CA0166.FRAP264.PROD.OUTLOOK.COM (2603:10a6:501:55::7) 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: 707111fc-4bc9-4aad-a9b2-08da64244b77 X-MS-TrafficTypeDiagnostic: ZRAP278MB0173:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0 X-Microsoft-Antispam-Message-Info: 3Ln/9lwZwSVaMArEvyXG/rSmmURIur93y7g5BwNtZZmH2oLRIyFtOpyfx57ooEf/YI1CCQXKO+B3/9fW5Lpz24cZG1Qz0+USkhBXZipl/2u5XFEBG8M9ZYh//mCq2L4sFXGASpZjeJ+iYv33b5aK1hkXDBUqNZOS2L57kECot7rRs1FdOKvO1B1UrXE9ICGOertysGFL8n0oTNstD1NQET3MVPPORRcNY5lC1I/wjyr1Y2sSihvjQo9o0dm5e6rlWD9RQX6goOGBOCkE/AoEl4iaKb9jTPTDKhQJ6ouNcfK2o+md/XML+cBtY9Mj8QuZ9o0344KGRNX2DuwmWPVAIHTyEgIfd/zm5taI3dO8rBtD6gpRcNQKFtVwXX0vRJpYBFpyEYh/+Uk0SEho6E8buxfvv8DimvLFKE+rFw3rq3CmOdyDxDdAvGayIEDob2ZHCkP/kKHFSlbT6YHtlvINMjhFVDO2wgbZz6TQ2HURd8BPT5Zg5lMTraLn8H8bcIxMtYPrH5jn8tZmS0Sel5gYK7pC6OUX4Pxv55oBAZNeUg36Hmmu62Z6BB6qPyawlshOzaw/Zinc/JG/eodIpArPNGftIvLXvpxlwwpd5iNDq3i6GJuImdAd2K7YS3gMkHX4gvd3awPXa6QMQqmBOdWXOuJpaOpxHgBSotXNGoTb1f1wBfL22APfA0TyMc7POT38A/KxxIo/75KWU/MwnSA6g7y4pnjuiS1NWblr+MNWWvWESYa7D0982hmJDYnYCwcNxDGk0ldUESEh78p+nRROXq+jqaXLsLgly90m2XTiMBr8xxHI6pL39JQ8r+kkZL1L 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)(39850400004)(376002)(346002)(366004)(396003)(136003)(478600001)(44832011)(6666004)(4744005)(36756003)(6486002)(8936002)(41300700001)(83380400001)(7416002)(110136005)(316002)(5660300002)(2616005)(66946007)(26005)(1076003)(66556008)(8676002)(6512007)(186003)(52116002)(4326008)(66476007)(2906002)(38350700002)(6506007)(38100700002)(86362001);DIR:OUT;SFP:1102 X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Or+D/Zuo++nlwvdkKnHTMaR/9ojgyjPk6wQGxQPhOdUD2F7k4kSnEj5xJqXWSFXpod/VnzITByvZiUOXk9TRxcy7T3nP97FmgjJsT2W2NdzSyXNXEmTDwV+Shf+My/1mLBG/j741ziOJbP19e5BhNxHAY0P74HqyxdrxlyZ83YONBo0FsHo5+e1QkFB43ARnxkoiC5xBENhzpa0rEMqpOj906m+wXwiMeefGUDy8e0YbY9ONgb9FZOlCeqgFRvf2zf6H6dyk0IKi32x0aU6Z+FDC6Msj2PtFOeo+JJLoJcUTTzkXsPv6RpAb9WFN7d6u2u8SMYPlWfDYJSBvPAVeLDVdcAkhOb91HKH12HrhruAnNgDlUS4FDSB0pKLZUB1vAWjLaOBLC3PgOiuuGzVroQmEgQ2UstwoQ+SZu0xnbSLcrDSMqIEmTARuf4FrkcFat6czWE0Cmvw9fHLPuX6y8YNi6R22pxejxtz+rWWfXTDiFMSnje59UE10jV0ClTzwH9WCQxfV0jgAQ9zNYppQcegDFHO1LESqzdhwTB4bHVf7VDdYfnA6+zxlXx3/JeGmti3Feuui68VC5T8MJh0irWQDqbVRr7AOfxtRQDqSZXTKRZHU/wE/LFdbQpT/hm/lsR+3xUidhE6w5Zuf2AHS4wvpjK+kAb7a/Cz7sHq0VtZjUH95z3TJWg67T8hsWjcpLsWBjotHkhJc2fUTBcTMprkze7mBL2bRre84K24tb9fTlMVjD56Zi0waOYv+MPkrLJCu+czOenBBciR/hmr0EyiBKiLBktrJgv+A6iDNIGjrnGtt0iBv07ilBrZIllzw6FILWZhal1PoXvIDqD4St78pvcEvXBfFIHDuSPvcEGHJeRYUqK+XTIABEh+c1EY6iDe99ZR5zROy00Vo4DiX/p5pnGPsy/m2i/XaBA3uZUmnoNHgxTWKA/7N9TWCrpMYyoKvtjpeuQE2tNEvb33KbaarXX9lNtzdh7bJluqTOY/8glp10aFYlbjiDR5WKCYQq71jjwVSb+T2r0vExnabCfBmg0IvMV0F1Ljoz+qXA67+RuPOqx6Hm/xMQ/QkQi39a1rOAqPB/GUOZy+xyRR3bd0i0mScBZMt5NzyUqWUzXx+ceweBZLQwffuaxwQGgWls8IyH6exNKqA+zQiNtHC03rbkxsN8+4TRi/uI6rvEPLq2ZMz45lOssAFH5i3HPRIi4PLKT7zzAZTGEoqJM5YD6STeUD2HlWn8QaW0rvl1CKmfNbwnslzRKzrYOE4Q6iAP4lk/W6tftzInKyaXAEsr2tW5VyS4u/yEPfSRkM1PXq2cNdKGNbT5bwp2ETi2WlueMgmsqdzhp5CJPgeLdCG1gqzT+//Pbc47KBxXtpU4hk7KaUxr95VxxOG2xfu6b8VAXpQdChAK3FJJtz2/eoFduPuQvKeShg23RIJ7cyGdMMP5jOMK588PWOlqeMdFgheG3siMNEGPxwzMzXvYfU9nByWQKnB/2iVFz1TtKcX6sBvgt/TpWETtePjoRQGqcsVvHyk4cLmZg3SuHujmzn+yiXFYNebDJSIytNntFBjyWMa5l2DCzAiWsO6yBFfpivN5fUL/XYj+V9IqvmHM/TD1A== X-OriginatorOrg: toradex.com X-MS-Exchange-CrossTenant-Network-Message-Id: 707111fc-4bc9-4aad-a9b2-08da64244b77 X-MS-Exchange-CrossTenant-AuthSource: ZRAP278MB0495.CHEP278.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jul 2022 16:33:47.5498 (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: aGf3P4U6dPMyX7jFZ1VfwRF+FQiJztfD2oaRD8CrODU7lie5JljKxGYn3YhQS2dIcnQW2LqFvhpiveBXlB6cDzNAJsbwU5xs/BlAnd3L/aY= X-MS-Exchange-Transport-CrossTenantHeadersStamped: ZRAP278MB0173 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_093357_265009_C6C5B8D4 X-CRM114-Status: UNSURE ( 9.75 ) 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: Krzysztof Kozlowski 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 16:33:44 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francesco Dolcini X-Patchwork-Id: 12915323 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 7061BC433EF for ; Tue, 12 Jul 2022 16:36:02 +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=m7V8UFOZXVgR2a 0u8j/WdGsb7St4RTGEng+1z99RCmxh2mOt5QujADltgkbtAGQu6U4LiYtaXNj9/8pSAmndf3Q2Yk9 RajJcG8dR0ddn68k5VJmPPlD6LDSY+06j/tutq/0NzBLa3Ws3uvISOaOImNazucEsj2Jn/Gz2RY5K XueazQ2qFf+Ena0IeENhKhFsKv9434+RfCasNpxanAiILFk+30eNuNmkDB7DPl32UYkaLWE3fFYEu ksV+2aAQ5XrxCOTwurcApnH+RgZtm1FxtoyTTVlL0vDGMCY2Csn2DIDRvfQusg+nWBB88eSqig+if W4xPlaupXQsYsFzLVGLg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oBIqe-00Crb6-VQ; Tue, 12 Jul 2022 16:34:57 +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 1oBIpg-00Cr41-SO for linux-arm-kernel@lists.infradead.org; Tue, 12 Jul 2022 16:34:00 +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-22-E2mTeXWoMASY9MO6aM2sZw-5; Tue, 12 Jul 2022 18:33:53 +0200 X-MC-Unique: E2mTeXWoMASY9MO6aM2sZw-5 Received: from ZRAP278MB0495.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:2e::8) by ZRAP278MB0173.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:2c::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.15; Tue, 12 Jul 2022 16:33:48 +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 16:33:48 +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 v2 4/5] dt-bindings: iio: adc: stmpe: Remove node name requirement Date: Tue, 12 Jul 2022 18:33:44 +0200 Message-ID: <20220712163345.445811-5-francesco.dolcini@toradex.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220712163345.445811-1-francesco.dolcini@toradex.com> References: <20220712163345.445811-1-francesco.dolcini@toradex.com> X-ClientProxiedBy: MR1P264CA0063.FRAP264.PROD.OUTLOOK.COM (2603:10a6:501:3e::30) 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: 5ca9073a-a894-4e67-4591-08da64244bcb X-MS-TrafficTypeDiagnostic: ZRAP278MB0173:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0 X-Microsoft-Antispam-Message-Info: /NARff+3seUVefQDSsfvjyj+Sxo4CwbjbPpUyRY51yJmpib89/aSW39qokAz55y889i/pd3oiYcoQuUo9T4oZH3xWXbLHc/8UYat96TCuCu6MNA5JRpUsQHApXfMq/Ns+2W4pwhFQxg08oX8Cx/GIdU6cmSvyfMyZUG4i2FXzxCwiw4G+4Omn9ozkYCCwNFEAc0/cFImyYHszwOObH+Kpy2pxRu5Uy8RYocXZlvll52wTDuWJaCznaoR9ihH7OQLQVmNRaW56hNU6qUq+yPsiOuCJOVsyyvz4EROKZ4pbZ1yxPP5YzMnwqcdiUI0whJjCqy7n1nNCjQMZOWftJLsMvL4pFiqahDTMx+cjDATcNl2no5E5vUuxmughMpk7dwjXbreZNDY0G1eLRGpqqPtqpwOquIPv9YYi67+aXRkq7EH209ZhAQ2mNQFOILFO1VTPGo9uiX4/WrIjjyQTzekQ8L/0+xfwI6DyfNcG1XcWVBdN6/kN9Vwoqs6LNzhHR6hKYdWqZ66D3cb3DFFVuouYwbJ0nrxzg00ek1WYnLqa3te3QdlYxAwZPvN3E9BdFLxx65VGPL2DRh3T3qLqkOqbG9h2xJO2tCn9YnDRJR3hS6I6C9UE/q/TmgQ4JQwhCPsgSQcefv4ZO0C84N6W9/aV41YZWUPaXAv791jTEtNDvAvQSfIbyDZR8PAKLt+sy0R4FJxRWNUuGU+ykeYZZMd4K+WTt6mAW0nJ3BFbGhlHrXZo2+o+DigwoWCzJ04va6+h6ha26Fq5nuYBScVn70entk3uR5MIGTfFbFaNth8AZdzuBqhdIsM+n/J4rcC4hkP 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)(39850400004)(376002)(346002)(366004)(396003)(136003)(478600001)(44832011)(6666004)(36756003)(6486002)(8936002)(41300700001)(83380400001)(7416002)(110136005)(316002)(5660300002)(2616005)(66946007)(26005)(1076003)(66556008)(8676002)(6512007)(186003)(52116002)(4326008)(66476007)(2906002)(38350700002)(6506007)(38100700002)(86362001);DIR:OUT;SFP:1102 X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: zKzFlUCz5XS+0Z7ndbK8K0o3Ww3NDNXjdwnyrwmB9FF3E/K7/UVXcjwnICoA5B0DxBCnmGSicIzTBJqR+i7ushf7LQRfZJjBlF6jkGYajB/DJJ/c+XcUtm0q5bnlo3TI3YimmIUh+sjQXcyzdf+zMMVGfvmUCJ7stvwQAfhA0CRcXarRTxAKIKpNDCeyJ01n4PyQZ6vykwIdOcRlUaOEgYHblqBiAyNcNf+ZqNUvBMeo6SyIqBf7xCOByRYmfKJf1+hisYOLJvRDSAxX3gKkCEM9MQlzMjYYd9zUtKKLSOzACcuTq5CkB7aYuE3crI+8Wvy6lvheoCmCbO1sGRoUuHtWj/hhVdWhs7QM5PhOjokitaGnu96i3M1Ovezr6GI0PRekYolGTSl+wuANgL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ku3UDoMRw2O9teOhEkDhGaD2Y4p7z3od2cJuYIcWXx6RoODyYzGKk5gniPWfv7olufNcsdF6wW8814H7gQ8Fo7B6ctsGhiNe1nShqFEu+x5e5gtZYBkI+UlT+Q52t/7DRvjKpYN3DfsbgbmQ== X-OriginatorOrg: toradex.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5ca9073a-a894-4e67-4591-08da64244bcb X-MS-Exchange-CrossTenant-AuthSource: ZRAP278MB0495.CHEP278.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jul 2022 16:33:48.0184 (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: 38Qgu08z1PXxgQnUHKJR/3lhsxp7SfuCWijrgcCS39zEfdXbLi61cK69ABCHzeXRGptexo9YfmMrLfiwSuL/qwXMupmbPjoh3TEERqjkI28= X-MS-Exchange-Transport-CrossTenantHeadersStamped: ZRAP278MB0173 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_093357_253975_282B785D X-CRM114-Status: GOOD ( 10.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 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: Krzysztof Kozlowski Acked-by: Jonathan Cameron --- 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 16:33:45 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francesco Dolcini X-Patchwork-Id: 12915322 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 7407DC43334 for ; Tue, 12 Jul 2022 16:35:40 +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=S+3nee0pfaI8qW p3nsN39CxEOMavtNGttALdWqBotbbtse2iPDJeavkHBfA+zipH/XQV7muHZJhV+EbTyCDPp9jwwj/ ssQFc/qUEgCPMp8s2jacdnDesjGKOpfRwaQoq8KfeYO+UzOp7qxoYfvo4RKg2Inbd1omOHd2A1vtr 9z64ew2tKl+HDXav9UjVmnpurzLFscRQTjVtoLeh+jkH+iEVdjQphdL7m21bJvpAAt0UVBJsy5A5K ETyQi7+czRE8jgAREeez43m2k9ZH9GJdF8Dtd/hXn731XsxCq0Lhv5O8Fpl369mHTIrVbyyb6eEgJ bC+FlheFCHqP+a9m3DFg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oBIqL-00CrQN-Mu; Tue, 12 Jul 2022 16:34:37 +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 1oBIph-00Cr4U-4o for linux-arm-kernel@lists.infradead.org; Tue, 12 Jul 2022 16:34:00 +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-22-YhE3n9sQNaiEuQ0SLJnAOw-6; Tue, 12 Jul 2022 18:33:54 +0200 X-MC-Unique: YhE3n9sQNaiEuQ0SLJnAOw-6 Received: from ZRAP278MB0495.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:2e::8) by ZRAP278MB0173.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:2c::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.15; Tue, 12 Jul 2022 16:33:49 +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 16:33:48 +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 v2 5/5] dt-bindings: input: touchscreen: stmpe: Remove node name requirement Date: Tue, 12 Jul 2022 18:33:45 +0200 Message-ID: <20220712163345.445811-6-francesco.dolcini@toradex.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220712163345.445811-1-francesco.dolcini@toradex.com> References: <20220712163345.445811-1-francesco.dolcini@toradex.com> X-ClientProxiedBy: MR2P264CA0141.FRAP264.PROD.OUTLOOK.COM (2603:10a6:500:30::33) 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: ef14eb12-6841-4609-3fbc-08da64244c09 X-MS-TrafficTypeDiagnostic: ZRAP278MB0173:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0 X-Microsoft-Antispam-Message-Info: +OHKvMfKQtyjN5h7PV139KkarzLijwAPlwtrwS1sbqVXNLpqDN49j9REc9dx7F2HB6O3AFHY/RQyz1bcNKH/RV9Ws3am9/f/c7tI6TUxKflKq+Kx1R0KWJa8O+FXq79a8mve8XLQX+FUlSrIi8o21BCVHL3fQXIfpeGNt4Rm3wd+XzsHT6guJFMonHia5Vdx1cmOAi1Ft+Y0WWPviR1HRvlC6o6hCQ80jx9tVn6aKBscR4T/JQFypMZSO+spNNd+s4/ixxUqrtinl5z694XEZbOVOakXTe2/DWvi8iWkOPAYm6Wq3DILYmu8d4oVKxmYan/MBfc4/CV0BBJWKCUjv2uR3UD5DIJvuu5VrHHR8xz4V+jrXNcHCqJw9Habpljtdg8qnH+i961lxmUh9dxAO3xrtjpswVDyZXgThnLSaqk+pA3zfK7VUj6G3iZfKfeUZ5jM1F3Nf/IeIR5aNV1LTZERBZzN7JZnJNfrt9a36mMgk6Q0B2N13uIweDke+g+8B29Rrni7i0nHxE+/vvkZtCmNjnpGDHvEyntQdblZrdXVLitCTITUq/cUwDotKIpVcGJyiJCDaF/rniGVxoklEjQfXjM3ydL3J/dQ/umGRJkPl+GI7DVxw79NExyuWsBSc2H8xOwJONF2WhBYo5TLaqkow1YDkkYLpqmHfjTCRwcfjgpm01o2My+N52cTwYvojgeWDfL1SKD6dNfSu/XWUd2bRgszS0yzj2zaT6D3OvxXiqnLoWiQ9VYlJKZ4GKTcgUNyPQq5BEu2cnz+ccQMA6uBvz+o1ZoEQlmfBSRxmPjRnN7WYUwTSJONaxSNgfKe 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)(39850400004)(376002)(346002)(366004)(396003)(136003)(478600001)(44832011)(6666004)(36756003)(6486002)(8936002)(41300700001)(83380400001)(7416002)(110136005)(316002)(5660300002)(2616005)(66946007)(26005)(1076003)(66556008)(8676002)(6512007)(186003)(52116002)(4326008)(66476007)(2906002)(38350700002)(6506007)(38100700002)(86362001);DIR:OUT;SFP:1102 X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: NjPpBsTfWm/r3Y8NOlP30kSyZmEZn2nvlVWSvxOiCCnI3/sPbOZ+SwAdUP5k1plglscyLOSj++6N/HQ/ZJSLkANS3yYwiBVQLTwqRVf6XM2BNR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qeXx7pUKo+sOJ+9Oplm1w1pjjo4oOj0qoGAqcgKFkTFsT8PDxhHRmFhP5XejwA47LmG42Gs12gEQ0cxrFzLdAsvuLcP5TyOtedGGGKGC2TOkPVlEIQce/oOxRxLM9y6rbK680BO6MdsCuIv6D7uStDc7UihgtPIYFu7wYnwmW3kl4HxJCg/UZx6Vq0J6KRBqEXBEBmD4KBfFj2tVn/mDfx2VsL1/MmGCLqB4NuvxR2vCXfKgFskzfv83pDz1cao10OwBum8VdPl2WJKxi4NyBIp6Hd1kJ4RZwbQHpNdQOayWHpSqHJsu5UHvYnXjC4+erV03eDHA2u6hR247O/qOL0aU0a/+ptDSdWtz50/wquW/p/B9Kzit4M/WRNXb/fvthzRzVcG8bGpAXacXzNFPY4RqgEvVo+XT4pd4HBFtl6Y9lHe06FnLCZZoxg== X-OriginatorOrg: toradex.com X-MS-Exchange-CrossTenant-Network-Message-Id: ef14eb12-6841-4609-3fbc-08da64244c09 X-MS-Exchange-CrossTenant-AuthSource: ZRAP278MB0495.CHEP278.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jul 2022 16:33:48.4694 (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: guYmCgSURjfA0WIhFTUIQbHbynKZCpkPMWD1SUNOSzi5EWLZ9+ASIXj7Jrwdrxgjik2whORtIFOhfFDUCoGRwwXdS7txJt8U5WluN1Bugco= X-MS-Exchange-Transport-CrossTenantHeadersStamped: ZRAP278MB0173 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_093357_496072_5B8E1DEC X-CRM114-Status: GOOD ( 10.01 ) 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: Krzysztof Kozlowski --- 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.