From patchwork Fri Jan 11 15:18:50 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Rosin X-Patchwork-Id: 10761355 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B3C706C5 for ; Sun, 13 Jan 2019 16:53:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A12672889E for ; Sun, 13 Jan 2019 16:53:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 95AFE28995; Sun, 13 Jan 2019 16:53:12 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 4A3002889E for ; Sun, 13 Jan 2019 16:53:12 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id AEC4F6E515; Sun, 13 Jan 2019 16:52:58 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60124.outbound.protection.outlook.com [40.107.6.124]) by gabe.freedesktop.org (Postfix) with ESMTPS id EBBD06F764 for ; Fri, 11 Jan 2019 15:18:53 +0000 (UTC) Received: from AM6PR02MB4470.eurprd02.prod.outlook.com (20.177.191.218) by AM6PR02MB4658.eurprd02.prod.outlook.com (20.177.117.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1516.13; Fri, 11 Jan 2019 15:18:50 +0000 Received: from AM6PR02MB4470.eurprd02.prod.outlook.com ([fe80::e5f3:a239:2ec4:4453]) by AM6PR02MB4470.eurprd02.prod.outlook.com ([fe80::e5f3:a239:2ec4:4453%6]) with mapi id 15.20.1516.016; Fri, 11 Jan 2019 15:18:50 +0000 From: Peter Rosin To: "linux-kernel@vger.kernel.org" Subject: [PATCH v4 0/5] drm/bridge: various small lvds-encoder things Thread-Topic: [PATCH v4 0/5] drm/bridge: various small lvds-encoder things Thread-Index: AQHUqcD0CoXRdWU6p0KJ3CgM18hMaw== Date: Fri, 11 Jan 2019 15:18:50 +0000 Message-ID: <20190111151843.11114-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: [85.226.244.23] x-clientproxiedby: HE1PR07CA0035.eurprd07.prod.outlook.com (2603:10a6:7:66::21) To AM6PR02MB4470.eurprd02.prod.outlook.com (2603:10a6:20b:60::26) x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; AM6PR02MB4658; 6:PrRA6uQBG8uuvbQvtJm7PHTbpczyFxgwwGoD0NkYKDw5JlwFf5OwsxcIg0J/7/TNInNqdNMx9MZzGdhP5grgvqLYlJm3Kq0P0mnNwxxJqO+OTVNkMUi1uwROWecK8WtbxUy34kFZOS+6BBBTVorXBwtEO2EOBxXBwforOQ7QPlhRib/UTcHOYRczYErK5Q8CZ41b9llrjkX2jt3qzLZc/VdZ4sQWqRQoq/uaVzT+Cl389y9vo+T58RHGBFsImQadtmEnTL1gyXkvlSG5XLZrc2Cy+aWcLc0dalvl3jCBIdU7KPHXq7AXXdP+qgA88CKjQJMTQct6E2M7jztt+4U0x1JqZdbMygta3U8CdZh7nXh71Fvgu4dQ8/JT4Rxyu5YzYbAp07W/bG+sbLMcJg3y1NYNJa2V/Hntas1z9p0ZYm9tdyiNIFdzqeKc4sbK7l1TMxk6f28UhTXb7Aucn2phwQ==; 5:imaqYutrztAiCEMB4MCpuifBtenHD0KFllBPPEvikb4xYOL2NH6mZ2ljx02RqxSTDDweWXGa40cvn0IMISEwSqSs+wycyKLhKEIJ1lCAmOoo+9WjuW2wJZdq9nnNLXIXeZ7NG7kfIczig0gvcPCu2pngCDaQE1iyHDtfGHYrvOuSHgolJhu9LdIz+pnbuAWhAh9EQfEiRx0vX830OVOEzg==; 7:CqgBklV1HTUIyLiyKGV2op3Yrl7aUVWgDX1EUV/hmIgi9DpoUNtrkJ08omMgQOfhu4UC1blN8trhB/P3HM4cWq46OF38k6NGoqZkzxiXlEasdcLtMn6S7ZXiW4No4wDzUhUcdAZM1/0QdUKlTiCtdg== x-ms-office365-filtering-correlation-id: 9c7a704d-36bc-4cc8-92fd-08d677d816de x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(7021145)(8989299)(4534185)(7022145)(4603075)(4627221)(201702281549075)(8990200)(7048125)(7024125)(7027125)(7023125)(5600109)(711020)(2017052603328)(7153060)(7193020); SRVR:AM6PR02MB4658; x-ms-traffictypediagnostic: AM6PR02MB4658: x-microsoft-antispam-prvs: x-forefront-prvs: 09144DB0F7 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(396003)(366004)(39830400003)(136003)(346002)(376002)(189003)(199004)(6116002)(3846002)(5660300001)(6486002)(86362001)(54906003)(74482002)(71200400001)(71190400001)(25786009)(305945005)(6512007)(7736002)(99286004)(52116002)(6506007)(102836004)(386003)(2501003)(2906002)(316002)(66066001)(186003)(26005)(14454004)(476003)(50226002)(36756003)(5640700003)(14444005)(486006)(6916009)(256004)(2616005)(97736004)(1076003)(2351001)(53936002)(68736007)(8676002)(81166006)(508600001)(81156014)(105586002)(6436002)(4326008)(8936002)(106356001); DIR:OUT; SFP:1102; SCL:1; SRVR:AM6PR02MB4658; H:AM6PR02MB4470.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: XxNSpX4qiYG0r2nlN2RN7Pdz2xKBjvCM0cWhLNlW4Z99ysZPdOtcnOKW/hTNXVSh2bA1HT2f0EnOs5GFlReG7XWUT/xpYIQR9jhz148hSU2/uN1u5mVuiF/Z4+lMCMMXcv39p2rP/mvriGGWUqvFpVggdqLDl7082bAUOvovbFWCAsYOs0quccP48vveC5tsoVJ+My0m00UQFhL1HA1Nj4s5csY+LhcsN4V883Oubxm2MLiGbBUUfv7ZYBSSPW5aM6R+16jJUGlrkYcvMJ7pNbBq6nORytbufGTLdIV5n03/Hh63QflBVzEALWemS5RAfRmoT6mhBBvJB3GFbY1yhgTHBgcGnj0YByp6h90wUzW7wkOOVIvHFjwWPmRLbSr0wD82VcMpcl9XuRGXVf5eZZ5rZGyChGASk9vn2ag6C5k= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: axentia.se X-MS-Exchange-CrossTenant-Network-Message-Id: 9c7a704d-36bc-4cc8-92fd-08d677d816de X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Jan 2019 15:18:49.3465 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 4ee68585-03e1-4785-942a-df9c1871a234 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR02MB4658 X-Mailman-Approved-At: Sun, 13 Jan 2019 16:52:57 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , "devicetree@vger.kernel.org" , David Airlie , "dri-devel@lists.freedesktop.org" , Rob Herring , Laurent Pinchart , Peter Rosin Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Hi! I'm not sure if I should have added the texas chips to the lvds_encoder_match list in the driver, right next to the thine,thc63lvdm83d entry, but ended up not doing that. That can always be added later, if needed... Changes since v3: - retained a (modified) note in lvds-transmitter.txt about encoders with additional device-specific properties - added tag from Rob on patch 3/5 Changes since v2: - changed from pwdn-gpios to powerdown-gpios after discussion with Rob with new patch 3/5 updating the thine,thc63lvdm83d binding as well as a consequence - added patch 4/5 which helps keep lines shorter in the lvds-encoder driver - added tag from Rob on patch 2/5 Changes since v1: - fork out the bindings for the texas chips into their own file in order to avoid clutter in the generic lvds-transmitter binding. - added a patch to remove some surplus stuff in the generic lvds-transmitter binding. Cheers, Peter Peter Rosin (5): dt-bindings: display: bridge: fork out ti,ds90c185 from lvds-transmitter dt-bindings: display: bridge: lvds-transmitter: cleanup example dt-bindings: display: bridge: thc63lvdm83d: use standard powerdown-gpios drm/bridge: lvds-encoder: add dev helper variable in .probe() drm/bridge: lvds-encoder: add powerdown-gpios support .../bindings/display/bridge/lvds-transmitter.txt | 12 ++--- .../bindings/display/bridge/thine,thc63lvdm83d.txt | 2 +- .../bindings/display/bridge/ti,ds90c185.txt | 55 ++++++++++++++++++++++ drivers/gpu/drm/bridge/lvds-encoder.c | 53 +++++++++++++++++---- 4 files changed, 103 insertions(+), 19 deletions(-) create mode 100644 Documentation/devicetree/bindings/display/bridge/ti,ds90c185.txt