From patchwork Fri Nov 8 05:19:34 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Stanley X-Patchwork-Id: 1191657 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (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 478TC10TPtz9sPk for ; Fri, 8 Nov 2019 16:21:17 +1100 (AEDT) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=jms.id.au Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="giOoN2iC"; dkim-atps=neutral Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 478TC05PwBzF6gS for ; Fri, 8 Nov 2019 16:21:16 +1100 (AEDT) X-Original-To: linux-fsi@lists.ozlabs.org Delivered-To: linux-fsi@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:4864:20::544; helo=mail-pg1-x544.google.com; envelope-from=joel.stan@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=jms.id.au Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="giOoN2iC"; dkim-atps=neutral Received: from mail-pg1-x544.google.com (mail-pg1-x544.google.com [IPv6:2607:f8b0:4864:20::544]) (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 478T9Z6YlGzF4rR for ; Fri, 8 Nov 2019 16:20:02 +1100 (AEDT) Received: by mail-pg1-x544.google.com with SMTP id h4so3291318pgv.8 for ; Thu, 07 Nov 2019 21:20:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=eFsH+L829oE/OwopODh0Rlc4QU2iHdxkZ2p54c8xCJE=; b=giOoN2iCH2gl4XYTC0DGivxErEzR5sLnO1BZwomEBJoVbi1J6uhyraLvE7dTiDRgey RkWQdvxY70+dcIFsnXXexmPODvZCOPIlDXW/h7JVh2rwqwO4IcSi2Xp2LHO5jmI6n6tB bSG64yvooZ4nvkoNm4Qujv/rOpUCB7Xx4fKc7nozepHxazodVWLgjGT1QV2j9BUqLXOb sjJOLcPM7mW+l1DR7IwNuGUDOOCUmyFf2w9zUslEEMAWW2Y2q7OpRZz42SNw2lhx5IQO UHG1cfVpvu3+COKSodN2RSBXIdlb06DLj4zDduX2n4+TrzKvHoGLE0BgQiEZD1irrt4k GUgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=eFsH+L829oE/OwopODh0Rlc4QU2iHdxkZ2p54c8xCJE=; b=BxyI46aS9pGRCtumGXr0DgRl4gtkUybxjZ13Oqe3lkYgKCDA4906uIQrzcRSneUrEy bROtRhrkq2Q9ew69wMmr3PqW7SfxSsEOo452LCBGsQu6Rb1zUPwLFiMXVI2WVlhujSwn 7GU51rJ4QIhiLvcub+LxFqtjMFHJfLhZkEMIx16acd9B/Dvlk+NYy5s5yBDU5kvhTXct LPjGXFkIaRu8ectrORRu7t8ac9x2NqYCaN3i5XtK4MWN5sgIlsg3RL+ypn4sT64f4qQD GAmPugVpCCaI4ueYlVXhiwLd7DGlJotV93ICVZEis7vOwfnier0YORyCPAyHBEpcPyrU 2j2g== X-Gm-Message-State: APjAAAVnSn0J3Ry/xywbsI3Y3lVmYpewUcyKBoqv1HO3SUz0nfgXNihC 5oKHUoXdbNA3rEJGNhzLhpE= X-Google-Smtp-Source: APXvYqyH/KD6c9XA8sPBchDP+LUk0Aegmnor+q9X7ysQCpoU4EoBt0as0FnheT5yRmG7x8dClNiuiQ== X-Received: by 2002:a63:234c:: with SMTP id u12mr9239958pgm.384.1573190399697; Thu, 07 Nov 2019 21:19:59 -0800 (PST) Received: from voyager.ibm.com ([36.255.48.244]) by smtp.gmail.com with ESMTPSA id v19sm3798443pjr.14.2019.11.07.21.19.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Nov 2019 21:19:59 -0800 (PST) From: Joel Stanley To: Rob Herring , Greg KH , Jeremy Kerr Subject: [PATCH v2 00/11] fsi: Patches for 5.5 Date: Fri, 8 Nov 2019 15:49:34 +1030 Message-Id: <20191108051945.7109-1-joel@jms.id.au> X-Mailer: git-send-email 2.24.0.rc1 MIME-Version: 1.0 X-Mailman-Approved-At: Fri, 08 Nov 2019 16:21:09 +1100 X-BeenThere: linux-fsi@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Alistar Popple , linux-kernel@vger.kernel.org, Steven Rostedt , Ingo Molnar , linux-arm-kernel@lists.infradead.org, linux-fsi@lists.ozlabs.org Errors-To: linux-fsi-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "linux-fsi" This series forms the FSI pull request for 5.5. 1-3 adds a FSI class type and updates the documentation for the sysfs files 4-7 makes some cleanups and fixes to the fsi core 8-10 adds the support for the FSI master in the ASPEED AST2600 BMC The driver has been tested on hardware for most operations. Future enhancements include robust error recovery, DMA support and interrupt support. The fix for byte order registers is not squashed in as Andrew's commit message is a piece of art that deserves to be in the kernel history. It does not need to go to stable as it fixes a patch earlier in this series. Andrew Jeffery (3): trace: fsi: Print transfer size unsigned fsi: core: Fix small accesses and unaligned offsets via sysfs fsi: aspeed: Fix OPB0 byte order register values Jeremy Kerr (2): fsi: Add fsi-master class fsi: Move master attributes to fsi-master class Joel Stanley (5): ABI: Update FSI path documentation fsi: Move defines to common header dt-bindings: fsi: Add description of FSI master fsi: Add ast2600 master driver fsi: aspeed: Add trace points kbuild test robot (1): fsi: fsi_master_class can be static Documentation/ABI/testing/sysfs-bus-fsi | 16 +- .../bindings/fsi/fsi-master-aspeed.txt | 24 + drivers/fsi/Kconfig | 8 + drivers/fsi/Makefile | 1 + drivers/fsi/fsi-core.c | 67 ++- drivers/fsi/fsi-master-aspeed.c | 544 ++++++++++++++++++ drivers/fsi/fsi-master-hub.c | 46 -- drivers/fsi/fsi-master.h | 71 +++ include/trace/events/fsi.h | 6 +- include/trace/events/fsi_master_aspeed.h | 77 +++ 10 files changed, 785 insertions(+), 75 deletions(-) create mode 100644 Documentation/devicetree/bindings/fsi/fsi-master-aspeed.txt create mode 100644 drivers/fsi/fsi-master-aspeed.c create mode 100644 include/trace/events/fsi_master_aspeed.h