linux-serial.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "József Horváth" <info@ministro.hu>
To: 'Greg Kroah-Hartman' <gregkh@linuxfoundation.org>,
	'Rob Herring' <robh+dt@kernel.org>,
	'Jiri Slaby' <jirislaby@kernel.org>,
	linux-serial@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH v4] Serial: silabs si4455 serial driver
Date: Sat, 12 Dec 2020 07:31:32 +0000	[thread overview]
Message-ID: <20201212073131.GA14792@dincontrollerdev> (raw)
In-Reply-To: <20201212070944.GA13909@dincontrollerdev>

On Sat, Dec 12, 2020 at 07:09:46AM +0000, József Horváth wrote:
> This is a serial port driver for
>  Silicon Labs Si4455 Sub-GHz transciver.
> 
> The goal of this driver is to removing wires
>  between central(linux) device and remote serial devices/sensors,
>  but keeping the original user software.
>  It represents regular serial interface for the user space.
> 
> Datasheet: https://www.silabs.com/documents/public/data-sheets/Si4455.pdf
> 
> Signed-off-by: József Horváth <info@ministro.hu>
> ---
>  .../staging/serial/silabs,si4455.yaml         |   95 ++
>  MAINTAINERS                                   |    6 +
>  drivers/tty/serial/Kconfig                    |    8 +
>  drivers/tty/serial/Makefile                   |    1 +
>  drivers/tty/serial/si4455.c                   | 1328 +++++++++++++++++
>  5 files changed, 1438 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/staging/serial/silabs,si4455.yaml
>  create mode 100644 drivers/tty/serial/si4455.c
> 
> diff --git a/Documentation/devicetree/bindings/staging/serial/silabs,si4455.yaml b/Documentation/devicetree/bindings/staging/serial/silabs,si4455.yaml
> new file mode 100644
> index 000000000000..d3a8c07c6714
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/staging/serial/silabs,si4455.yaml
> @@ -0,0 +1,95 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: "http://devicetree.org/schemas/staging/serial/silabs,si4455.yaml#"

In this version I changed the $id to "http://.../staging/..." and removed $ref: "serial.yaml#".
The make dt_binding_check completes without any error or warning, but this is not a good solution.

My question is, how can I use $ref: "serial.yaml" dependency, while my schema is under staging?
	allOf:
  	  - $ref: "serial.yaml#"

The make dt_binding_check output, while the schema is in staging, and $ref: "serial.yaml" dependency in the schema:

	Unknown file referenced: [Errno 2] No such file or directory: '/home/administrator/.local/lib/python3.6/site-packages/dtschema/schemas/staging/serial/serial.yaml'
	xargs: dt-doc-validate: exited with status 255; aborting
	Documentation/devicetree/bindings/Makefile:59: recipe for target 'Documentation/devicetree/bindings/processed-schema-examples.json' failed
	make[1]: *** [Documentation/devicetree/bindings/processed-schema-examples.json] Error 124
	Makefile:1364: recipe for target 'dt_binding_check' failed
	make: *** [dt_binding_check] Error 2



> +$schema: "http://devicetree.org/meta-schemas/core.yaml#"
> +
> +title: Silicon Labs Si4455 device tree bindings
> +
> 
> 

Üdvözlettel / Best regards:
József Horváth


  reply	other threads:[~2020-12-12 10:33 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-12  7:09 [PATCH v4] Serial: silabs si4455 serial driver József Horváth
2020-12-12  7:31 ` József Horváth [this message]
2020-12-14  8:04 ` Jiri Slaby
2020-12-14 12:35   ` József Horváth
2020-12-14 12:39     ` Jiri Slaby
2020-12-14 12:55       ` József Horváth
2020-12-14 16:27       ` József Horváth

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201212073131.GA14792@dincontrollerdev \
    --to=info@ministro.hu \
    --cc=devicetree@vger.kernel.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=jirislaby@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-serial@vger.kernel.org \
    --cc=robh+dt@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).