Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp1920003pxb; Wed, 2 Feb 2022 16:00:08 -0800 (PST) X-Google-Smtp-Source: ABdhPJzxWqTtBNn61Bui601/T2+jFFZFCM4X1YBZtP+Bm9zDpl/khwZRICqzC4IUJXV0LR/6KHsF X-Received: by 2002:a17:903:18a:: with SMTP id z10mr32528136plg.117.1643846408463; Wed, 02 Feb 2022 16:00:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643846408; cv=none; d=google.com; s=arc-20160816; b=u7/zQoaoQtFfWSUmxXsL3qbIoHe6fp5oC4VZii4b9kCvlUfCZVs656IM7jR0WuJiQx JOIoblhPEQQt2Nw2yOlv8o1EmMxk5Kme6bpSdYdQYxq6bOeijX0w/LsW3VryKEOyzw3E GoTk2hF2RcSI9K73M4mZ6+CiXVrg8dPOksk5y0BxTJ2g6B4rqO/EssMNC37FHdvCWqJI 3IlwrwsIiTRhjQ2HOMEnfL93fkpqSiDLQbO5RaDyhr7lQM6p0IZ3qFHxOaZUNvXQFT88 HGT4daDTwUA4ulUDTAf+57lWYrIRtbxKe6s7akRMP9LNbgqFAo29z/E3w9fB25ZIjZPp Yw/Q== 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=6JTo8Sy9jsMuY9se9GPF3GJU4ezrpNEbpV0Rieuvz5M=; b=sg839yj88WLqgdk8zSAXs9swNsr76Uiuy3cqLrly5lrOjMkwct9iYzsGx1YTsMAQHs y/oufbJRwTW3aoiSE/TKyeNzP9b1UJS48KGNzFKXV20KU5ucfnGzcaKbLwLR4dLNcFs8 aDjjrIaXd3GJt3NFdbt8W8AD451gL3SkPrZJgI/+hq149W0q3KuCIYwYU0/58DKY+9zQ AjDUggeuwyjnOic6z4D3bY1IyNWtXsNYt2e7m/d8VhBBfi1JvubsTyFGq8LuF2K6+HSs +uraz9SLJBOY5Tg6TIaqqOBircXxEv1CzfN23CvBpdZmzLEED50iyuOnHaDY6cSxsFe6 wnww== 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 f4si17777982pfd.61.2022.02.02.15.59.56; Wed, 02 Feb 2022 16:00:08 -0800 (PST) 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 S239195AbiBAOU0 (ORCPT + 99 others); Tue, 1 Feb 2022 09:20:26 -0500 Received: from mail-pf1-f180.google.com ([209.85.210.180]:36725 "EHLO mail-pf1-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239168AbiBAOUW (ORCPT ); Tue, 1 Feb 2022 09:20:22 -0500 Received: by mail-pf1-f180.google.com with SMTP id 192so16021188pfz.3; Tue, 01 Feb 2022 06:20:21 -0800 (PST) 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=6JTo8Sy9jsMuY9se9GPF3GJU4ezrpNEbpV0Rieuvz5M=; b=3A+egGLO2Hj12855kPGUmSOtyLxq2qLtaLB1MJ6mLMxkyoJwgmuvzB6Wo0FW548KZ6 HNhgBaO92dCips+3WdwTcqAla6WvtJpcQTUu78+uqD924J2OCudfA4azV7mYEN3fZjlD bgB86i8uItUThbxL1T52Zfol/Wy9BIrcGITfThXHIm5Mh+IuHQVb3bpzPMzpZoxCvWyE g0JQ8oZayD6EQ/4w8Tq/ZGsUrbeWefrNkYJ78Iu5QfZuZk1cHxcqB4/Sfp5rvTT2rnL2 cpBzb/pbfntOHHQqyy3yiBqeZ6BJNfil27FbN09MpNZ3WrghCRUeTD4KnpZ327uLe4V8 Dmmw== X-Gm-Message-State: AOAM530n+L8qrn1PnyFuPfX22ssupwFuzDIjGu9dX4Hfwtv+KI8plqyo Pfk7RdgJt2xy3dAkc2v2kIKvkf9YebCMBFJw X-Received: by 2002:a63:9d84:: with SMTP id i126mr20757638pgd.617.1643725221235; Tue, 01 Feb 2022 06:20:21 -0800 (PST) Received: from mail-pl1-f182.google.com (mail-pl1-f182.google.com. [209.85.214.182]) by smtp.gmail.com with ESMTPSA id m7sm9762881pfb.80.2022.02.01.06.20.20 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 01 Feb 2022 06:20:21 -0800 (PST) Received: by mail-pl1-f182.google.com with SMTP id x11so15508197plg.6; Tue, 01 Feb 2022 06:20:20 -0800 (PST) X-Received: by 2002:a67:5f83:: with SMTP id t125mr9456510vsb.68.1643724868281; Tue, 01 Feb 2022 06:14:28 -0800 (PST) MIME-Version: 1.0 References: <20220131201225.2324984-1-javierm@redhat.com> <51f54519-bb8b-f108-1c1e-4fed101ca5ef@redhat.com> In-Reply-To: <51f54519-bb8b-f108-1c1e-4fed101ca5ef@redhat.com> From: Geert Uytterhoeven Date: Tue, 1 Feb 2022 15:14:17 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 0/4] drm/tiny: Add driver for Solomon SSD1307 OLED displays To: Javier Martinez Canillas Cc: Andy Shevchenko , Sam Ravnborg , Linux Kernel Mailing List , Linux PWM List , Linux Fbdev development list , Thomas Zimmermann , David Airlie , Daniel Vetter , Mark Brown , DRI Development , Liam Girdwood , =?UTF-8?Q?Noralf_Tr=C3=B8nnes?= , Maxime Ripard , =?UTF-8?Q?Uwe_Kleine=2DK=C3=B6nig?= , Thierry Reding , Lee Jones Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Javier, On Tue, Feb 1, 2022 at 2:09 PM Javier Martinez Canillas wrote: > On 2/1/22 12:38, Geert Uytterhoeven wrote: > >> Since the current binding has a compatible "ssd1305fb-i2c", we could make the > >> new one "ssd1305drm-i2c" or better, just "ssd1305-i2c". > > > > DT describes hardware, not software policy. > > If the hardware is the same, the DT bindings should stay the same. > > > > Yes I know that but the thing is that the current binding don't describe > the hardware correctly. For instance, don't use a backlight DT node as a > property of the panel and have this "fb" suffix in the compatible strings. > > Having said that, my opinion is that we should just keep with the existing > bindings and make compatible to that even if isn't completely correct. > > Since that will ease adoption of the new DRM driver and allow users to use > it without the need to update their DTBs. To me it looks like the pwms property is not related to the backlight at all, and only needed for some variants? And the actual backlight code seems to be about internal contrast adjustment? So if the pwms usage is OK, what other reasons are there to break DT compatibility? IMHO just the "fb" suffix is not a good reason. 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