From patchwork Mon Jan 14 17:29:30 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rob Herring \(Arm\)" X-Patchwork-Id: 155573 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp3913821jaa; Mon, 14 Jan 2019 09:29:39 -0800 (PST) X-Google-Smtp-Source: ALg8bN5D/oI4lc80R13lp0sbZBI+ArAFSbJHrHgMzV3TzsBLfvs3aDsKILqR17LON/YOd7dFFyQd X-Received: by 2002:a63:304:: with SMTP id 4mr21803963pgd.99.1547486979119; Mon, 14 Jan 2019 09:29:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547486979; cv=none; d=google.com; s=arc-20160816; b=E0cCbdnpEx+GiOvPYIAG0sAUBb+f7O0xa+A4LFqIHOcBhklZUI7AwIagWIpUZ4/zyT cf7nR1Fn0kYV7LEwhyDMBQUI65ZkdrfNkq1CXR3LGn7yZgnnq+dK2kT6/7kzl2l50DV+ b7pC54U6JRnx14YcwSqpvAYVKtKt8F3HjHqMsGSTXHyGKmHGEJ1DxAR/Og1iCzNe96VO Xx3xCVRZn6e8RShxDhqdLN+L4DRPimfA6tb2qjgVqb89NNJBdvhdHGnbOMWg1Sxwc95h RKLT1C09A+WuWoGTOVQ3APrNdRj/9aRHmqrv9X9mSDDhSzAQ2wc+mB/rdJl0ItYcGq4a i6Zw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=DF4z7G+bPH8HV6nw+yBbgDSaink2L0Ol0QaxTDjc1VM=; b=dALFxslsWU40hE/4xuep0wDM5IZsySbqzxjk0S8W5Nea9MfgQWECYGacCLTs8Kq+EN 8STEXK/PzWFyieOlPzXTTBATZM3+17JsfS/SWUozd3i1/nMLNcKnpSLOb8jWYeTF6gHy 9I4JJ0vM+zKBSlYiwHEW06SYa4GfNVQ5zgAErbBZE5iLOzmwwAA6t118gcs4tyawtV4u GF7nXqVqg1Ui8iGEWrHYw1YmIi5P4vCVYEBEnCgBzHZu7uOulG+uyu/lohaZgOkZRv+P wiHRmWMWRfwzInQknDNjPNceTmf9Tbu/YIveZsk35WnpTpss2PlEUGdqTcLNOp+yySij fcVg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e7si774690pgi.263.2019.01.14.09.29.38; Mon, 14 Jan 2019 09:29:39 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726869AbfANR3i (ORCPT + 31 others); Mon, 14 Jan 2019 12:29:38 -0500 Received: from mail-ot1-f66.google.com ([209.85.210.66]:34646 "EHLO mail-ot1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726742AbfANR3e (ORCPT ); Mon, 14 Jan 2019 12:29:34 -0500 Received: by mail-ot1-f66.google.com with SMTP id t5so20045555otk.1; Mon, 14 Jan 2019 09:29:33 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=DF4z7G+bPH8HV6nw+yBbgDSaink2L0Ol0QaxTDjc1VM=; b=CEntkucDXko/v4RsUfKTtEivGyqpebi28tzRTbaxuLG53FoT+ywtZ20ft/j2GDO6rL hSc8hJxfl+P0iYO0GnclgXzYG2KO90J4DHUb9uv+1wZr3RZTn+2ilDrJQ+RST5TyEG99 L3Y1oVvfTRKIOIw8vsgFYM2JeJzHA/NEGwyUhdJDyFNIbdR0w/U2m6zeyl4HLEEuKoAa 7vz330ze9np0sUv5l+B1jCNO1yVyqai31BrdS5Zd0vpsEzY4D6eA1zqwM1lzuoBfs8Er 5u88b/gM5ugcZBl6WY13eYbS8GhRezkXED6fXg/X9FvCHfAUjoLZBNYe7KRD1nNYNru9 FYXA== X-Gm-Message-State: AJcUukdiA8qTSS3Zj+4Bmlx7waxERcnPJudAJ9jGvuRZHYEmc/cNNCTz jb06SycOmjsJEOiUVXP7yIer85Y= X-Received: by 2002:a9d:58c:: with SMTP id 12mr17875282otd.33.1547486973014; Mon, 14 Jan 2019 09:29:33 -0800 (PST) Received: from xps15.herring.priv (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.googlemail.com with ESMTPSA id 31sm943609otw.55.2019.01.14.09.29.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 14 Jan 2019 09:29:32 -0800 (PST) From: Rob Herring To: devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Simon Horman , Phil Edworthy , Greg Kroah-Hartman , linux-serial@vger.kernel.org Subject: [PATCH v2 2/2] dt-bindings: serial: Move renesas, rzn1-uart into the snps-dw-apb-uart binding Date: Mon, 14 Jan 2019 11:29:30 -0600 Message-Id: <20190114172930.7508-2-robh@kernel.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20190114172930.7508-1-robh@kernel.org> References: <20190114172930.7508-1-robh@kernel.org> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The renesas,rzn1-uart binding only differs in compatible string from the snps-dw-apb-uart binding. Move it there, converting it to json-schema in the process. Cc: Phil Edworthy Cc: Greg Kroah-Hartman Cc: linux-serial@vger.kernel.org Reviewed-by: Simon Horman Signed-off-by: Rob Herring --- v2: - Move Renesas compatible strings to this patch .../devicetree/bindings/serial/renesas,rzn1-uart.txt | 10 ---------- .../devicetree/bindings/serial/snps-dw-apb-uart.yaml | 5 +++++ 2 files changed, 5 insertions(+), 10 deletions(-) delete mode 100644 Documentation/devicetree/bindings/serial/renesas,rzn1-uart.txt -- 2.19.1 diff --git a/Documentation/devicetree/bindings/serial/renesas,rzn1-uart.txt b/Documentation/devicetree/bindings/serial/renesas,rzn1-uart.txt deleted file mode 100644 index 8b9e0d4dc2e4..000000000000 --- a/Documentation/devicetree/bindings/serial/renesas,rzn1-uart.txt +++ /dev/null @@ -1,10 +0,0 @@ -Renesas RZ/N1 UART - -This controller is based on the Synopsys DesignWare ABP UART and inherits all -properties defined in snps-dw-apb-uart.txt except for the compatible property. - -Required properties: -- compatible : The device specific string followed by the generic RZ/N1 string. - Therefore it must be one of: - "renesas,r9a06g032-uart", "renesas,rzn1-uart" - "renesas,r9a06g033-uart", "renesas,rzn1-uart" diff --git a/Documentation/devicetree/bindings/serial/snps-dw-apb-uart.yaml b/Documentation/devicetree/bindings/serial/snps-dw-apb-uart.yaml index 3e90c790d720..b42002542690 100644 --- a/Documentation/devicetree/bindings/serial/snps-dw-apb-uart.yaml +++ b/Documentation/devicetree/bindings/serial/snps-dw-apb-uart.yaml @@ -15,6 +15,11 @@ allOf: properties: compatible: oneOf: + - items: + - enum: + - renesas,r9a06g032-uart + - renesas,r9a06g033-uart + - const: renesas,rzn1-uart - items: - enum: - rockchip,px30-uart