From patchwork Thu Jul 16 08:22:49 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roger Quadros X-Patchwork-Id: 235629 Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp584344ilg; Thu, 16 Jul 2020 01:22:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxc9OR1wlozHeV6ZAwGKnSmINiMUWyXWfDI2v0gxGIuuH7Dlhqhc+cprLZB5ubLVTOyruzM X-Received: by 2002:a17:906:7e04:: with SMTP id e4mr2811355ejr.83.1594887779691; Thu, 16 Jul 2020 01:22:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594887779; cv=none; d=google.com; s=arc-20160816; b=Vpwf4QyXPvQEwWGVE/i/rtfdR4/LBRMHlN/6KZrJ2kAm8969/YB4tXsQesIo+JPQ5R 7xrqK80AqHH/Gd0bskmrimLPQ5lKvIQyRHyC3Isa6T2Vf9BguEMS6blHHBkLpo3QEGCp bGARdn2HLCzdgWFMXGchQW9XO2d0SF1Fzeq4UIB3E16q02B6+2OaLS7e64+QK/ib07+c +sCJC5OU861ajj8zpzJwVysGb3Kr+tQ2Ynh/tJukm1s9msZoJGT4tb1FH6k10igo4j+a hQByLuz5ouqwytVdVShPSxM7Xtwg1CjL2lx15By8G4wDDFk/AWyyj66Wknmnp+JCdwMT 6tsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=unHdhvVc3KqUmoNw9TPayL1iGlRp9XkaaB6wq8CJEOk=; b=TrZ5XYDeC4FKfe5iM3liacaDnlkR8S8ecoi/7Oy70+5Knx0w9f+0fsJczSgeHwLqTR BYI1PFStXK42o3PQpY9XsC0eSw4YjcBAbQLzwyK8r0AUKVeSCfZXuDaKpEq9rcQ/cGXS dHEDRwofKZgO1KBrWf2l8CHxE3OzR3faLP8TZ4ICfbbSiCWNIKrxNmBrQb8lHj6GVb+O J6lP3/d9Lz1fEiEJis0g0o4aTfi9Dj/1IhAi0CD+IrK/ybGdBiQnZwlMCSPkmYDu9UFO 6BOPOfDVPkpvti0DUdT9KiFL8T4jhBkRKDIlaQthP0XBUxREqu/iG4ohxEBIe7kEXOYS mC+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="MUdAmi3/"; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g26si2930614edv.376.2020.07.16.01.22.59; Thu, 16 Jul 2020 01:22:59 -0700 (PDT) Received-SPF: pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="MUdAmi3/"; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725921AbgGPIW7 (ORCPT + 6 others); Thu, 16 Jul 2020 04:22:59 -0400 Received: from lelv0142.ext.ti.com ([198.47.23.249]:47874 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725867AbgGPIW6 (ORCPT ); Thu, 16 Jul 2020 04:22:58 -0400 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 06G8Mu71029471; Thu, 16 Jul 2020 03:22:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1594887776; bh=unHdhvVc3KqUmoNw9TPayL1iGlRp9XkaaB6wq8CJEOk=; h=From:To:CC:Subject:Date; b=MUdAmi3/jNpwkbCsXx1R0uOBLxGV+1eCFga/74l/YfM5W7aaFI5ckaarA4ucRhE+M NGCfuFpVx3UE8B/yR65uljQ+VWJEAdKi+MZ04nSIK1I9juDXtplZFBwFb+TI3+q2pz ZGYKyOte+VrCeW5WMFXbCcaLW0tlqgR0YPDQvXgs= Received: from DLEE108.ent.ti.com (dlee108.ent.ti.com [157.170.170.38]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 06G8MuGY116244 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 16 Jul 2020 03:22:56 -0500 Received: from DLEE102.ent.ti.com (157.170.170.32) by DLEE108.ent.ti.com (157.170.170.38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Thu, 16 Jul 2020 03:22:56 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE102.ent.ti.com (157.170.170.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3 via Frontend Transport; Thu, 16 Jul 2020 03:22:55 -0500 Received: from lta0400828a.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 06G8MrSF049495; Thu, 16 Jul 2020 03:22:54 -0500 From: Roger Quadros To: CC: , , , , , Roger Quadros Subject: [PATCH v4 0/3] phy: omap-usb2: add quirk to disable charger detection Date: Thu, 16 Jul 2020 11:22:49 +0300 Message-ID: <20200716082252.21266-1-rogerq@ti.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Hi, - convert DT binding to YAML - add DT property to disable charger detection (Errata i2075 for AM65 SR1.0) Changelog: v4 - fix example to fix dt_binding_check warnings - '#phy-cells' -> "#phy-cells" - Add 'oneOf' to compatible logic to allow just "ti,omap-usb2" as valid v3 - Removed quotes from compatibles - changed property to "ti,disable-charger-det" v2 - Address Rob's comments on YAML schema. cheers, -roger Roger Quadros (3): dt-binding: phy: convert ti,omap-usb2 to YAML dt-binding: phy: ti,omap-usb2: Add quirk to disable charger detection phy: omap-usb2-phy: disable PHY charger detect .../devicetree/bindings/phy/ti,omap-usb2.yaml | 77 +++++++++++++++++++ .../devicetree/bindings/phy/ti-phy.txt | 37 --------- drivers/phy/ti/phy-omap-usb2.c | 35 +++++++-- 3 files changed, 105 insertions(+), 44 deletions(-) create mode 100644 Documentation/devicetree/bindings/phy/ti,omap-usb2.yaml -- Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki