Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp1471037pxb; Thu, 14 Apr 2022 07:01:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzmOlWUsC/fakrBBXWgIIo7e085qWNE2y8XFszuJ9Sxy1FAUNKOlua0e2w5J/pVNF/5KJKi X-Received: by 2002:a05:6402:14c2:b0:41d:816a:4eb0 with SMTP id f2-20020a05640214c200b0041d816a4eb0mr3142071edx.301.1649944860996; Thu, 14 Apr 2022 07:01:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649944860; cv=none; d=google.com; s=arc-20160816; b=ssh6rdp3p3OQz1uJbMSj0O1wpfvyGeWFzoJDaWkIHEFfzgaN0lN0vdGE0Oq6TywvQB BSY5fM8ttSApGRTP5gAhllxO3cAYnGeAjSRkSQ6Ax/Xyl0s+/0Hx4lrf2cGtHsUGtsKY hSIH9k5x5clL0ZcdFtaLFN1+fQkg1ry3sg+AmkT9Ips4VbgmEHvYjJgrV8f3egNsR8am OUW1jFtQbjTTYA34H6Ff+Y1uJQL7XeSTRiDMsa8Kw2b+9vonOm0ww8RWDXrXZg+962nz shHWXfzzKkmE/keOcKCZxZGstNH9Px/1tZfJkLwXKizX4XkQwEtANcNN5VWGmZepVf68 jjXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=6YMpm44acphdMuRGEx9DBy3vdiDjBzEpIjiQ/MN8cI8=; b=Jx6IV6UrxqUJ6VlSuJ9LalFtbyb2/5i5v4dEMnMlgUr6AK00EOwTkcVzwuzL3XSSUa s5qWuYuQAOZEXUnCDA/DPq0GuSeHSA+GLDs/ut+V5ukJ+Nv0i2qo462adxSHHHo3nxD4 ff6UOk+OSW2h1b95k4s3irTit48gIHsr60zALLf8UFTk6ShmkneHnZessItqhnPGKKlU R6U3HffoKvnhQ+Ngrd1BAce+Pf9KDqqBW5nTQXnEDjZYQT04m/EmND2Zjfh6hmIfcutN 0ijpv1u1JGieTFJcZ+X6EMhhoaxjQTByFj9rMv9jsA1IzDvgTlPp0tsjfPZPrZRYsyQW KahA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kemnade.info header.s=20180802 header.b=V9L2VcKq; 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 o9-20020a056402438900b0041d71bdba98si4327518edc.82.2022.04.14.07.00.34; Thu, 14 Apr 2022 07:01:00 -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=fail header.i=@kemnade.info header.s=20180802 header.b=V9L2VcKq; 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 S240378AbiDNIS4 (ORCPT + 99 others); Thu, 14 Apr 2022 04:18:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57032 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239893AbiDNISz (ORCPT ); Thu, 14 Apr 2022 04:18:55 -0400 Received: from mail.andi.de1.cc (mail.andi.de1.cc [IPv6:2a01:238:4321:8900:456f:ecd6:43e:202c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 80B14483B7; Thu, 14 Apr 2022 01:16:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kemnade.info; s=20180802; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=6YMpm44acphdMuRGEx9DBy3vdiDjBzEpIjiQ/MN8cI8=; b=V9L2VcKqDpUCMVFPhIRU+cC5lb oAwHcN+Gl9Km7FecMITzEBk68MACkuskRzc8YFegR19juSR6D5IlIy5TMpvyvvxryCW3ez4S9ohqW LCCE67T+Osu8LzvuSYSKaMbSy7iJByDg7CZ4WXB2mTnx6fIz2AHiV8wXfEoNWuRPB1Fc=; Received: from p200300ccff1771001a3da2fffebfd33a.dip0.t-ipconnect.de ([2003:cc:ff17:7100:1a3d:a2ff:febf:d33a] helo=aktux) by mail.andi.de1.cc with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1neudp-0001ui-UW; Thu, 14 Apr 2022 10:15:50 +0200 Date: Thu, 14 Apr 2022 10:15:48 +0200 From: Andreas Kemnade To: Samuel Holland Cc: Heiko =?UTF-8?B?U3TDvGJuZXI=?= , Sandy Huang , dri-devel@lists.freedesktop.org, linux-rockchip@lists.infradead.org, Alistair Francis , =?UTF-8?B?T25kxZllag==?= Jirman , Daniel Vetter , David Airlie , Geert Uytterhoeven , Krzysztof Kozlowski , Liang Chen , Maarten Lankhorst , Maxime Ripard , Michael Riesch , Nicolas Frattaroli , Peter Geis , Rob Herring , Sam Ravnborg , Thierry Reding , Thomas Zimmermann , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [RFC PATCH 02/16] dt-bindings: display: rockchip: Add EBC binding Message-ID: <20220414101548.2b9c3dad@aktux> In-Reply-To: <20220413221916.50995-3-samuel@sholland.org> References: <20220413221916.50995-1-samuel@sholland.org> <20220413221916.50995-3-samuel@sholland.org> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: -1.0 (-) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE 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 Hi Samuel, for comparison, here is my submission for the IMX EPDC bindings: https://lore.kernel.org/linux-devicetree/20220206080016.796556-2-andreas@kemnade.info/ On Wed, 13 Apr 2022 17:19:02 -0500 Samuel Holland wrote: [...] we have sy7636a driver in kernel which should be suitable for powering a EPD and temperature measurement. So I would expect that to be > + io-channels: > + maxItems: 1 > + description: I/O channel for panel temperature measurement > + so how would I reference the hwmon/thermal(-zone) of the sy7636a here? > + panel-supply: > + description: Regulator supplying the panel's logic voltage > + > + power-domains: > + maxItems: 1 > + > + vcom-supply: > + description: Regulator supplying the panel's compensation voltage > + > + vdrive-supply: > + description: Regulator supplying the panel's gate and source drivers > + SY7636a has only one logical regulator in kernel for for the latter two. If we have a separate panel node, than maybe these regulators should go there as they belong to the panel as they are powering the panel and not the EBC. > + port: > + $ref: /schemas/graph.yaml#/properties/port > + description: OF graph port for the attached display panel > + In my approach for the IMX EPDC, (I will send a better commented one soon) I have no separate subnode to avoid messing with additional display parameters. Not sure what is really better here. > +required: > + - compatible > + - reg > + - interrupts > + - clocks > + - clock-names > + - resets > + - reset-names > + - power-domains > + - panel-supply > + - vcom-supply > + - vdrive-supply If things differ how the different phyiscally existing regulators are mapped into logical ones (even the vdrive supply is still a bunch of physical regulators mapped into one logical one), then not everything can be required. Regards, Andreas