Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp4958745rwb; Wed, 21 Sep 2022 00:45:41 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4c9fd28lVlX/qiED4/LYxQrp5iLrY7oXjUS2MrZp+6a1txDdxQ5eTKCtC6Ix9tvsJmgM/9 X-Received: by 2002:a17:902:d4c9:b0:178:6d7b:c36f with SMTP id o9-20020a170902d4c900b001786d7bc36fmr3467437plg.19.1663746340949; Wed, 21 Sep 2022 00:45:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663746340; cv=none; d=google.com; s=arc-20160816; b=L6gjmMc1fx4Y8rdlOo8dYRmirLsARemeoFoZIC7FlI/LTcYTrJW60eqDwwin2FT9WJ qR3bLaO6JnKJRPIpKRGMVuG6q9Qq3MU1GT8e6L1wdkWY+xcfXZaO5zYJfRsvJVH8UM5z 86tvoARzo+vQvtd2ZTTePt3HGEuJYfhFUwlWDrIsuWdNM7mdRV5huyWqzc56bu4nsTiN gXROVNgjc3MbdxKnY9hfERgD9rttRbUw0zdHNWlPpNCDfa/mYW6KHeOONpXHwg+NyQi1 eheKW/8OYjbNMGA8XdDcy1jdzqxnfhvVlsFBLFs8c+xZVMFykwb8hdrlvCAM2h/O4/Ob 7i7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=wiXy5ZIaldVPRdkC0O1dXknFlmQtPsl+IQZh9q4Cgmo=; b=MQYwBmrjtlZQWysTvn/1dw5YKpoUpogvHzooB96hZzpb+/dvCDOgiWiDsVlvxvntFZ 8ajKvF/cQekv951mD71ic8sg47mb+VvqFbTzl3pIWGOClRb8phOHIz9mZ46p+0CEzXhB 28beu81rK7WB/p0fqlXgMTO3aarTeWbViF6SWd2R7rDJFVabog9UyR/KfnF6/0ye1ey1 DaaVytieEBMULj+t1l+sMf2oWIn+yPAKb+PiuJMs+oFK/xYawnDhf/JMj5FarSZldzGO YHXRS0ooyjYTptUFSYXYygvyD6oaCQH3DC3yUxLC/Jj9hcj+zMe/wCjpenylvsi4csMS OCWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BNWeozDy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q7-20020a17090311c700b00176d58d6f96si2461983plh.0.2022.09.21.00.45.29; Wed, 21 Sep 2022 00:45:40 -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=@linaro.org header.s=google header.b=BNWeozDy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230131AbiIUHLx (ORCPT + 99 others); Wed, 21 Sep 2022 03:11:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52618 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229749AbiIUHLR (ORCPT ); Wed, 21 Sep 2022 03:11:17 -0400 Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F21C1165B1 for ; Wed, 21 Sep 2022 00:11:15 -0700 (PDT) Received: by mail-lf1-x131.google.com with SMTP id s6so7684338lfo.7 for ; Wed, 21 Sep 2022 00:11:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date; bh=wiXy5ZIaldVPRdkC0O1dXknFlmQtPsl+IQZh9q4Cgmo=; b=BNWeozDy1dKboNi6UK9bXjuRFkSY55U3BDN4+3Qq9dKjQPYnJxKQzyMV9NS9gbfT0Z 7hjI0sUzfTo8iAhQ/mvIcUwuPsG5nfoDQ3bJXuUH7zUymrDAwlo3qF25z5yxuhnpkfQv sz+JtUst9JhzKCNnpVaKaVZulJT8eVGh7IRKbJHjv2TZYOq7vK8lokKDyLFcDduKwBG5 gwznPs7AshqOMlIcUut0mCwUxZ+91gDbwVCrxaPq1JK6XH+zwfxhjXfXEO5HnoPbk73X gc+ouQVeSVZ22tggHhOAtQqHHfxbsrp0m0ch5KqGK4RvqfvlZbFaSI4sv7nFlwKv2HuI 3SfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date; bh=wiXy5ZIaldVPRdkC0O1dXknFlmQtPsl+IQZh9q4Cgmo=; b=K/FKh1UuJ7XB10C+YQE+QZshOrbkZTqCf9w5OakMV5lDCOMIH7SA4YyP8WCsH+L5VN BsLEIY2mtCtbYWaLRtn4fguqMT6yMVNwTUfYQkU7QEdsXHQKsIYqaFYtHCQYXFkE4nud zElxMHh+txTLURBREyI/av1B6uYEQgpRXuvt8mZ9Yenk2QU1bRhw3wvRLwL0xfuiBovH 2UNgvbCQUA5lOzmvlE4wfyWo/d1qjx0MC3GmQ7exWASWW1P2laC+iuunsYUUiB3HvVDm PVdG1UFciy61+q1LTqZ/v9LuCh572+cgwhY22fHYq4eZVbk6xWA/GqtgGXa3TEDxIHbV mZVQ== X-Gm-Message-State: ACrzQf1d2wP8bUz9TIIYJ0G4qcdse+yyw83w+RkPfq1hNvmuRPQcqf7H xNTlx4gWsVMyMBcbJOfEya+nYg== X-Received: by 2002:a05:6512:20d2:b0:497:a29f:cada with SMTP id u18-20020a05651220d200b00497a29fcadamr9075345lfr.45.1663744274292; Wed, 21 Sep 2022 00:11:14 -0700 (PDT) Received: from [192.168.0.21] (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id w16-20020a05651c119000b0026c18aa8587sm309565ljo.75.2022.09.21.00.11.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 21 Sep 2022 00:11:13 -0700 (PDT) Message-ID: <1860b0ff-5544-5e74-ccfc-beda18824927@linaro.org> Date: Wed, 21 Sep 2022 09:11:12 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.13.0 Subject: Re: [PATCH 1/4] dt-bindings: pinctrl: Combine MediaTek MT67xx pinctrl binding docs Content-Language: en-US To: AngeloGioacchino Del Regno , Yassine Oudjana , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Matthias Brugger , Sean Wang , Andy Teng Cc: Yassine Oudjana , linux-mediatek@lists.infradead.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <20220919170115.94873-1-y.oudjana@protonmail.com> <20220919170115.94873-2-y.oudjana@protonmail.com> <4c425cf8-f9ca-969c-f8ed-688410bfb922@collabora.com> From: Krzysztof Kozlowski In-Reply-To: <4c425cf8-f9ca-969c-f8ed-688410bfb922@collabora.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,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 On 20/09/2022 10:06, AngeloGioacchino Del Regno wrote: > Il 19/09/22 19:01, Yassine Oudjana ha scritto: >> From: Yassine Oudjana >> >> Documents for MT6779, MT6795 and MT6797 that currently exist share >> most properties, and each one has slightly differently worded >> descriptions for those properties. Combine all three documents into >> one common document for all MT67xx SoC pin controllers, picking a few >> parts from each and accounting for differences such as items in reg >> and reg-names properties. Also document the MT6765 pin controller >> which currently has a driver but no DT binding documentation. It should >> be possible to also include bindings for MT8183 and MT8188, but these >> have some additional properties that might complicate things a bit, >> so they are left alone for now. >> >> Signed-off-by: Yassine Oudjana >> --- >> .../pinctrl/mediatek,mt6779-pinctrl.yaml | 207 ------------------ >> .../pinctrl/mediatek,mt6797-pinctrl.yaml | 176 --------------- >> ...6795.yaml => mediatek,mt67xx-pinctrl.yaml} | 181 +++++++++++---- > > Hello Yassine, > nice cleanup over here! > > There's a catch though: as far as I know, wildcards are not permitted... so you > should, at this point, merge all of these in mediatek,mt6779-pinctrl.yaml instead. > > Before jumping to that, though... Krzysztof, can you please confirm (or deny)? Wildcards are not allowed in compatibles. In filename wildcards or family name could work if they are really going to match the devices. I have doubts here. 67xx is quite a lot of different devices, so I am not sure this will cover them all. I would prefer one name (oldest SoC or lowest number). Best regards, Krzysztof