Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp346210pxb; Tue, 12 Apr 2022 03:25:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxzRGKvuDNixZcvhmfc8y4Et3s1uDQwx/5zM4E2RsIpiqTKXi7G2zF1U7pNdN8+3my08MOM X-Received: by 2002:a17:906:d552:b0:6e8:4edc:f2ee with SMTP id cr18-20020a170906d55200b006e84edcf2eemr18390332ejc.572.1649759106868; Tue, 12 Apr 2022 03:25:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649759106; cv=none; d=google.com; s=arc-20160816; b=jim1tnaQawr9eNNikyoASRxbfv9axxbwRLHSc1rnyTYn3Fz+7vB8zW2yyoxqikc3/q dsTiYy0t7R91ViW2+D0MB30UHGca4/CY3LQGL7oMR1FG/zPlpvlKzFFYZrgrFuXkKy5B 6XkgLVdCOaLBLQBdnt9V74HOIt9HAquccBpa3Q7nk4fiTN0rfLroPeJjgP9ekz5T9RLX jc7UaKdKiMhRKpEA9HWa8K0uu01jReVMxiQWJ70mt+K1ov3fIZ6hZtwWz5ZQgQgZ24D2 D3e1fdBtcX9YSFCVRmrnE7436t04ykGVtCC9OvjbXl7cRFQysMVHIgHiTSf8IqGiNZxD z3RQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=tCnkeyoKwqeX0JN+o8L5AX58NLvdx+Oy98J9n9irz2I=; b=z9VqDVq13jgFkJH0z9IJ+c8Ru8lsCNXrjQM2OZRoZj0T5+dc7TuSLmrgBk7tAKxI7t j6ZF+YQctk/ctLLs5fRT4YwltdbQsH9tCqf5YJa0tGakOWkvXlpTmlY9Czt7X5BuiWLh Ww5G4JyQj7wBzrdJgd4qrXi2PUhoQD9JggGsrlZIs+BSZswpLj0VElXDPwnk0EDrTe1O bbUSe1QpcBH0QjveFdKyvRIQMDvFH7PV+8xBXSE7E9mPZtPPwhwQ8xoWeMgvj61oQtfh lMXI4X65IwuIFXWK0wrM4/5nKoHrUqgfqjYqAtpirPPeFvV+4GBywsE+V+YOU7doKxgi q8Aw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g12-20020aa7c58c000000b0041d77bd4d0dsi4697284edq.481.2022.04.12.03.24.38; Tue, 12 Apr 2022 03:25:06 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346281AbiDKNtm (ORCPT + 99 others); Mon, 11 Apr 2022 09:49:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32946 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234271AbiDKNtk (ORCPT ); Mon, 11 Apr 2022 09:49:40 -0400 Received: from mail-qk1-f180.google.com (mail-qk1-f180.google.com [209.85.222.180]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5A86C12090; Mon, 11 Apr 2022 06:47:26 -0700 (PDT) Received: by mail-qk1-f180.google.com with SMTP id j6so10617243qkp.9; Mon, 11 Apr 2022 06:47:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=tCnkeyoKwqeX0JN+o8L5AX58NLvdx+Oy98J9n9irz2I=; b=QsVLZhstsbtqMWAt1NlGRARQ+RZOSXCHb/O1auvUcrzaapQ3Saig1NckFJsTSxuiH1 ELayZrTpkO9f7Gm85athQjc0jKGdS8eRAtWq9Yxz7++0jlorRG6q4tmWwPrvknqZ8w7P uqf2Woifk/Xc8qkmPLqYT7/91YKx8Pb/gIItGXqtK/+aCpkS7bK3M66epXLmT6FPGWgc oOM7++jylqUC2HF32ajb/30YPmEg2S06gXHGI7l9m4rhyJT4ecVkox2CAcOzD4vmV8ir ldKtBd9WVXDcyWihgydhychncmS67Vn1UXyHSSE2BRyBaKJsOrvW0lib4E66E+oDWPvO TDaA== X-Gm-Message-State: AOAM532qtX7tcyKDcZcp7GNLKIBaINU6T5IdZw+wawZs5m941pHp29BC NgWpyE/yw0BCHYr2ZgfatdNZp/3t4F1x8w== X-Received: by 2002:a37:aec7:0:b0:69b:f27b:8784 with SMTP id x190-20020a37aec7000000b0069bf27b8784mr8783717qke.464.1649684845151; Mon, 11 Apr 2022 06:47:25 -0700 (PDT) Received: from mail-yb1-f178.google.com (mail-yb1-f178.google.com. [209.85.219.178]) by smtp.gmail.com with ESMTPSA id y20-20020a05622a121400b002eefd7bf5basm1519967qtx.63.2022.04.11.06.47.24 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 11 Apr 2022 06:47:24 -0700 (PDT) Received: by mail-yb1-f178.google.com with SMTP id g34so7639127ybj.1; Mon, 11 Apr 2022 06:47:24 -0700 (PDT) X-Received: by 2002:a5b:984:0:b0:63f:8c38:676c with SMTP id c4-20020a5b0984000000b0063f8c38676cmr11998194ybq.393.1649684844325; Mon, 11 Apr 2022 06:47:24 -0700 (PDT) MIME-Version: 1.0 References: <20220407200205.28838-1-javierm@redhat.com> <20220407200205.28838-2-javierm@redhat.com> In-Reply-To: <20220407200205.28838-2-javierm@redhat.com> From: Geert Uytterhoeven Date: Mon, 11 Apr 2022 15:47:13 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 1/5] dt-bindings: display: ssd1307fb: Deprecate fbdev compatible strings To: Javier Martinez Canillas Cc: Linux Kernel Mailing List , DRI Development , Andy Shevchenko , Chen-Yu Tsai , Mark Brown , Daniel Vetter , David Airlie , Krzysztof Kozlowski , Maxime Ripard , Rob Herring , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no 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 Hi Javier, On Thu, Apr 7, 2022 at 10:03 PM Javier Martinez Canillas wrote: > The current compatible strings for SSD130x I2C controllers contain an -fb > suffix, this seems to indicate that are for a fbdev driver. But the DT is > supposed to describe the hardware and not Linux implementation details. > > Let's deprecate those compatible strings and add a new enum that contains > compatible strings that don't have a -fb suffix. These will be matched by > the ssd130x-i2c DRM driver. > > Signed-off-by: Javier Martinez Canillas > --- a/Documentation/devicetree/bindings/display/solomon,ssd1307fb.yaml > +++ b/Documentation/devicetree/bindings/display/solomon,ssd1307fb.yaml > @@ -12,12 +12,24 @@ maintainers: > > properties: > compatible: > - enum: > - - sinowealth,sh1106-i2c > - - solomon,ssd1305fb-i2c > - - solomon,ssd1306fb-i2c > - - solomon,ssd1307fb-i2c > - - solomon,ssd1309fb-i2c > + oneOf: > + # Deprecated compatible strings > + - items: > + - enum: > + - solomon,ssd1305fb-i2c > + - solomon,ssd1306fb-i2c > + - solomon,ssd1307fb-i2c > + - solomon,ssd1309fb-i2c Please drop the "-i2c" suffixes, too. We already have plenty of IIO sensors and audio codecs using the same compatible value for spi and i2c, cfr. 'git grep compatible -- "*-[si][p2][ic].c"' Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds