Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp1160248pxb; Wed, 1 Sep 2021 19:22:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwy4DllL3ABL15Xe8ortLzvzQ4SpR2SwIEq9ajAlY4yMfvyv7LOOfEEnfZ2vPsB6u3Ryk/J X-Received: by 2002:a05:6402:2286:: with SMTP id cw6mr1099710edb.8.1630549341270; Wed, 01 Sep 2021 19:22:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630549341; cv=none; d=google.com; s=arc-20160816; b=ysjc7xjP/UqEPNxmfWfq6HM7wdVgalLkBlLKlCMmqX6BfdblNzOf6NncyfEs/xM29a t30ApTP/Bg6cpNjcneCXMAZgBbf8LRUthj/XloXFNFS3GS0LZB1cNzquc9NtOCxqHrJy kL9Z0Pjf8fGARYSw88Wd6ZS/OALeUDBcYTAwrc32W2SkPuaxGqJr4Th5EV2qQ6hOLVqB zMWTFCz8MQztvjmNPNVp2JfbiMBKsGGYzhXiudgDZIyqAUmN9ihwreLB6apMSctawnsm T7+COXbD74dQvPUpP2wHZR+1te+xYrqL9Grmxis1xQ7DBWaA0rrjZv0nCx9cyxt1lPQQ dJTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:to:from; bh=flE6iP89ml56/yj5D9gSk8+a8rpF9M+fTWYgwhzz7Ig=; b=oIleFMpUXqWn/eSzEENTy8geIGEZ9Nz2x/NGFRyW7KbssdelqXsJGDXl6rRhwacfM5 8H3oLDvv4YkQoQedNtOFLPBXap/sffAoqRy4xFywlJEjX47GRosBgKRpTRu5FlPmE+yj OUKdqicKpdzD6c1bIDW4vRlVZGurVtqoA0lw5KU19awd6L2WUBD/LKiuv5FUbfnQyu43 tJwTbYN83NxzsPaygMTbU8/R+trm9lvtIOPCww+7qpClArksyvqvlibBr2qHYUL9ylsO Uvg3rsGqbhLQMzjw8glRl1ZAUiax220JwEasdGGFxoE69Qx4i+22By8pPeb4ZR6m3f5g +sww== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h15si616148ede.550.2021.09.01.19.21.56; Wed, 01 Sep 2021 19:22:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239572AbhIBCVS (ORCPT + 99 others); Wed, 1 Sep 2021 22:21:18 -0400 Received: from twspam01.aspeedtech.com ([211.20.114.71]:27848 "EHLO twspam01.aspeedtech.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233001AbhIBCVQ (ORCPT ); Wed, 1 Sep 2021 22:21:16 -0400 Received: from mail.aspeedtech.com ([192.168.0.24]) by twspam01.aspeedtech.com with ESMTP id 1821xAgu068909; Thu, 2 Sep 2021 09:59:10 +0800 (GMT-8) (envelope-from chiawei_wang@aspeedtech.com) Received: from ChiaWeiWang-PC.aspeed.com (192.168.2.66) by TWMBX02.aspeed.com (192.168.0.24) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 2 Sep 2021 10:18:15 +0800 From: Chia-Wei Wang To: , , , , , , , , , Subject: [PATCH v2 0/3] arm: aspeed: Add UART routing support Date: Thu, 2 Sep 2021 10:18:13 +0800 Message-ID: <20210902021817.17506-1-chiawei_wang@aspeedtech.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [192.168.2.66] X-ClientProxiedBy: TWMBX02.aspeed.com (192.168.0.24) To TWMBX02.aspeed.com (192.168.0.24) X-DNSRBL: X-MAIL: twspam01.aspeedtech.com 1821xAgu068909 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add UART routing driver and the device tree nodes. v2: - Add dt-bindings - Add ABI documents for the exported sysfs interface - Revise driver implementation suggested by Joel Chia-Wei Wang (3): dt-bindings: aspeed-lpc: Add UART routing compatible string soc: aspeed: Add UART routing support ARM: dts: aspeed: Add uart routing to device tree .../testing/sysfs-driver-aspeed-uart-routing | 15 + .../devicetree/bindings/mfd/aspeed-lpc.txt | 22 + arch/arm/boot/dts/aspeed-g5.dtsi | 6 + arch/arm/boot/dts/aspeed-g6.dtsi | 6 + drivers/soc/aspeed/Kconfig | 10 + drivers/soc/aspeed/Makefile | 9 +- drivers/soc/aspeed/aspeed-uart-routing.c | 601 ++++++++++++++++++ 7 files changed, 665 insertions(+), 4 deletions(-) create mode 100644 Documentation/ABI/testing/sysfs-driver-aspeed-uart-routing create mode 100644 drivers/soc/aspeed/aspeed-uart-routing.c -- 2.17.1