From patchwork Tue Jul 30 01:49:54 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oskar Senft X-Patchwork-Id: 1138745 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 45yKMw1YRdz9sBZ for ; Tue, 30 Jul 2019 11:53:32 +1000 (AEST) Authentication-Results: ozlabs.org; dmarc=fail (p=reject dis=none) header.from=google.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=google.com header.i=@google.com header.b="obSxPLVX"; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 45yKMv6vGjzDqS3 for ; Tue, 30 Jul 2019 11:53:31 +1000 (AEST) X-Original-To: openbmc@lists.ozlabs.org Delivered-To: openbmc@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=flex--osk.bounces.google.com (client-ip=2607:f8b0:4864:20::74a; helo=mail-qk1-x74a.google.com; envelope-from=3xqi_xqmkb5e9d519916z.x979az8w7x63ded.9k6vwd.9c1@flex--osk.bounces.google.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=google.com header.i=@google.com header.b="obSxPLVX"; dkim-atps=neutral Received: from mail-qk1-x74a.google.com (mail-qk1-x74a.google.com [IPv6:2607:f8b0:4864:20::74a]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 45yKJR6DXCzDqQh for ; Tue, 30 Jul 2019 11:50:25 +1000 (AEST) Received: by mail-qk1-x74a.google.com with SMTP id z13so53599712qka.15 for ; Mon, 29 Jul 2019 18:50:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:in-reply-to:message-id:mime-version:references:subject:from:to :cc; bh=XhtnPgPdJLEODnhelBCfXYYebt+drQqz99ntQ+W4VXY=; b=obSxPLVX6W8OAtWYiuurB+F7hjGZnwAQ73mHfChT2pafrLmMr2sNq1aGn7aqqIxwjH qeE8ijz2I6mHIDhPtDwqVfVKYbt4PULCn1liLpvNQE4RQbMFhrNYZcZ4RQAaXl/8gDjn anCmoIh/RIE55UkTF0Qo6ipqMn9tGffySD9lnKCwMjT2hw32GFsuNY29N9NzvqONiVnR H6PiLZcBg9ayWI7L9JSJ8wTvFAhd/5pwK+Ev2TsCcJA5LjYFBM7l0V9bM90kIfRzGejN 0OFvAyqB5ZX5TeMrhzs+CyrAURHqPey/4zb8cdExh64cOQ+IR4EVpI6P4clnZ7bWeXUx 9BzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=XhtnPgPdJLEODnhelBCfXYYebt+drQqz99ntQ+W4VXY=; b=gBYtti7UgPzqFBvOZQHaLq58hc7sGKuX2SHq7droKZ8TsYSIreEvtczyUr/seN6YQn R9mPYB0Pq3AAlL+esKEeCbrgkdl3ymUAxYQS3hPVoKcmq9Tsd9x15zOFT/UcJB+V+pSL dYaYRm4En8gES1coQEpU5iw5bkECs+kEefU5MSAfl/KG1PyXR81AxxnLRjan9A1562TX cg0tPmexh97Wj9ZCB4k66ZUch6i8q82reAZu7pU/ygif6NexvRxur+JvcLZKloNx1Hrk k2/etm+7ef1v2iB4hJ+b1aWf59dfcfbavN4r0+aMsy+7SgNBStSE5KRKEdw75XcYD/GH joLQ== X-Gm-Message-State: APjAAAUUtrpiYtx5TcbUDg+e/nWKyKDRl3fYDpo4w8cJe3VUI9/+lAob Hw54v6wC4iAkYjSjd0BMmzfZ0Fo= X-Google-Smtp-Source: APXvYqxgvr9rQU4bepJKvgC4/F+pqbpBd++0qokNvxjficvCtUEw5GJEq/TFR3/KjOlNBjt2zcz3Prs= X-Received: by 2002:ac8:2f43:: with SMTP id k3mr80932816qta.179.1564451422658; Mon, 29 Jul 2019 18:50:22 -0700 (PDT) Date: Mon, 29 Jul 2019 21:49:54 -0400 In-Reply-To: <20190730014955.34059-1-osk@google.com> Message-Id: <20190730014955.34059-2-osk@google.com> Mime-Version: 1.0 References: <20190730014955.34059-1-osk@google.com> X-Mailer: git-send-email 2.22.0.709.g102302147b-goog Subject: [PATCH v2 2/3] dt-bindings: misc: Bindings doc for aspeed-uart-routing From: Oskar Senft To: joel@jms.id.au, andrew@aj.id.au X-BeenThere: openbmc@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development list for OpenBMC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: openbmc@lists.ozlabs.org, Oskar Senft , linux-aspeed@lists.ozlabs.org Errors-To: openbmc-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "openbmc" Device tree bindings documentation for the aspeed-uart-routing driver. Signed-off-by: Oskar Senft --- Changes since v1: Split out bindings documentation from driver commit. Added bindings for AST2400. .../bindings/misc/aspeed-uart-routing.txt | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 Documentation/devicetree/bindings/misc/aspeed-uart-routing.txt diff --git a/Documentation/devicetree/bindings/misc/aspeed-uart-routing.txt b/Documentation/devicetree/bindings/misc/aspeed-uart-routing.txt new file mode 100644 index 000000000000..bb9ce689d56b --- /dev/null +++ b/Documentation/devicetree/bindings/misc/aspeed-uart-routing.txt @@ -0,0 +1,39 @@ +====================================================================== +Device tree bindings for Aspeed AST2400/AST2500 UART Routing Control Driver +====================================================================== + +The Aspeed AST2500 allows to dynamically route the inputs for the built-in +UARTS and physical serial I/O ports. + +Required properties: +=================== + + - compatible: must be one of: + - "aspeed,ast2400-uart-routing" + - "aspeed,ast2500-uart-routing" + +Optional properties: +=================== + +The uart-routing node should be the child of a lpc node with the required +property: + +- compatible : Should be one of the following: + "aspeed,ast2400-lpc", "simple-mfd" + "aspeed,ast2500-lpc", "simple-mfd" + +Example +=================== + +g5 Example +---------- + +lpc: lpc@1e789000 { + compatible = "aspeed,ast2500-lpc", "simple-mfd"; + reg = <0x1e789000 0x1000>; + + uart_routing: uart_routing@9c { + compatible = "aspeed,ast2500-uart-routing"; + reg = <0x9c 0x4>; + }; +};