From patchwork Tue Apr 30 19:52:33 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Rosin X-Patchwork-Id: 1093467 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="LKolj9bi"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 44tsd66W4gz9sB3 for ; Wed, 1 May 2019 05:52:42 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726222AbfD3Twl (ORCPT ); Tue, 30 Apr 2019 15:52:41 -0400 Received: from mail-eopbgr60118.outbound.protection.outlook.com ([40.107.6.118]:47920 "EHLO EUR04-DB3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726024AbfD3Twl (ORCPT ); Tue, 30 Apr 2019 15:52:41 -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=+CltSQ+tEu+0tEJ3lFDpmWFfzw47uHifqGmiTuIsdZQ=; b=LKolj9bi9lmvU4rBfJo18EL0HTj4coL6+M/05OOTSI8o24YQiwY6ozQQtO5QDB6QjRzULEB666M9bYOP3BbQDb1PQV0tQR4dAy50gJqbhRZL4yIf5Q+FziZCuvk7LWRByfCG0DjDEXbvELu7z0fj6+evULvPWEElVQT0bk8oVqY= Received: from AM0PR02MB4563.eurprd02.prod.outlook.com (20.178.17.97) by AM0PR02MB4609.eurprd02.prod.outlook.com (20.178.17.214) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1835.13; Tue, 30 Apr 2019 19:52:33 +0000 Received: from AM0PR02MB4563.eurprd02.prod.outlook.com ([fe80::e80e:1cbb:5e37:b8c7]) by AM0PR02MB4563.eurprd02.prod.outlook.com ([fe80::e80e:1cbb:5e37:b8c7%2]) with mapi id 15.20.1835.018; Tue, 30 Apr 2019 19:52:33 +0000 From: Peter Rosin To: "linux-kernel@vger.kernel.org" CC: Peter Rosin , Rob Herring , Mark Rutland , "devicetree@vger.kernel.org" , Pankaj Bansal Subject: [PATCH 0/2] mux: a couple of patches for 5.2-rc1 Thread-Topic: [PATCH 0/2] mux: a couple of patches for 5.2-rc1 Thread-Index: AQHU/45Aj/Xkr8CzKUmxYl1+igFYNQ== Date: Tue, 30 Apr 2019 19:52:33 +0000 Message-ID: <20190430195226.8965-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: HE1P189CA0028.EURP189.PROD.OUTLOOK.COM (2603:10a6:7:53::41) To AM0PR02MB4563.eurprd02.prod.outlook.com (2603:10a6:208:ec::33) 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: 33626432-a5e5-449b-5373-08d6cda562e8 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(7021145)(8989299)(4534185)(7022145)(4603075)(4627221)(201702281549075)(8990200)(7048125)(7024125)(7027125)(7023125)(5600141)(711020)(4605104)(2017052603328)(7193020); SRVR:AM0PR02MB4609; x-ms-traffictypediagnostic: AM0PR02MB4609: x-ms-exchange-purlcount: 1 x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-forefront-prvs: 00235A1EEF x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(39830400003)(346002)(376002)(366004)(396003)(136003)(189003)(199004)(25786009)(66946007)(73956011)(81166006)(81156014)(66446008)(64756008)(66556008)(66476007)(8676002)(4326008)(97736004)(2906002)(68736007)(53936002)(74482002)(6116002)(6306002)(8936002)(6512007)(3846002)(36756003)(50226002)(6486002)(2501003)(6436002)(2351001)(5640700003)(26005)(316002)(186003)(7736002)(305945005)(52116002)(99286004)(102836004)(5660300002)(386003)(6506007)(54906003)(508600001)(486006)(86362001)(1076003)(966005)(14444005)(256004)(6916009)(2616005)(476003)(66066001)(14454004)(71200400001)(71190400001)(6606295002); DIR:OUT; SFP:1102; SCL:1; SRVR:AM0PR02MB4609; H:AM0PR02MB4563.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: Xoqwi+ZhHWm/pFwmR+0PaPgsbggmYjXaoACpZSTnnapQmDj4X2JsvrMojZsice1Gx5grte0AMaAbuf9btMBiks+NnxIZpD/mkGNeBawVx5f5ywzYYvUzNqWw6nq1LLVsmKRCRhPgS2QRR+AH51L+MX7MLCtRvQmi5a2kpnZfJzAMzZQxqAbvh+fQ6qk6bPXbIgNYJt0tKI+lgDjiEsa7UWHMQIilCyclFcBqzmiiTkCNA23q0vLjFHWSaOAepxc8KwpByAiSiztr/jq3xjhhEWSBQUggy0HCYHxZllCSJ9T/XE+1UQVSo7ZmWN2pmqLuRdzjLjfY+co3SA2AbC/QiMwBflI7erOrJYhWxKnnevqm5cpssftWvzq6DGJ/2LIIIX1rf8+Sj1eOwrXgQS+TnmJ6Xre0QBJpWRR7vUfP5iI= MIME-Version: 1.0 X-OriginatorOrg: axentia.se X-MS-Exchange-CrossTenant-Network-Message-Id: 33626432-a5e5-449b-5373-08d6cda562e8 X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Apr 2019 19:52:33.6207 (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-Transport-CrossTenantHeadersStamped: AM0PR02MB4609 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Hi Greg, 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 [1]. 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://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