Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp5750424rwl; Thu, 29 Dec 2022 02:15:41 -0800 (PST) X-Google-Smtp-Source: AMrXdXuW1w8www4940+DYki2R2CYHkO7qOeq9BiKTqdhUrvyF4XIqifY52vIl77rJ4ckDhgk3uH8 X-Received: by 2002:a17:907:170a:b0:7c0:daa3:b4ab with SMTP id le10-20020a170907170a00b007c0daa3b4abmr25348199ejc.40.1672308941406; Thu, 29 Dec 2022 02:15:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672308941; cv=none; d=google.com; s=arc-20160816; b=nPjLSMN1EHDwrzZLHorGYxYM2IYHMB7DSNZFZfLsAmzeOh+z2VL7iLjYBaSF5yUH7Z S/87F3/fI45Djq8Z+nx88cz5DABjFkw5cX/xAHr7RfpVX8X8wmf2Xg7pmcFU9GHyIONN dwOa6OMEJt59M6ZyMPdEaPuwEPb3m3/4+xx8DjgoHzh9p3XpTMBAp4G5DQ9pZRf815mo BG1Z3kcIzX+HsEVdYbRJtG9IeKUhgmXeh4qh2JfeokOyJi9jhWRE/YWFb7D6Xrm/vb+T lG1ylN4gdUGaleNnHjzWb8sft/Dm+8F8HvlFXh4ldFjJddgOqMGfTSRz7l34fO9gNmzl J+gg== 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:dkim-signature; bh=+yOD3yNpp4Sg8yVPxedVVEWiPubXWdIpWJ3m/jNQjH0=; b=nL9SBZjINB3x5v4yscG0ME+vmUMhmH/V6njajlR7ABAFFc/sZWNRi40FWYgIVVsuek wHOd6CmdTQoOdzj6/5hGrtCawk/f/gnk8NYYMp6NGSRBZ7XVDf/YWGanxsmROpou1FTh Uf1+CsyTtLsLbOPt9WzEXnm9ySXYREuX+cudW4Flm/U4xNcz+ln8Qel7+qv+iLK6wZVT Hblb1Hj9EzoEvhHvzGjkx3GIFgj/26/kc9a6wzN230uiC1JLC/L5QH3dV0TXXNZsOJnX KPHTZ3+AE+mSfiaV38A0KxHWLSej26USb08cY5tw6ozQD3Iwnc4NQWQwA+4PLEobheW+ MN0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=dQ6fcikk; 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=amarulasolutions.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id mp3-20020a1709071b0300b0082372aef3b7si15336880ejc.305.2022.12.29.02.15.27; Thu, 29 Dec 2022 02:15:41 -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; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=dQ6fcikk; 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=amarulasolutions.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233278AbiL2J5v (ORCPT + 62 others); Thu, 29 Dec 2022 04:57:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40880 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233268AbiL2Jzl (ORCPT ); Thu, 29 Dec 2022 04:55:41 -0500 Received: from mail-yb1-xb31.google.com (mail-yb1-xb31.google.com [IPv6:2607:f8b0:4864:20::b31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 85AB9B4E for ; Thu, 29 Dec 2022 01:54:00 -0800 (PST) Received: by mail-yb1-xb31.google.com with SMTP id 83so19177616yba.11 for ; Thu, 29 Dec 2022 01:54:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=+yOD3yNpp4Sg8yVPxedVVEWiPubXWdIpWJ3m/jNQjH0=; b=dQ6fcikk6vSdmKrU4eLNH7HDLeidwKolv/8H1oeAG7B3pwfbe/kHq+/7rbE/BKd+RA n+mqeyGKLCphg6xq4Oz5tF6OBBE4Q1JQFKzdIxXoilNO4y4H0hyxMzb+9L1169fnqqy3 un6K0fBFwKRxCBklBsCzB3FI2vkT89pN/4fyQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=+yOD3yNpp4Sg8yVPxedVVEWiPubXWdIpWJ3m/jNQjH0=; b=KfeT0Zv05oHNyI091S/weZDg7CDJKYg/wEF6RQmvzKi154mNxmbH3pnELfWEgyulXr iBxrfm+8yLkBx0BEhEuwtDWRYaSQR5TscpGTTJD45nbXM4mdwBot041aZycTfHmHPuq7 T1+7Ax1beXrBK5aGqjZ8uhLm4wLgfawhIy2OPO9UWcghdDkyoV8KyBmXX+N8FD++8nCv hQnn+4asMsbcpaU/rdQgqwfUyijNf9uduvuSMOun5UcC4DB4iTbKZtse41M5rZ1vltyV 7r1sinEMlfxisxRm1BoBWlq5R9qS3QSi4CgqEgjYQVFOl5tTBsCqFMYQXoBECjlAJBNh Hiqw== X-Gm-Message-State: AFqh2kqx1D9jcbD6aYXVAHj/diKLcgB/UylHJ7MdwHB/N90n7UUiktIH 8/3pAdFqi7gVB7jB5gDMfwFoOzIfgfOJJQdRhsHXBA== X-Received: by 2002:a25:cc82:0:b0:6f9:bd14:f0b4 with SMTP id l124-20020a25cc82000000b006f9bd14f0b4mr3559292ybf.408.1672307639746; Thu, 29 Dec 2022 01:53:59 -0800 (PST) MIME-Version: 1.0 References: <20221227110335.2923359-1-javierm@redhat.com> <20221227110335.2923359-2-javierm@redhat.com> In-Reply-To: From: Jagan Teki Date: Thu, 29 Dec 2022 15:23:48 +0530 Message-ID: Subject: Re: [PATCH v3 1/4] dt-bindings: display: Add Himax HX8394 panel controller To: Javier Martinez Canillas Cc: Javier Martinez Canillas , devicetree@vger.kernel.org, Robert Mader , Onuralp Sezer , Neal Gompa , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Tom Fitzhenry , Martijn Braam , Krzysztof Kozlowski , Rob Herring , Ondrej Jirman , Peter Robinson , Krzysztof Kozlowski , =?UTF-8?Q?Kamil_Trzci=C5=84ski?= , Thierry Reding , Sam Ravnborg , Maya Matuszczyk Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 Wed, Dec 28, 2022 at 3:46 AM Javier Martinez Canillas wrote: > > On Tue, Dec 27, 2022 at 8:37 PM Jagan Teki wrote: > > > > On Wed, Dec 28, 2022 at 12:58 AM Javier Martinez Canillas > > wrote: > > > > > > Hello Jagan, > > > > > > On Tue, Dec 27, 2022 at 7:16 PM Jagan Teki wrote: > > > > > > [...] > > > > > > > > +allOf: > > > > > + - $ref: panel-common.yaml# > > > > > + > > > > > +properties: > > > > > + compatible: > > > > > + enum: > > > > > + # HannStar HSD060BHW4 5.99" 720x1440 TFT LCD panel > > > > > + - hannstar,hsd060bhw4 > > > > > > > > Parent controller can have a compatible where the associated panels > > > > will be enum list. > > > > > > > > > > I'm not sure to follow what you meant. Could you please elaborate? > > > > compatible: > > items: > > - enum: > > - hannstar,hsd060bhw4 > > - const: himax,hx8394 > > > > himax,hx8394 is the actual controller and is denoted as fallback compatible. > > > > I see. Do you have an example of a panel controller that does this? I > don't see that much value in doing this since you want the DTS to > describe the actual HW and so want the panel I believe. Yes, but the Panel needs to be built on top of the display IC so the actual parent here is the display IC and the panel is sub-HW. This is what usually follows, here are some reference bindings. https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/tree/Documentation/devicetree/bindings/display/panel/jadard,jd9365da-h3.yaml https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/tree/Documentation/devicetree/bindings/display/panel/sitronix,st7701.yaml https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/tree/Documentation/devicetree/bindings/display/panel/ilitek,ili9163.yaml https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/tree/Documentation/devicetree/bindings/display/panel/ilitek,ili9322.yaml Jagan.