From patchwork Sat Feb 25 10:16:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yassine Oudjana X-Patchwork-Id: 5858 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1416578wrd; Sat, 25 Feb 2023 02:18:52 -0800 (PST) X-Google-Smtp-Source: AK7set85cQQeDzQD4O26N51hmlJkPAI/tH0xKLt5R8UWbkBOA1ClfBb20jXUzsuzZb3X4h8xaIvX X-Received: by 2002:a17:90b:1bc6:b0:237:c4b1:baf4 with SMTP id oa6-20020a17090b1bc600b00237c4b1baf4mr1507096pjb.11.1677320332223; Sat, 25 Feb 2023 02:18:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677320332; cv=none; d=google.com; s=arc-20160816; b=OVy6GRYhOEBnO3fqc8mndIfI0gnTqlXaV5kFtIi56sYzju680j2vwLFDVThOMwyE0F OxVs9/WcNqHd7rggrf6CWeao12uYnGUtzv195IYAPr9DADn4r4g12doCMiZCOSrGh2wM DXRHUroi5iSMqnqKMNEOcFwIMUxkx9e7/MOf8FSkLE/PQ6DA5ICfQNB0XAC8CCmyWrQs kWY0chrtmv7fYkkFWdWxa2apcbf6kXXLWpu8YVhofcaJ3UkGsfbmC8/XjTXHYNGEpmIP MNJm6rl1V9AysL9JLdHAftQCp3l00sTY7+5IXvXix38m95q9VbBnc/j7L64yLSiZJMmZ jClw== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=OeexrnsfKxBTOcA3D+ZUlVNtFgpihCGwKRrGZjNCkaw=; b=g5H7fpdUFba+f8Ze/9XV8O7diuPTbUw81Di+MeP17xYnqyeNpckOvIAWgva5yBFRsW nNYTJnYmF8aKFnAqR/JGLsj6+i36xDWgA1/Msb9BVqZz9dT+MV+utuV6BpB0cZMtk9b0 9BP1utmpZKFyba/Xm7ok9xY6eKo1s5K/455NfVLrcJQ0QglzwGWf0/Oazey7GwNK0o8k +e7Sig21A8Mc6vejfvM5yqlKv2OEKA+S729XRlSZPetph2dTI6PKtxOVwoQhgvxYoVMb kO3S4JykEqkTWygNERmaR+gOTjNKq+NV2l9HHiPIeMciJmTM7LtR3EHLIXAoG98dvePS wj/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=F98gOqKA; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a1-20020a17090a70c100b0023491176193si4864979pjm.10.2023.02.25.02.18.40; Sat, 25 Feb 2023 02:18:52 -0800 (PST) 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=@gmail.com header.s=20210112 header.b=F98gOqKA; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229587AbjBYKRA (ORCPT + 99 others); Sat, 25 Feb 2023 05:17:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40068 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229445AbjBYKQ7 (ORCPT ); Sat, 25 Feb 2023 05:16:59 -0500 Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 56D5A2057F; Sat, 25 Feb 2023 02:16:56 -0800 (PST) Received: by mail-ed1-x529.google.com with SMTP id da10so6973557edb.3; Sat, 25 Feb 2023 02:16:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=OeexrnsfKxBTOcA3D+ZUlVNtFgpihCGwKRrGZjNCkaw=; b=F98gOqKA63kr7GmsTaWBWi5PM3SAB8AWAbyro5aCO9RUNXdNP39BrJ6RvMjHX48f/T cGpD/BGJQgEzyNkdSShz5MpQTmBdyqimqcYitvgGchaefFJlf3oXSjRdtquf+kxixgaJ wU4smkyQIcu8dGFsnaIOxk+kEQ4o+MIiORfk6gMxZgpTZzOqjMkkxW0Lr5Wk/vYDgMdU Z4rH3wk1qCI+Ul8R/TOYw6kIBgqTIhWLfeFBAHlZ1EQ28QmeADsQvpuSBNW2Zcrvun6O B26GM3EGlrjck8ZXlYFZJHzndHXisj5rvLoucx15SrTVGf0WcoNIl76G4C17K+aBaQkV 2G9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=OeexrnsfKxBTOcA3D+ZUlVNtFgpihCGwKRrGZjNCkaw=; b=wO1xD0m1XpW0lzggyWne2NnM7V9Qx5uMTILCbCQiZVVKn8w4tAPVNxo3Ucavha2jMS nyI8g6yJx3opiJA4f9E5gjwjo0zACefU9VdzBpeDNru+7Guuo10EtvWz2nY1Q58DZzVN fVQfHvODxrQixAbAOnyESgvxWPDAmlxhGHp0UWx+lsQDDaHYpInjusWo6WieL6AlJtvz fV4QlfoMA/Yk7dtVaTep8FsC4vvIwsiB+6Uxk4cXkcZGkZDkX72wRenIrxxOwvjkN76v bsaykApLoM+GQYzW6DSeC8+wp61Ge1XU27/e2HUrhtG/+G/VrSQb8HeaKN1atEQhHhDj HlzA== X-Gm-Message-State: AO0yUKUrA5UkmiIUjaGFz0QLMsLxMLwLgAAlykBVkN6rPELsyJaYujtS oygKrPgkXT4vhUcSPtUQyUU= X-Received: by 2002:a50:fa96:0:b0:4af:8247:273 with SMTP id w22-20020a50fa96000000b004af82470273mr3697503edr.7.1677320214580; Sat, 25 Feb 2023 02:16:54 -0800 (PST) Received: from localhost.localdomain ([95.183.227.97]) by smtp.gmail.com with ESMTPSA id y23-20020a50ce17000000b004af6163f845sm677722edi.28.2023.02.25.02.16.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 Feb 2023 02:16:54 -0800 (PST) From: Yassine Oudjana X-Google-Original-From: Yassine Oudjana To: Rob Herring , Krzysztof Kozlowski , Matthias Brugger , AngeloGioacchino Del Regno Cc: Yassine Oudjana , Yassine Oudjana , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: [PATCH 0/3] MediaTek MT6735 SCPSYS support Date: Sat, 25 Feb 2023 13:16:26 +0300 Message-Id: <20230225101629.264206-1-y.oudjana@protonmail.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1758797844512847034?= X-GMAIL-MSGID: =?utf-8?q?1758797844512847034?= From: Yassine Oudjana These patches are part of a larger effort to support the MT6735 SoC family in mainline Linux. More patches (unsent or sent and pending review or revision) can be found here[1]. This series adds support for most SCPSYS power domains on MT6735. See patches for details. [1] https://gitlab.com/mt6735-mainline/linux/-/commits/mt6735-staging Yassine Oudjana (3): dt-bindings: power: Add bindings for MediaTek MT6735 dt-bindings: soc: mediatek: scpsys: Document MT6735 SCPSYS compatible string soc: mediatek: scpsys: Add support for MT6735 .../bindings/soc/mediatek/scpsys.txt | 2 + drivers/soc/mediatek/mtk-scpsys.c | 84 +++++++++++++++++++ .../power/mediatek,mt6735-scpsys.h | 14 ++++ 3 files changed, 100 insertions(+) create mode 100644 include/dt-bindings/power/mediatek,mt6735-scpsys.h