From patchwork Fri Aug 11 08:15:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Stanley X-Patchwork-Id: 134368 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b824:0:b0:3f2:4152:657d with SMTP id z4csp942609vqi; Fri, 11 Aug 2023 01:42:09 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH0ak3yg70XxImK6FgRCYple2l/l9EqvVa13O/o7sD7gZlnVGlAV3W8dkrCuTJmdnNSoBBX X-Received: by 2002:a05:6a00:1818:b0:687:94c5:6d9d with SMTP id y24-20020a056a00181800b0068794c56d9dmr1329090pfa.30.1691743329106; Fri, 11 Aug 2023 01:42:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691743329; cv=none; d=google.com; s=arc-20160816; b=DjY9F0TUUqu6Cy/awFLxv6kFEH1BussGcdEiuGJdJI5zoa8SLPOW0/Ay+dDlhloazr XuF2bsmbtEeZYe7y6xbLBk5J2XUQH+AaCmb63nqxrdFx8jb/kfdE6qdFnjX1jcZ93O+R HXnClML97D4HCos44TfxkbWM7W1dWexu2GmKs+GsyYobVj8kzv8YDmcNrRloYr5HWmBN X2S92TQEpVis5kM3XY6zPk1r5ZQjoTHxeQYkVdX+hDtAfd3cE2l29xb3Qn9lyqTAtoDw V8TqRU1wZokJV9qrhPf/Razb/apUPq9wqEDTe0U0H34QrZzxsvigQ/uHhqn10Trpr7/M n9dQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:mime-version :dkim-signature; bh=oDkmG8AMB0PZhsRk/AuWjuYW0JcUlr7WxFGqyn/0xRo=; fh=JWz5tgolHSH0W6qWtkfP3V0MEuAJagrALxaW+bTKWBc=; b=qz4Zgl5J5sLJX4usO7/1Aoe0PiLIf2ispuP9iN/BuOE9ZY4VXKQ1iL8g9zxLbS7rC7 TIFRLbW/bijtsjwFOztB2cd/TS+rPLgnYXvmvYqNQCAKuMC4SI6D8phmxUDLxkiInF5Z UNkWDijOpCtfEfDaTPD3QSF0lei3/+wM7E4YbJjKx/652Vq17Flsz3N8rETyMfPDRuVV aBRvqzifXsgVG+c7+9Hg7q0MCDpUwJEXZ7JofQaZ+7n0gZHO4jgljChWFE66VPEDOIZC DgvWd8OVSGDcG2fBE6pfIhvRqYYhzMnbjOdjYMwm0G8mj/QbNDX4vFHB+jEWYowZdSZK Dg8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@jms.id.au header.s=google header.b="lpdPjcw/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u11-20020a056a00124b00b00682759c6440si3116323pfi.40.2023.08.11.01.41.53; Fri, 11 Aug 2023 01:42:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@jms.id.au header.s=google header.b="lpdPjcw/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231233AbjHKIPz (ORCPT + 99 others); Fri, 11 Aug 2023 04:15:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39110 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230486AbjHKIPy (ORCPT ); Fri, 11 Aug 2023 04:15:54 -0400 Received: from mail-ej1-x634.google.com (mail-ej1-x634.google.com [IPv6:2a00:1450:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1E95F26B2 for ; Fri, 11 Aug 2023 01:15:53 -0700 (PDT) Received: by mail-ej1-x634.google.com with SMTP id a640c23a62f3a-986d8332f50so242419566b.0 for ; Fri, 11 Aug 2023 01:15:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jms.id.au; s=google; t=1691741751; x=1692346551; h=cc:to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=oDkmG8AMB0PZhsRk/AuWjuYW0JcUlr7WxFGqyn/0xRo=; b=lpdPjcw/XCC/jltBBnwx21a9Fuf4Jjnq786RWgtwE07b7FCGsA2re+72vTWl6fdoOL QFaZIagiA4KbedL/1C2nwZh31x5pysQBgMr+89fYOYomPhzalVlE5yqxEeFEEgx1FrHR oc6HXfqot42ihv7dcJjNE84ICveulqUy5davo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691741751; x=1692346551; h=cc:to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=oDkmG8AMB0PZhsRk/AuWjuYW0JcUlr7WxFGqyn/0xRo=; b=A1vKOoFFffmndSDmaXg1WNAloWAjYAKr/wiib9q+EqUm4lopZltEQDNfACowSiJDSc uOxI/wyrER1Z0HRVFZzgjC4VlyfUHSzdN+FMV+a+ftfVY+33kp1mS86JklZWjqd+xW8v PJZrrPxGhgBRgbrxKfjQJ3E3BCzhXT2Cf2phymiPIuVwtiu+5Mmn9KPfOQuQ6NiYRAiS XUxZ/2J3+wku6ZwkDw1/5BNGypmsIgszi+FB/rqZQl+IwpbkaUUcrJruXIO62JqV9G3w ZsmH+B/FaVLWyRhvd6aUO/+7Gb+2WunqAynRK+SbdjAKtSjq8k7PcNjQLP6DP9YFJz15 XWWg== X-Gm-Message-State: AOJu0YxQ8TOHQd5NeDuU+AFMhb5y4eEWgLjTnyEDIRRoCFcXlz+Ij6He K5xMI/ZXWC4Dr4BsEuT9GeiBGKMY7+PobVRCng4/XIAe5XA= X-Received: by 2002:a17:906:291:b0:994:1844:caec with SMTP id 17-20020a170906029100b009941844caecmr1018799ejf.77.1691741751287; Fri, 11 Aug 2023 01:15:51 -0700 (PDT) MIME-Version: 1.0 From: Joel Stanley Date: Fri, 11 Aug 2023 08:15:39 +0000 Message-ID: Subject: [GIT PULL] FSI changes for v6.6 To: Greg KH Cc: Linux Kernel Mailing List , linux-fsi@lists.ozlabs.org X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1773921453058544073 X-GMAIL-MSGID: 1773921453058544073 Hi Greg, Please pull these FSI changes for v6.6. The following changes since commit 06c2afb862f9da8dc5efa4b6076a0e48c3fbaaa5: Linux 6.5-rc1 (2023-07-09 13:53:13 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/joel/fsi.git tags/fsi-for-v6.6 for you to fetch changes up to f04d61a379d65794d5d85168b84dcdf01d426f7c: fsi: fix some spelling mistakes in comment (2023-08-11 13:32:15 +0930) ---------------------------------------------------------------- FSI changes for v6.6 * New drivers for the I2C Responder master and SCOM device * Misc janitor fixes ---------------------------------------------------------------- Eddie James (15): fsi: Move fsi_slave structure definition to header fsi: Add aliased device numbering fsi: Use of_match_table for bus matching if specified fsi: sbefifo: Don't check status during probe fsi: sbefifo: Add configurable in-command timeout fsi: sbefifo: Remove limits on user-specified read timeout fsi: aspeed: Reset master errors after CFAM reset fsi: core: Add trace events for scan and unregister fsi: core: Fix legacy minor numbering fsi: core: Switch to ida_alloc/free fsi: Improve master indexing fsi: Lock mutex for master device registration dt-bindings: fsi: Document the IBM I2C Responder virtual FSI master fsi: Add IBM I2C Responder virtual FSI master fsi: Add I2C Responder SCOM driver Juerg Haefliger (1): fsi: master-ast-cf: Add MODULE_FIRMWARE macro Randy Dunlap (1): docs: ABI: fix spelling/grammar in SBEFIFO timeout interface Rob Herring (2): fsi: Explicitly include correct DT includes fsi: Use of_property_read_reg() to parse "reg" Yu Zhe (1): fsi: fix some spelling mistakes in comment drivers/fsi/fsi-master-i2cr.h | 33 +++ drivers/fsi/fsi-master.h | 2 +- drivers/fsi/fsi-slave.h | 28 ++ include/trace/events/fsi.h | 31 ++ include/trace/events/fsi_master_i2cr.h | 107 +++++++ include/uapi/linux/fsi.h | 10 + drivers/fsi/fsi-core.c | 154 +++++----- drivers/fsi/fsi-master-aspeed.c | 4 +- drivers/fsi/fsi-master-ast-cf.c | 5 +- drivers/fsi/fsi-master-gpio.c | 2 +- drivers/fsi/fsi-master-hub.c | 2 +- drivers/fsi/fsi-master-i2cr.c | 316 +++++++++++++++++++++ drivers/fsi/fsi-occ.c | 2 +- drivers/fsi/fsi-sbefifo.c | 53 ++-- drivers/fsi/fsi-scom.c | 8 + drivers/fsi/i2cr-scom.c | 154 ++++++++++ .../ABI/testing/sysfs-bus-fsi-devices-sbefifo | 6 +- .../bindings/fsi/ibm,i2cr-fsi-master.yaml | 41 +++ drivers/fsi/Kconfig | 17 ++ drivers/fsi/Makefile | 2 + 20 files changed, 878 insertions(+), 99 deletions(-) create mode 100644 drivers/fsi/fsi-master-i2cr.h create mode 100644 drivers/fsi/fsi-slave.h create mode 100644 include/trace/events/fsi_master_i2cr.h create mode 100644 drivers/fsi/fsi-master-i2cr.c create mode 100644 drivers/fsi/i2cr-scom.c create mode 100644 Documentation/devicetree/bindings/fsi/ibm,i2cr-fsi-master.yaml