Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp2716833rdb; Mon, 4 Dec 2023 05:51:12 -0800 (PST) X-Google-Smtp-Source: AGHT+IG4oN1Bc3NPuCBur5ZDWmOn6YUFfUXVZZbZsU1kp1ETsDuWYtTYunlqABlIm1ux3h98yy1P X-Received: by 2002:a05:6870:c995:b0:1fb:264d:c2fa with SMTP id hi21-20020a056870c99500b001fb264dc2famr3466828oab.46.1701697872399; Mon, 04 Dec 2023 05:51:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701697872; cv=none; d=google.com; s=arc-20160816; b=cPMOIfSJ3xRTp0N680VYM1lg7EUTPU1WJikZMaDEhQd5W1ozFDfqO6fU30y+EDDzP5 OyC//3BI/AZsQsp9PeYsZ1IqejKua1xvX2CYwuCOboc4VYl4OAvI1kwuyfHR+yvmv3Fz UyJYv73vjHnOYCpR4MteljYGYW4Z6X+ASfEY4O4EOEGTnTwyG7VdE2mqEw8CERa5Ssyq 4+WvzeDN5V2ldQ17JfgwhImGjOCnDEVlWEkypnur3I/Gcu1z4YvU53rY0p5JR2miE3/a lJvBDGuBRrekTu9gjSngHAKWrYIhdE/cVZfxIu+Y2I+Ss8Ymvc2wJXlsE3hwuqQLk+Zg L0AA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:content-transfer-encoding:mime-version :message-id:date:subject:from:dkim-signature; bh=eAuYi+CP8FnDvl1/9mJlyIJtR24fsmGGBMNOB1G00HM=; fh=R0JUMDxD3nipINrBiVbPijOi8SEzK5akE6mz92rD0B0=; b=NKD+elpev2+XZuD0zIuA98W0XEATx+kdxYjpoc4m9PSxCHzxhA5D2NH5mnVZAOE5Bf LUwSpGxVnsqMHgBsjZW8Fov/9sAslZtO9BdHSWtlXBHBScG1BZzL7b0lSLKChDPvgcKU +BP2/qc1Ije7S2aTGcOJZzwGCB0V7QF3aeFcfQ2XAeiNv0GEEOKYmbqH/iNKGwlyrS9F 7uBVFnUcf1mNlrW7D9OYmfm+IGxXxBIVXYgwMMkIDG4HU2BBpdJKkoqZi7xYLyE4WAvl 5B+f5DAaGbVYmPIiwEIDTdffcKQSWR9NaIsSBAp+lIlyabRqddXtKwC3bJ0KGvjZw+3u gPcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QO+9BzVp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id e69-20020a636948000000b005641315d956si7924419pgc.147.2023.12.04.05.51.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 05:51:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QO+9BzVp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 9074D80967A1; Mon, 4 Dec 2023 05:51:09 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344361AbjLDNuf (ORCPT + 99 others); Mon, 4 Dec 2023 08:50:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55054 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234041AbjLDNud (ORCPT ); Mon, 4 Dec 2023 08:50:33 -0500 Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D3D0DFF for ; Mon, 4 Dec 2023 05:50:39 -0800 (PST) Received: by mail-wr1-x429.google.com with SMTP id ffacd0b85a97d-3333131e08dso2979771f8f.2 for ; Mon, 04 Dec 2023 05:50:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701697838; x=1702302638; darn=vger.kernel.org; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=eAuYi+CP8FnDvl1/9mJlyIJtR24fsmGGBMNOB1G00HM=; b=QO+9BzVpqrgcAjVH4KIBQzTyMMLF05hN0BF5rJdBHwKyGOL/OduoeIkO+yEwBQya/v W3oUSG6IElhRfBABlyn1gpL5GP8IvC+DI/b94pK3lJqAo+Vwfl/0iknXVbxpOr99PYRv qiQfLwdSUQ+iPq55YyeGABMd3HxfyU765rfT8DrzDe9OYBXcJbhna9IYBPUrmQ4jo8CM i8+Rd84tRK19j4uULeuMrcoISxM3G8AwTbJFTWY6r8e2a7fAKNdp6Pa5w/n4KVDNb1Vy tAW4OnyeYDoob15RFsCA+adxNUGMtcca/3tqdXdQpGL2ezFI9TrcTZf1ir3t4VFl1Z8q 1MxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701697838; x=1702302638; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=eAuYi+CP8FnDvl1/9mJlyIJtR24fsmGGBMNOB1G00HM=; b=GTpZMJrPx9HjB5Lai0EQ+DrCopQmZmtfsYeBvmYdpqliofUb9NWYp2XmRy2ZGNMCnD kVfhW51KYRXCgDhddByoBAFU6NYirgSKkbEOb/zVvbgMh6hxB7/Bg8T5trBj20vBWfPu pcyFw1rb7pdn7UTpnoutd+QykqSEO+dqTfPLUKxIlUO83IbktzIFRZj9MYZJ+5ujYMGQ rwswdEyfphL6+AwBLifoRgsmoBt5lS/Gv+2buDpnoxa2Gva61Qxf1y18EkMLXj720yCb 4vxw00vd3DT3446EakMZ8HqyaeBEUHveEPBswxR2Hw0lcVyY0tByYd9H7Hz6LFbtpZpY Sj1g== X-Gm-Message-State: AOJu0Yz6tiP+/jYRY10ge+uHtuoxtnd2R0cnSO/Z+kjFElIvPrMq2fbh c4/IAuABWHOTGyo1FnDSgufzHQ== X-Received: by 2002:a05:6000:110f:b0:333:39c1:b7b8 with SMTP id z15-20020a056000110f00b0033339c1b7b8mr1872523wrw.119.1701697838164; Mon, 04 Dec 2023 05:50:38 -0800 (PST) Received: from [127.0.1.1] ([82.77.85.67]) by smtp.gmail.com with ESMTPSA id w12-20020a5d680c000000b003333e09990dsm5908553wru.8.2023.12.04.05.50.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 05:50:37 -0800 (PST) From: Abel Vesa Subject: [PATCH v2 0/2] phy: qcom: qmp-usb: Add support for X1E80100 USB3 PHY Date: Mon, 04 Dec 2023 15:50:26 +0200 Message-Id: <20231122-phy-qualcomm-usb3-uniphy-x1e80100-v2-0-1a3e1d98564e@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIACLZbWUC/5WOSw6DIBRFt9Iw7mv41FQ76j4aB4AoL0GwUIzGu PeiO+jwnME9dyPJRDSJPC8biWbGhMEX4NcL0Vb6wQB2hQmnXDDGOUx2hU+WTodxhJyUgOzxkAs zNWWUQvMQuq551TDTk7KjZDKgovTaliWfnStyiqbH5Qy/28IW0zfE9fwxs8P+k5wZUBB9pTrOR Vep+8uhlzHcQhxIu+/7DzIw7tzoAAAA To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Johan Hovold , Dmitry Baryshkov Cc: linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Abel Vesa X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1186; i=abel.vesa@linaro.org; h=from:subject:message-id; bh=bq12H4LhIOP0hqLRSHiVZk4lQQxtWa9RmciRWDla0xI=; b=owEBbQKS/ZANAwAKARtfRMkAlRVWAcsmYgBlbdkkc7kZeVKqZ0M198ktPur8uAhz993joSY47 DXYu62EB0KJAjMEAAEKAB0WIQRO8+4RTnqPKsqn0bgbX0TJAJUVVgUCZW3ZJAAKCRAbX0TJAJUV VhBfEADEHcWM3kW6D8c+Ye+Sr62piQRou48rb7TvAxtP/L9wDjU6rfaiVE9LwMdbIjNnhQl4r5x Ff3W/FlqdXLJWIbdhQZRpllk/9eF4i/pZvlnMEjDS8/3OwZAu5D7ehkkpfGifQk+Gu+O2IbxLQU ++NK/ailb4Q7f8o2asuHlXxz52W4u25LaikRAF+X6qivYSeST45h39h9HS1opv4jag4wWwX3vUT mJv5DpERnIAD0T62EoJauFqnQj9NnmeaNuZOtSrzELJbfUsYlV5JEmOrkN5eS/H/1GsYRJXfGXa oa9wNVRJ0n5MzniPh5Gv4hZZQOQmJLTKXHgBIVYiuTt0aW7wnflbWRJJ6HOLNeYxWI8naz6U/PS i7pzBfiSdgDhmTurwES5ZREOtzAGiD60z0qMMSnP24I7KDJhiN7xAGuH+fEqrnCH9D4IW5D6Qwp nEZ/7zdsqo6QCKE1HsRjL8IBzkI4c5DcMulonTj9AEy5RLKoUSU98QII/Z/0fj5KweISJ2O6/xK wqy/DiCdJPdLLMDvh7GIltFEph+iXcqFLE7K8BaY3YMILlWpPW6Tljp4NoiLrAyRM11FtYqp9wM YRdtF/cUb9HFiG2o7eTJ6/Ddk65qGYK/MmX5VhZ5FwgHFc1iG6jNTlwwImL16x89qoTrQFBLd14 3UIbFGLJtAFUaiQ== X-Developer-Key: i=abel.vesa@linaro.org; a=openpgp; fpr=6AFF162D57F4223A8770EF5AF7BF214136F41FAE X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Mon, 04 Dec 2023 05:51:09 -0800 (PST) This patchset adds support for USB3 PHYs instances found on X1E80100. It depends on the v7 register offsets added by the following patchset: https://lore.kernel.org/all/20231122-phy-qualcomm-v6-v6-20-v7-new-offsets-v1-0-d9340d362664@linaro.org/ Signed-off-by: Abel Vesa --- Changes in v2: - Added qmp_usb_offsets_v7, as Dmitry suggested - Properly sorted the init tables, cfg struct and compatible entry, as suggested by Johan - Add entries to allOf section in the schema, as suggested by Krzysztof - Link to v1: https://lore.kernel.org/r/20231122-phy-qualcomm-usb3-uniphy-x1e80100-v1-0-3f5bd223d5b4@linaro.org --- Abel Vesa (2): dt-bindings: phy: qcom,sc8280xp-qmp-usb3-uni: Add X1E80100 USB PHY binding phy: qcom-qmp-usb: Add Qualcomm X1E80100 USB3 PHY support .../phy/qcom,sc8280xp-qmp-usb3-uni-phy.yaml | 3 + drivers/phy/qualcomm/phy-qcom-qmp-usb.c | 160 +++++++++++++++++++++ 2 files changed, 163 insertions(+) --- base-commit: cf0b28e02cfac455b54f1a29fe907931d2b0bb9d change-id: 20231122-phy-qualcomm-usb3-uniphy-x1e80100-973c882591ef Best regards, -- Abel Vesa