Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp7341538rdb; Wed, 3 Jan 2024 12:27:14 -0800 (PST) X-Google-Smtp-Source: AGHT+IG3PrGEUjsuQEc5/46mpCnYAZeJfZiIvkoAtxxFObQHVtSqUYKpezr+CtEiMxdHL97bPBT0 X-Received: by 2002:a05:6a00:9097:b0:6d9:b781:d840 with SMTP id jo23-20020a056a00909700b006d9b781d840mr8281427pfb.38.1704313634033; Wed, 03 Jan 2024 12:27:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704313634; cv=none; d=google.com; s=arc-20160816; b=vmMyGVrenbUB+wWaMOg6xDIPXqWVzhNiP4vXQepwO9VbTWSrVF1dqabOiQMYflGsJ4 u82fo/iy8OgpXm1PlKjFBdGRba4RpR6/ZIsyXK/yw+z5jKXJSnX9nyQqQvnNemnq5+XA XyTVjHmkRnw0NR6EjJ75kWk8qmUL06USBhfmHzcADX72Tb/P1YhZ2K/FIKSVEvnPpUDW Lxhf+Ze2Gp6fm2f94CSlMMlmm8b/xo8A+Wl4R5rhzs1orFGRWYioegYX82DoiEGeLXAQ a4VuAmzuqJ+FY2z7LjeusOhWlIM2bGWngtvhOqmFDX9yclatYu7Hes+ZY7BvIFLpIUCB 8hNw== ARC-Message-Signature: i=1; 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=iMR33Pia6Dj4ayhX2Wy1OfcuVx9HdJ5U0oRmgKdsaeM=; fh=RPJgR985wHGjD2LRzKB2+itJcVQVTQ2kTlcpburOa3E=; b=y+1zenks+HSg6O7iO7JGJoXPcaanT2Y6BfgTP3DDnxtW8st4FuzPxOddK93R4xtbQ+ 9j8Al4E1m4nSS3OfUkSjkR3uSqyQXQqAlcr7iQvih/RjlB5f2UE3AvICJrFXD9MIT4xu CIpfkYCeLGwAWeN6nE2plal4btvdBADbAM2Uxp/chKpAreFsrdYolje7jaiGqTuNvt4d Y6xDWYCxEp3y+Ye8RoF8ymzCPKT5SMXTFNQPxxS1ltomhfBRhWiUImVw86yDD/qieB+B ZeDGZNYjJ8ZloXFXxAsZAiqtSo1UA9XBYxpL6okA2peO6p8lKGd4RPItkkB/DhicsPMm jM/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BLH2wcCX; spf=pass (google.com: domain of linux-kernel+bounces-15980-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-15980-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id g14-20020a056a00078e00b006cdeb7e9f6dsi17078520pfu.234.2024.01.03.12.27.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jan 2024 12:27:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-15980-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BLH2wcCX; spf=pass (google.com: domain of linux-kernel+bounces-15980-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-15980-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id EBE12B21CB7 for ; Wed, 3 Jan 2024 20:24:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5619C1DA53; Wed, 3 Jan 2024 20: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="BLH2wcCX" X-Original-To: linux-kernel@vger.kernel.org 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 7AE441DA50; Wed, 3 Jan 2024 20:23:08 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EF902C433C7; Wed, 3 Jan 2024 20:23:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1704313388; bh=/1wi2elESu3qA3ymnpBhXxm3Cm+EGVj4BLX3l9jDeR4=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=BLH2wcCXsSl2DovBkC7X1OYo1n2t+AVRmYKhft/A+OqHrwxapT4fJZm2g5gGobnQe uO5JM6ufEggqRjmBTKVvIxwG5XLviwmeZ/AZLV9AMtIVPxNZwE2g6JXG9P+1EQfaTU IFRHlrkoEv2QUfQeASwRkwcfM4QqEklPW1/Lhw/SkKSJEuwTO5ObThdkYq2gRG3Gw8 ua0kVLNPAn9E67u+OUEhegv69kgs47HPCj35fqOQCZIrT0BFTl/Xz9T9buqi3pzXMU 8tIyCNLx/F+7CSNWOKpFKjeXFH/lBNvgXJZreUupf4tUc0Z82iD0N8+GY+fVRJlcLJ iQahrI1SeoUsA== Received: by mail-lj1-f180.google.com with SMTP id 38308e7fff4ca-2cca5e7b390so110391391fa.3; Wed, 03 Jan 2024 12:23:07 -0800 (PST) X-Gm-Message-State: AOJu0YyYfXwCsecXYbmxrP6O1PG+yYuuWdQIa847aQt9wIY5okSU2RWf yP1Ei/uq/ZAZ7auRD90h8cxOMYOcOX8t+3+B6g== X-Received: by 2002:a2e:9684:0:b0:2cc:7d41:548c with SMTP id q4-20020a2e9684000000b002cc7d41548cmr8632506lji.54.1704313386193; Wed, 03 Jan 2024 12:23:06 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <9d7e85914eb1cdb313b28cb019093a84dd9b4773.1703167505.git.michal.simek@amd.com> <08546f36-9f88-4fd9-ba4e-5d6ee21cd60f@amd.com> In-Reply-To: <08546f36-9f88-4fd9-ba4e-5d6ee21cd60f@amd.com> From: Rob Herring Date: Wed, 3 Jan 2024 13:22:43 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] dt-bindings: serial: Describe ARM dcc interface To: Michal Simek Cc: Krzysztof Kozlowski , linux-kernel@vger.kernel.org, monstr@monstr.eu, michal.simek@xilinx.com, git@xilinx.com, Conor Dooley , Greg Kroah-Hartman , Jiri Slaby , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-serial@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Jan 2, 2024 at 8:32=E2=80=AFAM Michal Simek = wrote: > > > > On 12/22/23 09:20, Krzysztof Kozlowski wrote: > > On 21/12/2023 15:05, Michal Simek wrote: > >> Debug Communication Channel (DCC) provides the way how to pass data be= tween > >> target CPU and host via JTAG interface. Every CPU has own interface fo= r > >> communication via dbgdtrtx_el0 and dbgdtrrx_el0 registers. > >> > >> Signed-off-by: Michal Simek > >> --- > >> > >> This communication interface is used for flash programming on Xilinx > >> SOCs from U-Boot. > >> https://source.denx.de/u-boot/u-boot/-/blob/master/drivers/serial/arm_= dcc.c > >> > >> --- > >> .../devicetree/bindings/serial/arm,dcc.yaml | 30 +++++++++++++++++= ++ > >> 1 file changed, 30 insertions(+) > >> create mode 100644 Documentation/devicetree/bindings/serial/arm,dcc.= yaml > >> > >> diff --git a/Documentation/devicetree/bindings/serial/arm,dcc.yaml b/D= ocumentation/devicetree/bindings/serial/arm,dcc.yaml > >> new file mode 100644 > >> index 000000000000..fd0589356617 > >> --- /dev/null > >> +++ b/Documentation/devicetree/bindings/serial/arm,dcc.yaml > >> @@ -0,0 +1,30 @@ > >> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > >> +%YAML 1.2 > >> +--- > >> +$id: http://devicetree.org/schemas/serial/arm,dcc.yaml# > >> +$schema: http://devicetree.org/meta-schemas/core.yaml# > >> + > >> +title: ARM DCC (Data communication channel) serial emulation > >> + > >> +maintainers: > >> + - Michal Simek > >> + > >> +description: | > >> + ARM DCC (Data communication channel) serial emulation interface ava= ilable > >> + via JTAG can be also used as one of serial line tightly coupled wit= h every > >> + ARM CPU available in the system. > >> + > >> +properties: > >> + compatible: > >> + const: arm,dcc > >> + > >> +required: > >> + - compatible > > > > no allOf: with $ref to serial.yaml? Does it differ somehow? > > Valid one could be only nodename format and maybe label. > Others are not relevant. But if that's fine I can also add it. Yeah, I think serial.yaml mostly doesn't apply here. Not really worth including for just the node name. Greg may have already processed this, so you might want to resend. Or wait a few days and I'll just apply it. Rob