Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp10870778rwp; Fri, 21 Jul 2023 06:16:52 -0700 (PDT) X-Google-Smtp-Source: APBJJlFvEbClZf+g2tGYV6wmnwDoDMJPfgGdp7vsG/OWFmxX2lH+NijtMCRBsEVjVaOYdu8B0S8W X-Received: by 2002:a2e:6e07:0:b0:2b6:eefc:3e4f with SMTP id j7-20020a2e6e07000000b002b6eefc3e4fmr1549576ljc.21.1689945411724; Fri, 21 Jul 2023 06:16:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689945411; cv=none; d=google.com; s=arc-20160816; b=JdOTddWQHaymfaJ4HkeOkpwaYXJzNGT3b93O0+i3ryp084Y3BR85p3qK9kz8rKAgKP GM3Mv6Aw7RdnDSsPcqtFQkLi0VrxS//FsZ10ZZL2CybEmvQhgToAipIVh/rQCE/dXK+n fHtkccFqJqVNgVNHtp633R5yFRfgXSybZDPKfPzMJY6Q+UtrO0z3lzs7Qmc6N8guLtlj KuTifOkC0C5yRguL4IhPTkKptJEL6nIBg0cespjV6zWQ4+db5SM10TH+OSeYL0CEN9GK WnW5PHe6tLVi2JKo92JreUfABR3LEnLf9HbhbdWLFbPYM7eVyZb8GWDBrErTsaqC1jo4 zHnw== 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=rnorjwn43wORV+uRkEwgozu1v6r3MwEdYJRYgPBSdIg=; fh=Xa0gFcZSQLjGSEAoczg25TQZrwZwOkgqcWcJspcjCfs=; b=TKiGLvZ11TGEh2bQxgNX66fdjqizCHlOIBqCq5fJ9vDNlQFtU30Dsmk9ChrYe08MOF FlgqY9Y0LnVW1QYnW3AIW4Q2QbGglr9ecIXnkV84CYoFEwKJZXxKQ09srPKHFAhqm5Su YTqw0zgrM6ddWG/13q2oBh7wR1y0ot9GTGCSRSXixG9cYZh/uIggR4ekC7igJahpp+9O AY+2zlKfr3pmnnZPfQP5T8tuBZ+sPBSfhv9eLRDzYW2KphhiH79E848Ofk/+/1AbdeRi PDfb100GLpRsBTF4tv9a4Vd0BibvvXy0TjxcU+PNQR+4+tyjSo4iiGkUDa5JTMADSwx8 to2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=LxK1C0Wm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id li16-20020a170906f99000b009980c2658e0si2058960ejb.763.2023.07.21.06.16.26; Fri, 21 Jul 2023 06:16:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=LxK1C0Wm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-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 S230173AbjGUM5x (ORCPT + 99 others); Fri, 21 Jul 2023 08:57:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50504 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229683AbjGUM5u (ORCPT ); Fri, 21 Jul 2023 08:57:50 -0400 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 39D0C186; Fri, 21 Jul 2023 05:57:49 -0700 (PDT) Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 36LCvbfC069934; Fri, 21 Jul 2023 07:57:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1689944257; bh=rnorjwn43wORV+uRkEwgozu1v6r3MwEdYJRYgPBSdIg=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=LxK1C0WmjQ/0TriiE/aX88j2NyysNQyIRdHvI3LmfxhDQZmU5M1Imb14Nip8PRYYc 9HriYhlYx60nWkE8FLxbYUIDNpzXL9zcNeQ51/+4xcUODLWtfDy6lRPnCO21pz73hq x3xK8LeLVBVSDR/FMaTDgYypnmYw5sQulwR/fgZA= Received: from DLEE107.ent.ti.com (dlee107.ent.ti.com [157.170.170.37]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 36LCvbht029723 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 21 Jul 2023 07:57:37 -0500 Received: from DLEE114.ent.ti.com (157.170.170.25) by DLEE107.ent.ti.com (157.170.170.37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Fri, 21 Jul 2023 07:57:36 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE114.ent.ti.com (157.170.170.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Fri, 21 Jul 2023 07:57:37 -0500 Received: from localhost (ileaxei01-snat.itg.ti.com [10.180.69.5]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 36LCvaXI010992; Fri, 21 Jul 2023 07:57:36 -0500 From: Jayesh Choudhary To: , , , , , , , CC: , , , , Subject: [PATCH v2 2/2] dt-bindings: ti-serdes-mux: Deprecate header with constants Date: Fri, 21 Jul 2023 18:27:32 +0530 Message-ID: <20230721125732.122421-3-j-choudhary@ti.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230721125732.122421-1-j-choudhary@ti.com> References: <20230721125732.122421-1-j-choudhary@ti.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The constants to define the idle state of SERDES MUX were defined in bindings header. They are used only in DTS and driver uses the dt property to set the idle state making it unsuitable for bindings. The constants are moved to header next to DTS ("arch/arm64/boot/dts/ti/") and all the references to bindings header are removed. So add a warning to mark this bindings header as deprecated. Signed-off-by: Jayesh Choudhary Reviewed-by: Krzysztof Kozlowski Acked-by: Roger Quadros --- include/dt-bindings/mux/ti-serdes.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/dt-bindings/mux/ti-serdes.h b/include/dt-bindings/mux/ti-serdes.h index 669ca2d6abce..b0b1091aad6d 100644 --- a/include/dt-bindings/mux/ti-serdes.h +++ b/include/dt-bindings/mux/ti-serdes.h @@ -6,6 +6,14 @@ #ifndef _DT_BINDINGS_MUX_TI_SERDES #define _DT_BINDINGS_MUX_TI_SERDES +/* + * These bindings are deprecated, because they do not match the actual + * concept of bindings but rather contain pure constants values used only + * in DTS board files. + * Instead include the header in the DTS source directory. + */ +#warning "These bindings are deprecated. Instead, use the header in the DTS source directory." + /* J721E */ #define J721E_SERDES0_LANE0_QSGMII_LANE1 0x0 -- 2.25.1