From patchwork Wed Jun 12 08:52:51 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Rosin X-Patchwork-Id: 1114368 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@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=devicetree-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="M+UGRmxx"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 45P0y33Jr2z9sBr for ; Wed, 12 Jun 2019 18:52:59 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2436782AbfFLIw6 (ORCPT ); Wed, 12 Jun 2019 04:52:58 -0400 Received: from mail-eopbgr40091.outbound.protection.outlook.com ([40.107.4.91]:47108 "EHLO EUR03-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2436777AbfFLIw6 (ORCPT ); Wed, 12 Jun 2019 04:52:58 -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=RslixCXNajP7TwiIgQD7UGEhvXFx8WBLIfQGXT83P4Y=; b=M+UGRmxxdFjSzuWlQBKgmjPUBZOTZ1A/+/Q0enYi/Oc8juf1IOs+hIzpC5Dd7OXyUINpgxy41n2ljglJMKJKj00uDZlMGg5z0LpTobYF692u2cPknHmzrSZC9vMgywfWUlGMAVUv4nBqkLsF9uoJhMbOnwDb69lTppxV6caMIac= Received: from DB3PR0202MB3434.eurprd02.prod.outlook.com (52.134.66.158) by DB3PR0202MB3275.eurprd02.prod.outlook.com (52.134.66.149) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1965.14; Wed, 12 Jun 2019 08:52:51 +0000 Received: from DB3PR0202MB3434.eurprd02.prod.outlook.com ([fe80::49ac:3a71:a3ec:d6bf]) by DB3PR0202MB3434.eurprd02.prod.outlook.com ([fe80::49ac:3a71:a3ec:d6bf%5]) with mapi id 15.20.1987.010; Wed, 12 Jun 2019 08:52:51 +0000 From: Peter Rosin To: Greg Kroah-Hartman , "linux-kernel@vger.kernel.org" CC: Peter Rosin , Rob Herring , Mark Rutland , "devicetree@vger.kernel.org" , Pankaj Bansal Subject: [RESEND PATCH 0/2] mux: a couple of patches for 5.3-rc1 Thread-Topic: [RESEND PATCH 0/2] mux: a couple of patches for 5.3-rc1 Thread-Index: AQHVIPw3zI6fNL+/mke3L2Fv6k7D4A== Date: Wed, 12 Jun 2019 08:52:51 +0000 Message-ID: <20190612085238.1763-1-peda@axentia.se> Accept-Language: en-US, sv-SE Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: git-send-email 2.11.0 x-originating-ip: [213.112.138.100] x-clientproxiedby: HE1PR0102CA0053.eurprd01.prod.exchangelabs.com (2603:10a6:7:7d::30) 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: c60ab886-a8b3-4473-449e-08d6ef135a27 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:DB3PR0202MB3275; x-ms-traffictypediagnostic: DB3PR0202MB3275: x-ms-exchange-purlcount: 2 x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-forefront-prvs: 0066D63CE6 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(366004)(376002)(39830400003)(396003)(346002)(136003)(189003)(199004)(25786009)(508600001)(8936002)(4326008)(66476007)(74482002)(256004)(64756008)(66446008)(66556008)(66946007)(50226002)(73956011)(486006)(2906002)(14454004)(476003)(81166006)(966005)(86362001)(110136005)(186003)(71200400001)(2501003)(3846002)(66066001)(8676002)(53936002)(6486002)(81156014)(2616005)(26005)(6512007)(6436002)(14444005)(316002)(5660300002)(6116002)(99286004)(7736002)(36756003)(52116002)(68736007)(305945005)(1076003)(6506007)(54906003)(102836004)(71190400001)(386003)(6306002)(6606295002); DIR:OUT; SFP:1102; SCL:1; SRVR:DB3PR0202MB3275; H:DB3PR0202MB3434.eurprd02.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A: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: 4L6bn58fIHPvwymmYZ1FLDwAjH0S1SQwXEOasXUT01dDu/3GLGj3JlOyfZCer/ETvg6Dw5Y9V71OfKxdV9AcspHyy+d+Mi9YiZIpKHWZcdqj9NAkcGqE+COVqjNzTIZ29vYoJdijegXduKJtEj/P4tgM/xmw+AO8a+eOklRWvOi0CAebSKtQe2ZXhEaU/o9vUYzvNaJy5h5TQ78WgQKp6HPynFNohCeDg6bt9muip5tw/INZI0G5Wq2V82xKflvO+7WGI3ZXA+5sQXqdZy7HI11xf6s/HExc/M3ujN5LJ22vJTEhL9V0XUHOFMqW5+HLzzM5ep/L4AOsx6e+ssGJfqgYnDEhGLmL0XBA+SLhuFbdSM3kj1Hc8+XapXNI0Po+ZOGiVx8NwsvNk1U7pGlajsW2lLj9yPBasdEQcikTCNA= MIME-Version: 1.0 X-OriginatorOrg: axentia.se X-MS-Exchange-CrossTenant-Network-Message-Id: c60ab886-a8b3-4473-449e-08d6ef135a27 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Jun 2019 08:52:51.8202 (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: DB3PR0202MB3275 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Hi Greg, (For Greg, this is not a resend, since I apparently forgot to include him last time [1]. My mistake, sorry about that) A small addition to the mmio mux so that it can handle non-syscon regmaps. The bindings patch should probably have had Robs tag, but after a bit of back and forth I got the impression that it wasn't really needed, since it's basically just a file rename plus addition of a compatible [2]. The patches have been in -next for a week or so. But, if I misunderstood or if you have a tag to spare Rob, now is the time. :-) Cheers, Peter [1] https://lore.kernel.org/lkml/20190430195226.8965-1-peda@axentia.se/ [2] https://marc.info/?l=devicetree&m=155121843503590 "That would have saved me reviewing the whole thing again..." Pankaj Bansal (2): dt-bindings: add register based devices' mux controller DT bindings mux: mmio: add generic regmap bitfield-based multiplexer Documentation/devicetree/bindings/mux/mmio-mux.txt | 60 ---------- Documentation/devicetree/bindings/mux/reg-mux.txt | 129 +++++++++++++++++++++ drivers/mux/Kconfig | 12 +- drivers/mux/mmio.c | 6 +- 4 files changed, 140 insertions(+), 67 deletions(-) delete mode 100644 Documentation/devicetree/bindings/mux/mmio-mux.txt create mode 100644 Documentation/devicetree/bindings/mux/reg-mux.txt