Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp494453lqo; Fri, 10 May 2024 06:23:18 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVAVcX7qm5HetbQNUxEN8MiXUk5F0MwTY2MK7Y8SFJCFG+nbZXhoqOnX/4QfRVApPGhzgKDcxvcFez4rCFruB5PwkVMeRiyCUXCvHD97g== X-Google-Smtp-Source: AGHT+IH3eoD6JlvVwKPPjodmm2BluJIS3mXKfbrCXITNhvDAu2JAbTBYe9hFR2vL2mTP7YoGX9Mq X-Received: by 2002:a17:903:32c3:b0:1e8:1dc0:601f with SMTP id d9443c01a7336-1ef4405066emr29003825ad.55.1715347398293; Fri, 10 May 2024 06:23:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715347398; cv=pass; d=google.com; s=arc-20160816; b=sZ2s0+/vsS8EBscKOxxJ2cIocqIvdW6/hMs9J9KYAQTwGlOiHhcBwp6aQ4+aXveTmy SvLXh/UXWAUC3VTTdmc8jFQH3h1Z/YzM2VaGUJA9nuxbgOSJW0zwbeO3Puv7flNOQED9 aIgM8TxveRSbuemYREPxaVqRCUczPDZMzzdOFwBGcZgNvyGtV3Pdh6c68PuTZS73CWz+ YVnap6GlFgPy5L9Xwr+5jBT6jynbbI33ynXs0U/usP+UbJ1nmPpKrhIo+IC/hJ0wE8VY lDwMPqbO7zbXv54S1+F6Q/MoKTZ15C1h602XFkwIjZIfwtTIjFRjprRCejoPVTrEA7bx dP0Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=xHXbcPIsTksWoev2BUDKb3u+DRZkoSLhojXz6HcL4pQ=; fh=Wv+e/Txkj32qlZfE7mwwKfiKnYN0kF62/418v+8ql3A=; b=zJ/AqH7UZ3xqhcYSulQw5ixWhbEc0d3roaqkKSB+urX1Z0rp3Aivu9G2/O6Fhmsr9I ezXux6LQk1ieZxBm/LTXdViV44U7rrPwotYqkK6ShOQKOYizLgaMCnH46n/kPw4II6cP hLLHVHDojUx3Czfe7BXYo9IxjwAdOk5J/QTUuorOfZMDyg4U70MtBNXemJgHATsaGBzX 1KY4SuNtcug4Fg2CSukhEbWV5Fipd5+Mzsy6dLLQ4BIg9MMEfpT4YKJ4FP8l9k9hii4n IZnAS4XOZo4v1AOP/WZhuVNnbHOLk/4dZ3cJdHw8y3hJURMrmLnvpIKCppOLpDY7ADhh OEow==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="iTl/9Qry"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-175818-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175818-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d9443c01a7336-1ef0c368039si34466125ad.649.2024.05.10.06.23.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 May 2024 06:23:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-175818-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="iTl/9Qry"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-175818-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175818-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id DD7E0283AFA for ; Fri, 10 May 2024 13:23:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 228CF12C46E; Fri, 10 May 2024 13:23:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="iTl/9Qry" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3D7D3129E7A; Fri, 10 May 2024 13:23:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715347388; cv=none; b=fpB56oVlrXQs9azoXPtJQWAOMPQPZjfWyyxY8Qd5i+tPn+rdySjEH13oMs5oWHKUCI2d/nQ4AiqTZwdEEQXGgbiILz2KjYc0zGcwPpBjQR5LkM4oeTavSFxRMkujq4adYm/mUnm0BziLcaA+ERTGgzoWsip3IJiNMoHPnRYuHEs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715347388; c=relaxed/simple; bh=tYhskMo0rXSumUEeBpvmlx1SbCm7JZfH6Sx8+QpS5CA=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=nelCXdktFPzmq+iKHBkWUr9vrPMSouUx+P3AcEXbemtjsBzMacfz2NKfvnH2vAWM94D2E4yG/fcdS+PFIPGm/QvrL+20xuMMFWkIksIiAqaSWeIKEAOXWRPfwkJN16yrDyXLlJyH6hw4XiWXBV5DqjwjNBfRpmzZmgJZdX2FcjM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=iTl/9Qry; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0DA95C32781; Fri, 10 May 2024 13:23:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715347388; bh=tYhskMo0rXSumUEeBpvmlx1SbCm7JZfH6Sx8+QpS5CA=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=iTl/9QryRDw5m6CI9fHWDlqfd+WgiPIjjwmVmxh9Y+HKDsz5HJr3zOdFIV0ISuMpf ZYRsomgmN++PBr3+k4xbr8npEB14Bwdbs+wV2TNoARERT5HFfjOFKA84a/3q2YkOb+ 7McgvfcnEwz1wIfC4b0rz+dl6f1QOXnd978pV2i8OL7W79nle/cvCwbSPqeqMrE3u9 Z9vtzPLKzfAC9uPILO0j2Yz3zhGHNbzixj4EGQyRSNDOyVLgWEKVI3ubIzodmI6QJC ZdGsWF3WnRC/ozb7k2rTeZtifP/fjezzM6hh66RN5Ld1fSG6hJGvNXvWZzyhkj7cNV ForFdv6Gbj3LQ== Received: by mail-lf1-f48.google.com with SMTP id 2adb3069b0e04-51f0602bc58so2826476e87.0; Fri, 10 May 2024 06:23:07 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCUaBLLL9lWr9eEzOtq+rF5UwPuwYXiGcIeqNa+pDXAwzoW3zuic5HKF3Df8eo+CBS3KFEiJhopHTodLScK09XmY4Uops5JhIaoIw2hSguV9IulsusRtIHxer+7RCsadMKwgtNKv7ZZyQA== X-Gm-Message-State: AOJu0Yxh/QUMW7Ac4/ihOEELmnffXx5EnvHNCc26bE2TYzYOP+0jL2hr CrWUKav8tUVwwSWq7tniF19y2BlmllUeeiPidjGVokg/WpeO9AyMpvJOYESIcP4ln830yqkH2Z0 5EadTXbOC5evCUH9/9JQGIxlorQ== X-Received: by 2002:a05:6512:684:b0:51c:590f:4305 with SMTP id 2adb3069b0e04-5220e3736c2mr957712e87.8.1715347386370; Fri, 10 May 2024 06:23:06 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240510-hotplug-drm-bridge-v2-0-ec32f2c66d56@bootlin.com> <20240510-hotplug-drm-bridge-v2-1-ec32f2c66d56@bootlin.com> <171533049583.3304069.11759668175103213313.robh@kernel.org> <20240510123717.437ffe6e@booty> In-Reply-To: <20240510123717.437ffe6e@booty> From: Rob Herring Date: Fri, 10 May 2024 08:22:53 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 1/5] dt-bindings: connector: add GE SUNH hotplug addon connector To: Luca Ceresoli Cc: Laurent Pinchart , Dragan Cvetic , Maxime Ripard , Andrzej Hajda , Paul Kocialkowski , Robert Foss , Conor Dooley , Jernej Skrabec , =?UTF-8?Q?Herv=C3=A9_Codina?= , Krzysztof Kozlowski , Greg Kroah-Hartman , Arnd Bergmann , Derek Kiernan , Neil Armstrong , Saravana Kannan , David Airlie , Maarten Lankhorst , Paul Kocialkowski , devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, Thomas Zimmermann , linux-kernel@vger.kernel.org, Daniel Vetter , Jonas Karlman , Thomas Petazzoni Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, May 10, 2024 at 5:37=E2=80=AFAM Luca Ceresoli wrote: > > Hello Rob, > > On Fri, 10 May 2024 03:41:35 -0500 > "Rob Herring (Arm)" wrote: > > > On Fri, 10 May 2024 09:10:37 +0200, Luca Ceresoli wrote: > > > Add bindings for the GE SUNH add-on connector. This is a physical, > > > hot-pluggable connector that allows to attach and detach at runtime a= n > > > add-on adding peripherals on non-discoverable busses. > > > > > > Signed-off-by: Luca Ceresoli > > > > > > --- > > > > > > NOTE: the second and third examples fail 'make dt_binding_check' beca= use > > > they are example of DT overlay code -- I'm not aware of a way t= o > > > validate overlay examples as of now > > As mentioned here... > > > > > > > This patch is new in v2. > > > --- > > > .../connector/ge,sunh-addon-connector.yaml | 197 +++++++++++= ++++++++++ > > > MAINTAINERS | 5 + > > > 2 files changed, 202 insertions(+) > > > > > > > My bot found errors running 'make dt_binding_check' on your patch: > > > > yamllint warnings/errors: > > > > dtschema/dtc warnings/errors: > > Error: Documentation/devicetree/bindings/connector/ge,sunh-addon-connec= tor.example.dts:49.9-14 syntax error > > FATAL ERROR: Unable to parse input tree > > ...this is expected. > > Any hints on how this can be managed in bindings examples would be very > useful. Overlays in examples are not supported. Add actual .dtso files if you want examples of overlays (maybe you did, shrug). Overlays are somewhat orthogonal to bindings. Bindings define the ABI. It only makes sense to validate applied overlays. Now maybe overlays contain complete nodes and we could validate those, but that's a problem for actual overlay files and not something we need to complicate examples with. Rob