From patchwork Tue Dec 5 09:22:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 173816 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp3307385vqy; Tue, 5 Dec 2023 01:23:28 -0800 (PST) X-Google-Smtp-Source: AGHT+IFkrkFPaS5zLMKY+3Q7SmI65r4v+PWagM/M/8BhagvYq04QNri0PsWKAVmi4OPYYnQt/S2J X-Received: by 2002:a17:90a:ff0d:b0:286:6cc1:2cd1 with SMTP id ce13-20020a17090aff0d00b002866cc12cd1mr697321pjb.91.1701768208528; Tue, 05 Dec 2023 01:23:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701768208; cv=none; d=google.com; s=arc-20160816; b=RmL/g9+gaDw4x3WteKT0bxOdTmT9XOJseEHX7bxn+xEV8AoanVCuc3ClZhoGmoohtt /1yTEUCnn6pE698Y3qMr3xx7wPbA5q8BKD28eazGhl0G3Eg4n4cMg6T2KO+CDJld52Xc 7dRzBVqKgnkFu+mbRTfJVB6c0gd/GbX9MK8dBXTsFDX/L/2D+A1TMA7S+8XTXJfW/RM8 ATVwu8rNvz9Ud6jYMwr8MRVApkgTA5Wi3gUQnzB5YPej+BcJ/MApcDp3kemJKVlNEjHD QJNvO2IQtL83bJWRQvo+nJV9ExBmVjz35EDgJ7OCr1oQ8YQSQ74lEkul0We7/ZE7MJa/ GyvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=KiwDzYyRIlGmD4rq+fT3CJuYXFmHWLQt6YDjPACpru8=; fh=AilG5DwEGuLqGl78/1nxyk0W4Li6L5QGIzTBumtkZas=; b=DWHgRq6PCl6Gr7awgx5WpVRcrK2hsWdtULtKZ+7Duw4YGL7huVmJVsbgG2jOw/wVVB SFN0q1X2PbQl2HLnWyrGZ1+strTmuM1EJ5LQy5P9XfJ7bNLCT+mhq+zqQBd6oh76V0Y8 /GnC1/YRv6+/QeXLhgdIlfgdnU2Rp6omjTlkZYb2lAo4yvGKVWDVgcpyeDJy65iVotlR G1Je9X1NlRfaBniyMuL1fv54HO6fjbUD7PFI5wbOJcC2Ym0TG8bpGYazEEk5ETs8+JlY 10jos7cs3/HbFWI1jwRK4jabo0Cto8vtxiePu54JGf2au/ISCNmJqOp4Sofdeo29lRO3 QSiQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=K6PXrMUJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 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 fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id fz5-20020a17090b024500b002868ad0a84bsi43616pjb.37.2023.12.05.01.23.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Dec 2023 01:23:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=K6PXrMUJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 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 17307806D472; Tue, 5 Dec 2023 01:23:26 -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 S234994AbjLEJWx (ORCPT + 99 others); Tue, 5 Dec 2023 04:22:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37654 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235024AbjLEJWk (ORCPT ); Tue, 5 Dec 2023 04:22:40 -0500 Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B7641189 for ; Tue, 5 Dec 2023 01:22:46 -0800 (PST) Received: by mail-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-40b595bf5d2so57723715e9.2 for ; Tue, 05 Dec 2023 01:22:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701768165; x=1702372965; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=KiwDzYyRIlGmD4rq+fT3CJuYXFmHWLQt6YDjPACpru8=; b=K6PXrMUJ3ZkAE7taR88Jz0kpQ1o2JPlgeeN+x42fvTmHyaJX/VvwiGoCZFX3jhPyU3 WeMZVGs4CS+qIRXIoFAX5Oxf7YbZq+0t7c52ckWMbHv2c7x/HaNnQ9K1O2cbyzTBVc5d EwhRuBhZKUoJEB4yppFNhfQWqdffZQNsi0rEV2jbTUTqzF3zOMKf0FtWEBlldj5ec+6p VOYa35a3flg8C611lOrtaQERRK0UWK2buJqOeHlx7Hsg/6S6NGx/IiPd4V5BWpE4mjRx P9g7gJMxAYMDjK61DkTUiDlZUKB9YHDT57jX0OP/krnd/sNCHO3njv2NP7upAgJzEW8P DzWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701768165; x=1702372965; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=KiwDzYyRIlGmD4rq+fT3CJuYXFmHWLQt6YDjPACpru8=; b=avhbgn6p7RkQ9ajTjVZCx5cILoAH6cvTF9q1j1fjY1XdNSD6Jbzgu/NiMiUkHMHhHV Cjz0Ocp+Gq3oqxaB/rqwHdGdyyo7kIsYerbqua10slk3pLp6Lplqmw52n00Ifb/fA2j4 CWVOi01jG8UI/jdFHgB3KReYMntrD1eXCX5GE92KWc63matmxW5ApEUUK9+fcj1/15nN JCPU1xfTtay+j6hQwsrEFFhmnCCZ72bq5LuNU83QJhJjlijFNifrNwjBxepBF6N+Dz+X 6OblYsZBQVron/dzdyepArVPvluNFXiqAKi+YduuoQ6UDDvD1n9a5gnhpVNz7VwIPnNJ VcjA== X-Gm-Message-State: AOJu0Yzmv6ob7rLlUXnKNNrULuHG76xgg00VVWA87byudxqGPfU2L61V X7D0XqdCsGdpn+qj3UNWs9Z6+g== X-Received: by 2002:a05:600c:524c:b0:40b:5e59:99e0 with SMTP id fc12-20020a05600c524c00b0040b5e5999e0mr182502wmb.256.1701768164973; Tue, 05 Dec 2023 01:22:44 -0800 (PST) Received: from krzk-bin.. ([178.197.218.27]) by smtp.gmail.com with ESMTPSA id g10-20020a05600c4eca00b0040596352951sm21692287wmq.5.2023.12.05.01.22.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Dec 2023 01:22:44 -0800 (PST) From: Krzysztof Kozlowski To: Andi Shyti , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alim Akhtar , Thierry Reding , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , Greg Kroah-Hartman , Jiri Slaby , Wim Van Sebroeck , Guenter Roeck , linux-fsd@tesla.com, linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pwm@vger.kernel.org, linux-serial@vger.kernel.org, linux-watchdog@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 4/6] dt-bindings: samsung: exynos-pmu: add specific compatible for Tesla FSD Date: Tue, 5 Dec 2023 10:22:27 +0100 Message-Id: <20231205092229.19135-5-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231205092229.19135-1-krzysztof.kozlowski@linaro.org> References: <20231205092229.19135-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 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]); Tue, 05 Dec 2023 01:23:26 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784433301003586035 X-GMAIL-MSGID: 1784433301003586035 Tesla FSD is a derivative of Samsung Exynos SoC, thus just like the others it reuses several devices from older designs. Historically we kept the old (block's) compatible only. This works fine and there is no bug here, however guidelines expressed in Documentation/devicetree/bindings/writing-bindings.rst state that: 1. Compatibles should be specific. 2. We should add new compatibles in case of bugs or features. Add Tesla FSD compatible specific to be used with an existing fallback. Signed-off-by: Krzysztof Kozlowski Acked-by: Rob Herring --- I propose to take the patch through Samsung SoC (me). See cover letter for explanation. --- Documentation/devicetree/bindings/soc/samsung/exynos-pmu.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/soc/samsung/exynos-pmu.yaml b/Documentation/devicetree/bindings/soc/samsung/exynos-pmu.yaml index 28e2cb50d85e..65f77442ff23 100644 --- a/Documentation/devicetree/bindings/soc/samsung/exynos-pmu.yaml +++ b/Documentation/devicetree/bindings/soc/samsung/exynos-pmu.yaml @@ -53,6 +53,7 @@ properties: - samsung,exynos7885-pmu - samsung,exynosautov9-pmu - samsung,exynosautov920-pmu + - tesla,fsd-pmu - const: samsung,exynos7-pmu - const: syscon - items: