From patchwork Wed Jul 31 05:44:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13748076 Received: from mail-wm1-f47.google.com (mail-wm1-f47.google.com [209.85.128.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B2BB449643 for ; Wed, 31 Jul 2024 05:44:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.47 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722404685; cv=none; b=Lycjb+6jUmqZtGXzlm+oxa28EUWYjPiBOxZ1S8zEVTIFjYnN7OUAz07Ou6O8YITtx8nXk/Q0TMM3BkmKTjZONZPy9TaViuziEZ5+MB34u8DdieCQv14mqoQTD2eZX7od50lSukNxDGbYb5z/uw87HHEeWDS++1kt0izYDXGLSnY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722404685; c=relaxed/simple; bh=qmEk+HRbgjzJ4b6wsqa+XId/OohdPcTkLCsEGD8Cqgs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=tSFCM+2cV8CC32uesCDrmXynLh931/nnR2iuJVV1Oh6hQNoN6V/8GYfwm5Nra4smYKW2p3aYL7eD49ya8MZki20QCJiPsvK3C2ifb0aH34Xrp3BHDPO2R7kc5jctx2nynKymroR6N6w5Kl5rbopmoxNYBYt8MZ82GrCIvEql1hI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=ajXx2497; arc=none smtp.client-ip=209.85.128.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="ajXx2497" Received: by mail-wm1-f47.google.com with SMTP id 5b1f17b1804b1-4280bca3960so34315245e9.3 for ; Tue, 30 Jul 2024 22:44:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1722404681; x=1723009481; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=3aH3De4WIZtFbyS12dyd1qXZqBk4SKLj9OlpT9UkbuQ=; b=ajXx2497yx2stXCYakkQlKU9PoLGFA5+k24LZaVdOWtRaXNS00z62GlxEB4uK/jVST I6SRHfi9sXFzExVEb1lkByjdJBn1d7FAF4vefZnPNl7a69ZvP6QCQXWhlhuzMZ7+hwgm fFlPNxIifpyTDNgrHOUJpoXUMQesWwl+Hgfvp9WteVZchUas8PC3W8xtnGgWRF0CiX/8 pQWoJJOBRmt4m6ZivDa/taxgZ5/1+PTSq0GWwz/aafHk1YdJAPMfdqdYw+UDoNmhzAPZ gAzM1AuKvhpE2gc2xplYyc3MnE3bJx5vbdAd+zZ/Kde6BHAK9GutElHqW2ZHYpB040bu hrIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722404681; x=1723009481; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=3aH3De4WIZtFbyS12dyd1qXZqBk4SKLj9OlpT9UkbuQ=; b=d9DaOktMIe8vrvFbPiVJFmfps5VnGd0fSEq946Ad8HtdcJ9vdTsRQLNHO+eneE2JiZ IR24r0SFAEHTOyyk3f9ob1fyE5eZLsZF+kBbF2xEq0umJJ9OzfRs/urmHgQ92A8i6z0W 3TVptx4XX7vv2SmP+9Mx5An1wsVGsKl+jKbVkMKh9wEGzrCoA+ID0+SX8OBFkTUt59hA 7srx85enn1miSSbyllwqxHL2jI5651dCWccV1kznZW7uH03IJKBi6d1gLjUOoDlZGvEo 2ANGXMn+7dL9PkHr6rVDr1FgS6k5Ueh3yG0laKQcMzxq8GiqMRLhuDVGr0hKVCbQCN/7 xzAA== X-Forwarded-Encrypted: i=1; AJvYcCXet0+Ma0kqYvtV2HfManoPSqHMyMLpT0/m5n5UZ97Cj+edZwQzfborbIEm65VhCrsbSqqntB0JwaCgRH+mkT/rLp380egPCdhj X-Gm-Message-State: AOJu0YyxyxSUSeVjQyKxTQGjMOH9rVvycCdJd7ji7+wiVLG3s+dW8MLB 1yB+DlhPx8+8vXjik/aZnHYGY5yknyvHdlQbImzPjkKdfLeA0cv8ZrXu6e3/ztM= X-Google-Smtp-Source: AGHT+IHx4zf9FG/L6T+0AuVPC0EZ26TemOB8izSYWzYFEl61KTs2n+sG4y/8QWnmw2anvLsYD9uQnw== X-Received: by 2002:a05:600c:1386:b0:426:5416:67e0 with SMTP id 5b1f17b1804b1-42811df0e55mr88395835e9.31.1722404680896; Tue, 30 Jul 2024 22:44:40 -0700 (PDT) Received: from krzk-bin.. ([178.197.219.137]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4282baa9071sm7070605e9.13.2024.07.30.22.44.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jul 2024 22:44:40 -0700 (PDT) From: Krzysztof Kozlowski To: Souradeep Chowdhury , Greg Kroah-Hartman , linux-arm-msm@vger.kernel.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH] usb: misc: eud: switch to fallback compatible for device matching Date: Wed, 31 Jul 2024 07:44:38 +0200 Message-ID: <20240731054438.9073-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 The bindings require two compatibles to be used: qcom,sc7280-eud followed by fallback qcom,eud. The convention is to use fallback compatible in OF device ID tables, unless some device-specific quirks are needed. This will also simplify matching any new devices - they will use existing OF device ID entry, instead of adding a new one. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Dmitry Baryshkov --- drivers/usb/misc/qcom_eud.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/misc/qcom_eud.c b/drivers/usb/misc/qcom_eud.c index 26e9b8749d8a..19906301a4eb 100644 --- a/drivers/usb/misc/qcom_eud.c +++ b/drivers/usb/misc/qcom_eud.c @@ -232,7 +232,7 @@ static void eud_remove(struct platform_device *pdev) } static const struct of_device_id eud_dt_match[] = { - { .compatible = "qcom,sc7280-eud" }, + { .compatible = "qcom,eud" }, { } }; MODULE_DEVICE_TABLE(of, eud_dt_match);