From patchwork Tue Dec 7 05:47:45 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1797 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pj1-f70.google.com (mail-pj1-f70.google.com [209.85.216.70]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id C09793F03E for ; Tue, 7 Dec 2021 06:48:45 +0100 (CET) Received: by mail-pj1-f70.google.com with SMTP id x6-20020a17090a6c0600b001a724a5696csf1399957pjj.6 for ; Mon, 06 Dec 2021 21:48:45 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1638856124; cv=pass; d=google.com; s=arc-20160816; b=kiWgR1Glne4lSTVlSG4FRA9hMp2QlnNXzW3t7Qz6XTM6SN2WGyO1bmdhYmZKnEcpVt mlv2XSu5ZGNO7abergbbs67WMQuLp+yILToELYZFztHQpggCocCnntLVM46IurWhz8BQ iUJHeniqHAsrSaFFRHicyJfFrpEbpGVU+0O7iK8EzANyGLOOYBY9w4VcA7agQASVNyZ7 N24f/baGOs5zwL7Eg31FU2C7LkBwPV1GTqvqoG5pHOQmln0PQ8yuM8TT8XRTxsQIH2bj bziX3ZNmi2pL3pRtGLXqiH5dyBiV6d41FQc6VqWXixmfjPBzTHbTEVgzVqWPkVEcG3aZ dJZg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:message-id:date:subject:cc:to :from:dkim-signature; bh=OmljOlLaWHD0qwyt4wqd25HtUf+3+mD/DNYx5p8fNYk=; b=elR0p2JNcbRVKjrzIRSNNnAvoQ+lhbZnFjgbaOCwknah3sgnE4rsy7/ze73+z0zTEV kL6jW/JBkxJhIHX0D0PaW+Ud8l1crGm6+NgUsdexwF9K1bFAj8bPQlwmEZ7qgUVF6eQp aJoCRNA+lI2lzny1G6DmYzxjT2Z75shu86sKHRVzRTvar691Z5kbFRzvkHjUvWr25afE VSagRk4v68wk7R+uCRVCtfb9lo1HkUxeXHdQwjz/FR8PCjT+F578wh8ranDdTywhpoA+ pIX32o+j3dx7kYfgOMR3b4FIZ4aprKCafJND2dpGW05rBX4BXPLX0JlSNuzC/vfsgaDX vWHg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=BntCvO85; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=OmljOlLaWHD0qwyt4wqd25HtUf+3+mD/DNYx5p8fNYk=; b=jnq3JBsYdCA4oJliKqYcigmUkeAf28iZGzCdyCX5NwYaNBJSMFeHGqfdwHw3YtIKUY xuww4UbTxXdJnqCit1lklkugtyjooI6egcbaQGR36vQjpbQAjoh4KxboamdxeQiDeVdH s9NPr1AVOtBDxloLzxHLK0dGr8oKOrZEpxc90= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:x-spam-checked-in-group:list-post:list-help :list-archive:list-unsubscribe; bh=OmljOlLaWHD0qwyt4wqd25HtUf+3+mD/DNYx5p8fNYk=; b=OVX4Rs8fL3Es92hCg8ckwyZRcti1KVqfSwokl69xn3uA8db5epFR13gOh8PTouhrsu r6Uhw3Q4EJbH5D3BmeOdvD/HCKE7qkP6LYKUoy733LshnfTkCIy0PXw9BS01hzAzB/bS oh8ah5KH9lWnQXwyHnKCeeg0N4A1KHdpWd7WwgYGcBQbVD6tTr81B97jyMudrjMILv+Y oeXJU2ZjQglaHSbzZDjrz8QtWkV4mZX2utb3E5BNcc5SXRiB+/zXo7BFL89NBDD5Wfb6 CztnRzsHxG8HkS3D390CTVUm/V7s/891hGKKfWOkuAmY52YesZvfV3rVJbfYvzNOdenO BFsA== X-Gm-Message-State: AOAM532HB9ikBYe6gIgWJ3t2X9BuFLn+hp+c5VlrthlsceRfCj3rhfDf Bik9ChKWoF6Zrvoiu+OMC9+6eU+j X-Google-Smtp-Source: ABdhPJzDDvpBig/Zqq+KMeFgBbaIE0oFNg+5csiovB/c+09a/Q0EfBTJvT3OoHw6ZheRfjt1UYb5/A== X-Received: by 2002:a62:1c0e:0:b0:4a0:3492:37b5 with SMTP id c14-20020a621c0e000000b004a0349237b5mr40717505pfc.33.1638856124151; Mon, 06 Dec 2021 21:48:44 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6a00:2293:: with SMTP id f19ls909468pfe.4.gmail; Mon, 06 Dec 2021 21:48:43 -0800 (PST) X-Received: by 2002:a63:64c6:: with SMTP id y189mr22778674pgb.354.1638856123480; Mon, 06 Dec 2021 21:48:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1638856123; cv=none; d=google.com; s=arc-20160816; b=KZOvIBiubU+4oICH9aGlOIDP6eZA414QzC5TBWgkCaLx9PM7dHIfo6AdU7y6liWheG bnEGDYRTdAveDpvAUfmRxuT7QPtp64xs97Y8i0QpZsqqZmWNnRxH8mhqMd00QDjxsJnv KEw6aukZDJh5MSkbw62YhzMdfya7lr1hcTyuug+i0BgOPS3DWqLhFMCUNDN6ZJNzuETY wWlfT7hZQiqzXFYoUnBk4ybEP5let9nZpYVvmCzts9HVooBqeOr+XVjOVO63+i/UA2xP 2z5ITW3x6XCVjJyKbUnslRuSm61JZPeazTuEkDCCucVps6yz3EgH/W9Kela8WgdO2vHF vClw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=cK1uvr8za9LFh2JaUxJUeWxx5ZWZO7HDm1r4/MOIUOU=; b=R6yFQUBMi2oylX25q/4wn/5lpPxeZ9ZIprb55/otqZyXUt2DcHb9gXfccKZfxUESMD S4MIcDDF/dnI9F425aSb4JX2T+tsG8KZtJmgG4XTMe59zZLAKuYZM1mg+/fC7Y9dgDhv OgZchMXCrZoVnq3lA25NS/sPWafPxMBxANJvFuzuh6iU5/FKBD02tFG4jedvRpE4I0qx aX3uS/k/c2UksRKjetWHmAWULeMu3Bxp89gsSaYxhjjBUMaRhj37zPY9yjW3j5r/hZ72 1HMhYc1PpV9WpAepSawzzHsduaqjU86w0Woyq0ZuBppAy8q49IJUcmKzRsAfx0iUY7td 81wg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=BntCvO85; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id h3sor8356416plb.45.2021.12.06.21.48.41 for (Google Transport Security); Mon, 06 Dec 2021 21:48:41 -0800 (PST) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a17:902:a50f:b0:143:7dec:567 with SMTP id s15-20020a170902a50f00b001437dec0567mr49162454plq.18.1638856121507; Mon, 06 Dec 2021 21:48:41 -0800 (PST) Received: from localhost.localdomain ([2405:201:c00a:a0a9:ac1e:ca0f:5f0a:c85a]) by smtp.gmail.com with ESMTPSA id f7sm14496352pfv.89.2021.12.06.21.48.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Dec 2021 21:48:41 -0800 (PST) From: Jagan Teki To: Rob Herring , Frank Rowand , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Laurent Pinchart , Robert Foss , Neil Armstrong , Andrzej Hajda Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-amarula@amarulasolutions.com, Jagan Teki Subject: [PATCH 0/2] drm: of: Lookup child panel_or_bridge Date: Tue, 7 Dec 2021 11:17:45 +0530 Message-Id: <20211207054747.461029-1-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=BntCvO85; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , This patch set add support to lookup if child node is panel or bridge via drm_of_find_panel_or_bridge. Any inputs? Jagan. Jagan Teki (2): of: Add helper to lookup non port child node drm: of: Lookup if child node is panel or bridge drivers/gpu/drm/drm_of.c | 36 ++++++++++++++++++++++++++---------- drivers/of/base.c | 29 +++++++++++++++++++++++++++++ include/linux/of.h | 6 ++++++ 3 files changed, 61 insertions(+), 10 deletions(-)