From patchwork Sat Jun 29 06:31:44 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Rosin X-Patchwork-Id: 1124713 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-i2c-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=axentia.se Authentication-Results: ozlabs.org; dkim=fail reason="key not found in DNS" (0-bit key; unprotected) header.d=axentia.se header.i=@axentia.se header.b="Brv9Hcyt"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 45bP1P2mWTz9s4V for ; Sat, 29 Jun 2019 16:31:53 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726719AbfF2Gbu (ORCPT ); Sat, 29 Jun 2019 02:31:50 -0400 Received: from mail-eopbgr150100.outbound.protection.outlook.com ([40.107.15.100]:28844 "EHLO EUR01-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726708AbfF2Gbu (ORCPT ); Sat, 29 Jun 2019 02:31:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axentia.se; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=37SUjS7m2lmhNc2Adry54CaxcVIZrf2Rekl3nxTmdwU=; b=Brv9HcytOqf5Sl59lC7Rve9wRO41jgBtIKc+twBo6sfRoF1lmI7mIGp7dpR3CqdeGrl7lJ7RNTUQ5qf9xLkgmMQJhGnm5ugtN/6mrMg6NCUWY9I0RAULG/3w+sZYRtNz/+Dfnv/IzLFLw4JIBYSELwODcxfEYaELBvJMXj6i/Co= Received: from DB3PR0202MB3434.eurprd02.prod.outlook.com (52.134.66.158) by DB3PR0202MB3290.eurprd02.prod.outlook.com (52.134.70.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2032.20; Sat, 29 Jun 2019 06:31:45 +0000 Received: from DB3PR0202MB3434.eurprd02.prod.outlook.com ([fe80::29c5:d1ae:8855:3153]) by DB3PR0202MB3434.eurprd02.prod.outlook.com ([fe80::29c5:d1ae:8855:3153%3]) with mapi id 15.20.2008.014; Sat, 29 Jun 2019 06:31:45 +0000 From: Peter Rosin To: Wolfram Sang , "linux-i2c@vger.kernel.org" Subject: [PULL REQUEST] i2c-mux for 5.3-rc1 Thread-Topic: [PULL REQUEST] i2c-mux for 5.3-rc1 Thread-Index: AQHVLkRSlxgFiC6U/EyL0EYDbF8ggg== Date: Sat, 29 Jun 2019 06:31:44 +0000 Message-ID: Accept-Language: en-US, sv-SE Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.7.1 x-originating-ip: [213.112.138.100] x-clientproxiedby: HE1P191CA0007.EURP191.PROD.OUTLOOK.COM (2603:10a6:3:cf::17) To DB3PR0202MB3434.eurprd02.prod.outlook.com (2603:10a6:8:5::30) authentication-results: spf=none (sender IP is ) smtp.mailfrom=peda@axentia.se; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 5ed942bf-3c33-4cfb-dfc1-08d6fc5b749c x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(7021145)(8989299)(4534185)(7022145)(4603075)(4627221)(201702281549075)(8990200)(7048125)(7024125)(7027125)(7023125)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:DB3PR0202MB3290; x-ms-traffictypediagnostic: DB3PR0202MB3290: x-ms-exchange-purlcount: 1 x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3044; x-forefront-prvs: 0083A7F08A x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(396003)(346002)(39830400003)(376002)(136003)(366004)(52314003)(199004)(189003)(966005)(66476007)(66556008)(66446008)(64756008)(66946007)(66066001)(65956001)(65806001)(8676002)(53936002)(81156014)(6306002)(58126008)(81166006)(25786009)(316002)(14454004)(476003)(486006)(2616005)(6512007)(110136005)(71200400001)(73956011)(64126003)(71190400001)(99286004)(36756003)(256004)(86362001)(31696002)(6506007)(386003)(102836004)(5660300002)(26005)(2501003)(65826007)(186003)(52116002)(6436002)(31686004)(6486002)(305945005)(7736002)(6116002)(3846002)(74482002)(8936002)(508600001)(68736007)(2906002); DIR:OUT; SFP:1102; SCL:1; SRVR:DB3PR0202MB3290; H:DB3PR0202MB3434.eurprd02.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: axentia.se does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: LvzUsOyWA9TYBj0HDTcJ/X8jTpO64KmMCs9jsSx+frN7FplLYxs1FKbmVwjAb1yWcQt04Qg+nA2D20b0ULi1ckppxr36HUXnQN7EwNDoJNdHFOwLT0g7Yx1Nj1zAfyocTT8lDeLoMUYdM76gwXRR80tztHNRBgp5se4bqcNPdR8g11jHuWO5NHHIN2on754JgtdHD1ioRe5UDWOPZOfCqYjhS9yL4W1I4JUvfnhZrCNZhKFgkcHYNcF5EIDbXuicRuiafa/GAIAfb2n9abUHujU6IjtNRzAwrPArQUpvyfqso8t/qHdt9AD9ULGfMOmBJdQXipyKjjy8TGFNvcRKYhK6phrb/tloIz7KGrg1qMdTSDSiU/BsjEoglK0nrIsDTvKkpC3JGG/VbjzNW1cQhCJEE+AWMr9emXfLiqJJ430= Content-ID: <6D6FE4ECC6977343B55405B2C57138AE@eurprd02.prod.outlook.com> MIME-Version: 1.0 X-OriginatorOrg: axentia.se X-MS-Exchange-CrossTenant-Network-Message-Id: 5ed942bf-3c33-4cfb-dfc1-08d6fc5b749c X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Jun 2019 06:31:44.9694 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 4ee68585-03e1-4785-942a-df9c1871a234 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: peda@axentia.se X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR0202MB3290 Sender: linux-i2c-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-i2c@vger.kernel.org Hi Wolfram, I realize that there are changes in drivers/i2c/busses/i2c-i801.c that strictly speaking don't belong here, but I hope you don't mind. These changes are all about the interaction with the i2c-mux-gpio code, and I did a test-merge a few days ago w/o conflicts. Anyway, the GPIO-work from Linus Walleij (with help from Serge Semin) in the i2c-mux-gpio and i2c-arb-gpio-challenge drivers is the main feature. Please pull. Cheers, Peter The following changes since commit cd6c84d8f0cdc911df435bb075ba22ce3c605b07: Linux 5.2-rc2 (2019-05-26 16:49:19 -0700) are available in the git repository at: https://github.com/peda-r/i2c-mux.git i2c-mux/for-next for you to fetch changes up to 05af0765707fc136433ab380d5d627afe3b8dda9: i2c: mux: demux-pinctrl: use proper email address for ABI requests (2019-06-22 07:35:24 +0200) ---------------------------------------------------------------- Gustavo A. R. Silva (2): i2c: mux: Use struct_size() in devm_kzalloc() i2c: mux: pinctrl: use flexible-array member and struct_size() helper Linus Walleij (2): i2c: mux: arb-gpio: Rewrite to use GPIO descriptors i2c: mux/i801: Switch to use descriptor passing Wolfram Sang (2): i2c: mux: add sysfs header i2c: mux: demux-pinctrl: use proper email address for ABI requests .../ABI/testing/sysfs-platform-i2c-demux-pinctrl | 4 +- drivers/i2c/busses/i2c-i801.c | 37 +++++-- drivers/i2c/i2c-mux.c | 4 +- drivers/i2c/muxes/i2c-arb-gpio-challenge.c | 79 +++++--------- drivers/i2c/muxes/i2c-mux-gpio.c | 116 ++++++--------------- drivers/i2c/muxes/i2c-mux-pinctrl.c | 5 +- include/linux/platform_data/i2c-mux-gpio.h | 7 -- 7 files changed, 93 insertions(+), 159 deletions(-)