From patchwork Wed Mar 29 09:04:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Svyatoslav Ryhel X-Patchwork-Id: 76483 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp270513vqo; Wed, 29 Mar 2023 02:06:04 -0700 (PDT) X-Google-Smtp-Source: AKy350YJl65FXNOBTN4i4gXqCKv/WqJmPOz5lO40JWYCJKhTAU7NjnS9RY9FXgGBo5Lo+JHSq8Wc X-Received: by 2002:a17:906:1cc5:b0:931:42d2:a77f with SMTP id i5-20020a1709061cc500b0093142d2a77fmr18022190ejh.15.1680080763929; Wed, 29 Mar 2023 02:06:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680080763; cv=none; d=google.com; s=arc-20160816; b=ZRz3eBgR48h1hWXtDyl2RslJ3p3dMqK/ktOY+0bpPUVq2nx6J0iHOsdzjmz5PL2QAQ pIY4fZtIfnXH47CwJh3KZn6juGibGlNAu4CQBwMUuEikm7WhJA0THxHGA5DeJh9VrJPi 9vtALHV9yYg39uz4pQE85tw3HAnsdU+Y2zHUuWqN7c1zzbtmQb+14YHCbqZ8iwvJdPkX 0/t8dNBklivFwrWYNCtp5t+Cc81QMrOfTHyVdnZ8Xo6a0ARy7QbPa74/BUuoGvuHSFLG aHHJ0wPmmO7gnocuKM6T3fojLbez3ZEUdWlHJy7MHNVEPw9EjR2SxHidWdOYP9iLvFOM pWYw== 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=/Jvw7lCXM6klT4g7y4ectmTBzvvioBJrdjfCKfiCV2M=; b=s60h+BtcqQBgN5voGQO+gMLRXUB8+vODKm6j09w5xn48KCb0MAkli9cxmzrKNe6SVM bx0gyPrbLvCQixBYnJ7WJg9uWm3mzPrILxP4SyRxtyLT8wwWm+5tz3LBhaaa5txVBI3C P0K0l2h7Ny5FaqCqSx7H8sEzfitTfW2rzeLf87irkKfNHS/g+THoAs6aqZTqMUZgraZr uQ0UA/NU7Z4no9SmKLAc/RlEA9R2plAqeCU05Usk7l68/R7MjKnU+iojM66heDxF3XVz xnbsUOzFIL6nII5AMnQ3Q99WKkDD1cwwSFtChkz2aXqSeVX+KiiO1wTuas+i0BwA85V7 1bXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=mkn927X9; 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 qb25-20020a1709077e9900b0093acfe3810asi21083606ejc.142.2023.03.29.02.05.39; Wed, 29 Mar 2023 02:06:03 -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=@gmail.com header.s=20210112 header.b=mkn927X9; 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 S231224AbjC2JFF (ORCPT + 99 others); Wed, 29 Mar 2023 05:05:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38708 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230386AbjC2JEm (ORCPT ); Wed, 29 Mar 2023 05:04:42 -0400 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 CB3C9109; Wed, 29 Mar 2023 02:04:35 -0700 (PDT) Received: by mail-ed1-x529.google.com with SMTP id ew6so60308746edb.7; Wed, 29 Mar 2023 02:04:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680080674; 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=/Jvw7lCXM6klT4g7y4ectmTBzvvioBJrdjfCKfiCV2M=; b=mkn927X9y7hQT/e3mbUQodOELFdTFuo6a8aSvq040mCj8hzc1WlsbnfOIyHANqMRhh FVNcSvAmJH/c9C6MjynAPGPzQ3ZB+m/5fiWO8+91Ixq6S3aBhzO+UMdARBOVjhXiGtoy gWvnMv/NWam4OY/NndFelVNcA6Puh8sqRKcES3LVYeAp0iAPMV34QDZnx5JqpCFeqfeG hW7L3DY+sgqSl/0tBWD01iOo4lat77RFA+xTpDm2pdSw/EIXOy182KgeHy2CCkiU5RPY cHEzpWdVuhH9+IPblD+4LyISsCcjim3zYRD/s6/IBFnqEAFTA+ZPeOD5eS0/4A/A3vi6 Sqvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680080674; 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=/Jvw7lCXM6klT4g7y4ectmTBzvvioBJrdjfCKfiCV2M=; b=4IVpk57/XIxSuWBvbpML2HjdmNG79YnEy6er5b35Ia7fVhX0zxEGUkykGfmn5LoPA7 Pkl/pxSVhnZFOoghtnfpPTM0jwp+O+dhU3CrCD0dQvVDZAcLQHhhtMWLMId/X7aFrSru +6D+VF5jHjwBuIR1U2I3rVEvnZYWhqJPHR+tMWqG8AlczuR4AdcNGGz5m9nq6KnWH/rQ XA2w4k4ZcjCDY4aEb3yrs4fqGAQrRnBFalFMjOaQNYfVPba+0GcAuWUyVsp2o5/8NJnG mc1PrQ6P/xKjV+/1cpoo7ZahflAzdgLhQnPY+k/uQyZWPlsNR5/BWF/jc1BKGDFOGgCq 45Xg== X-Gm-Message-State: AAQBX9e4EbdXldNJUZbsGB8M4UhrGT0qjr/gL5S3bizrT+WMT1AOudTt jKh7c2X0k9H1E233acDrk4s= X-Received: by 2002:a17:906:2b8e:b0:946:c022:8979 with SMTP id m14-20020a1709062b8e00b00946c0228979mr6248001ejg.21.1680080674212; Wed, 29 Mar 2023 02:04:34 -0700 (PDT) Received: from xeon.. ([188.163.112.76]) by smtp.gmail.com with ESMTPSA id n3-20020a170906088300b009327ed171f2sm15437127eje.129.2023.03.29.02.04.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Mar 2023 02:04:33 -0700 (PDT) From: Svyatoslav Ryhel To: Rob Herring , Krzysztof Kozlowski , Thierry Reding , Jonathan Hunter , Svyatoslav Ryhel , Maxim Schwalm , Dmitry Osipenko Cc: devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 1/4] ARM: tegra: transformer: use labels for mmc in aliases Date: Wed, 29 Mar 2023 12:04:00 +0300 Message-Id: <20230329090403.5274-2-clamor95@gmail.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230329090403.5274-1-clamor95@gmail.com> References: <20230329090403.5274-1-clamor95@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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?1761692367272558002?= X-GMAIL-MSGID: =?utf-8?q?1761692367272558002?= Use phandle references for mmc instead of path in aliases. Signed-off-by: Svyatoslav Ryhel --- arch/arm/boot/dts/tegra114-asus-tf701t.dts | 12 ++++++------ .../boot/dts/tegra30-asus-transformer-common.dtsi | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/arch/arm/boot/dts/tegra114-asus-tf701t.dts b/arch/arm/boot/dts/tegra114-asus-tf701t.dts index 84a3eb38e71d..3a420ac969ff 100644 --- a/arch/arm/boot/dts/tegra114-asus-tf701t.dts +++ b/arch/arm/boot/dts/tegra114-asus-tf701t.dts @@ -13,9 +13,9 @@ / { chassis-type = "convertible"; aliases { - mmc0 = "/mmc@78000600"; /* eMMC */ - mmc1 = "/mmc@78000400"; /* uSD slot */ - mmc2 = "/mmc@78000000"; /* WiFi */ + mmc0 = &sdmmc4; /* eMMC */ + mmc1 = &sdmmc3; /* uSD slot */ + mmc2 = &sdmmc1; /* WiFi */ rtc0 = &palmas; rtc1 = "/rtc@7000e000"; @@ -605,12 +605,12 @@ i2s@70080300 { }; }; - mmc@78000000 { + sdmmc1: mmc@78000000 { /* WiFi */ }; /* MicroSD card */ - mmc@78000400 { + sdmmc3: mmc@78000400 { status = "okay"; bus-width = <4>; @@ -626,7 +626,7 @@ mmc@78000400 { pinctrl-0 = <&sdmmc3_default>; }; - mmc@78000600 { + sdmmc4: mmc@78000600 { /* eMMC */ }; diff --git a/arch/arm/boot/dts/tegra30-asus-transformer-common.dtsi b/arch/arm/boot/dts/tegra30-asus-transformer-common.dtsi index 1861b2de2dc3..f32806f07989 100644 --- a/arch/arm/boot/dts/tegra30-asus-transformer-common.dtsi +++ b/arch/arm/boot/dts/tegra30-asus-transformer-common.dtsi @@ -12,9 +12,9 @@ / { chassis-type = "convertible"; aliases { - mmc0 = "/mmc@78000600"; /* eMMC */ - mmc1 = "/mmc@78000000"; /* uSD slot */ - mmc2 = "/mmc@78000400"; /* WiFi */ + mmc0 = &sdmmc4; /* eMMC */ + mmc1 = &sdmmc1; /* uSD slot */ + mmc2 = &sdmmc3; /* WiFi */ rtc0 = &pmic; rtc1 = "/rtc@7000e000"; @@ -1388,7 +1388,7 @@ i2s@70080600 { /* i2s3 */ }; }; - mmc@78000000 { + sdmmc1: mmc@78000000 { status = "okay"; /* FIXME: Full 208Mhz clock rate doesn't work reliably */ @@ -1401,7 +1401,7 @@ mmc@78000000 { vqmmc-supply = <&vddio_usd>; /* ldo3 */ }; - mmc@78000400 { + sdmmc3: mmc@78000400 { status = "okay"; #address-cells = <1>; @@ -1431,7 +1431,7 @@ wifi@1 { }; }; - mmc@78000600 { + sdmmc4: mmc@78000600 { status = "okay"; bus-width = <8>; vmmc-supply = <&vcore_emmc>; From patchwork Wed Mar 29 09:04:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Svyatoslav Ryhel X-Patchwork-Id: 76482 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp270358vqo; Wed, 29 Mar 2023 02:05:48 -0700 (PDT) X-Google-Smtp-Source: AKy350bAl2g6SFY+Ll4atgMrm0u52Wk3uVfnkOhRPAPB/y0JsOl+Fm7MoAi4fTHL00b2BiSNBfLv X-Received: by 2002:a17:902:d4d0:b0:19e:6e29:2a8c with SMTP id o16-20020a170902d4d000b0019e6e292a8cmr23234677plg.5.1680080748168; Wed, 29 Mar 2023 02:05:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680080748; cv=none; d=google.com; s=arc-20160816; b=hD+BFy1AbIya0VrVIR963jRMIzEeY/F1Oou+ninuFv/0CfIR3zvk5vcAEluNNmlAii XDKSwZd3T5gjmZOhUvUDBhiKO42X9D/YGHI7puQSSX6yjvgobuzu6tlC2902eIWngmKh Bh9W/8ZdHzCxOpUC3nRgSgWUsdvZCxVOAVy8NKLPf5ebTo0A14CukUbvi1rV33iMEaeq zItnELZ0f7Db1eARzDGebP2M2n3R9Th30TCcI43a3V1XcND2s0M/Q+UHGRGjdYwIpQtr YZfMwJLqrmhZagZwlsiOB+06Jb1RqUBlXGeUZgUx3CkUXwioCQzCgt0MMOOBvHB7+1/E Ny8g== 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=B+DbffmHfR9yVX7SiFnx6sOjtVl/DwLLnQZOWycWI+s=; b=a4OxiwyVyrbPD4u8aKuTRJMSYjxgWLIzttXXp/F1WPaA2qxqt2fKf8Jrr6nsB8vMYd ElQbzATDYj+DMSvkSqTAjlkp3msOkdy/DBJe3BKqwvtMTlPB33+mnUCm8pt4kbw+CDkY 4xyOM3CB6EKwQ9oE1xkGemPEKvuQUxK+25r7p1u6O7LisXtJVZDZNGox6dX/SHGKkKqq 2QubNRRWWkKTbUrYDJuGC8BqFYgHE8fhxEfuL4DlWxThvEmEHF1WgvEXzioeSUyP9s4v MkldBgvCO1M8DcpPlz7MNTOQUx9Xxba52zLTlgn6Af/GL1NUHPbXUJO6dsJOFFnVLZqQ dysw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=n+ViGVoy; 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 196-20020a6302cd000000b00502d65e8491si32587147pgc.620.2023.03.29.02.05.34; Wed, 29 Mar 2023 02:05:48 -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=@gmail.com header.s=20210112 header.b=n+ViGVoy; 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 S229895AbjC2JFI (ORCPT + 99 others); Wed, 29 Mar 2023 05:05:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39566 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230391AbjC2JEn (ORCPT ); Wed, 29 Mar 2023 05:04:43 -0400 Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8C4D110F; Wed, 29 Mar 2023 02:04:36 -0700 (PDT) Received: by mail-ed1-x532.google.com with SMTP id eg48so60269981edb.13; Wed, 29 Mar 2023 02:04:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680080675; 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=B+DbffmHfR9yVX7SiFnx6sOjtVl/DwLLnQZOWycWI+s=; b=n+ViGVoyl/wZVdMrWxH/nIlgWn3DQIt7vTOKGuCfxrWUjtP4auMc1Nuw5aF6PefQwK 1flyPPFPhK3ofFlad/aTSAjtUIfSFCYjeAOBJ1CVVLB6d21kyBkXoVNRv+dMojbM0Slt JUDdLfSodJIfZZHY+QfplNfyanjZcR45BsooUlEvoCw2X5729JC/G+WFHUsJ/TvK5BZ1 d5v6DEZbGEnoXyoTin25w8F9XoqU2ShRwz1hQJapZXslYTPtWaCQDUQ/+I2jaIGJ1S5u t2Ig4YiaayPmILtdWH8hC6B6Z67mvefjWoCPe4hm7mW1Rqdtx3Qq0Hp/N+Z1/Jq441hr yADg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680080675; 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=B+DbffmHfR9yVX7SiFnx6sOjtVl/DwLLnQZOWycWI+s=; b=dqVqnkul9EJlmSJLI3ak+qXKn0zUsp1ORZT70ogr8LuVlpUT7ajUPvofbc2smU+C5n ekPlls/M3O4GVbdDVJAx+iTpYTYRMr5qj5DUvYK8KklfPyDcMe/kLf77rLr5f/z23ynu PhEf5ImtTzS7S2ByjjMTPtVT8FlDqdyj0WHWnI6ii7WYkR5z0SdHLPP6RGrFkGxzQ5um r4tVdaDrJ2qlB+32jiAsUhupK98VNQQq+efn6zb8yKfUi0Ii02exHlwRTBQfk/tY9MH5 JknCJy1Kkt05+G+eiFGvq6JYG22SwQ37Pl7XUOsuYtz1P6R4s/fudIzyyIO8c/gZmZVz yz9g== X-Gm-Message-State: AAQBX9fgyMGlLVyzzoC3UBQftrlCRYwK7hdzybX9K8Rngid2ho16HtvM BoIkeJyWkwW+pUYqER2jWiU= X-Received: by 2002:a17:906:348a:b0:92e:d6e6:f3ad with SMTP id g10-20020a170906348a00b0092ed6e6f3admr20031134ejb.6.1680080675022; Wed, 29 Mar 2023 02:04:35 -0700 (PDT) Received: from xeon.. ([188.163.112.76]) by smtp.gmail.com with ESMTPSA id n3-20020a170906088300b009327ed171f2sm15437127eje.129.2023.03.29.02.04.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Mar 2023 02:04:34 -0700 (PDT) From: Svyatoslav Ryhel To: Rob Herring , Krzysztof Kozlowski , Thierry Reding , Jonathan Hunter , Svyatoslav Ryhel , Maxim Schwalm , Dmitry Osipenko Cc: devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 2/4] ARM: tegra30: Use cpu* labels Date: Wed, 29 Mar 2023 12:04:01 +0300 Message-Id: <20230329090403.5274-3-clamor95@gmail.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230329090403.5274-1-clamor95@gmail.com> References: <20230329090403.5274-1-clamor95@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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?1761692350886499895?= X-GMAIL-MSGID: =?utf-8?q?1761692350886499895?= From: Maxim Schwalm Replace cpu paths with labels since those already exist in tree. Signed-off-by: Maxim Schwalm Signed-off-by: Svyatoslav Ryhel --- arch/arm/boot/dts/tegra30.dtsi | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/tegra30.dtsi b/arch/arm/boot/dts/tegra30.dtsi index b6fcac6016e0..9cba67b54111 100644 --- a/arch/arm/boot/dts/tegra30.dtsi +++ b/arch/arm/boot/dts/tegra30.dtsi @@ -1283,10 +1283,7 @@ pmu { , , ; - interrupt-affinity = <&{/cpus/cpu@0}>, - <&{/cpus/cpu@1}>, - <&{/cpus/cpu@2}>, - <&{/cpus/cpu@3}>; + interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>; }; thermal-zones { From patchwork Wed Mar 29 09:04:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Svyatoslav Ryhel X-Patchwork-Id: 76485 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp275752vqo; Wed, 29 Mar 2023 02:16:58 -0700 (PDT) X-Google-Smtp-Source: AKy350asrXTKzIERUe/c2TiregrkrE2sFxi0cMa7NnC8kgN+9thPzyInJorM37nizGNMgoGY1RLO X-Received: by 2002:a17:902:ce8e:b0:19e:2fb0:a5d9 with SMTP id f14-20020a170902ce8e00b0019e2fb0a5d9mr1615080plg.32.1680081418517; Wed, 29 Mar 2023 02:16:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680081418; cv=none; d=google.com; s=arc-20160816; b=ZrbuMXAGDOuO6SpytUInlbTqkzi8hJbFf/14z5k5WltsxisNczU7I4JFzM4HoHvfpd Wmm3G9EH391QBm/s9Dux8n454pscP0Galj0eSJz2y/sBouqre9vsLgyiu6zBgIQ95yT8 oMgI9emvDw+yM58AbVCWoih3JLx+gcZSoodHKxAtb+IXjOfAs2547RGGo8VNqLcUZf80 ArP9V1wnXbuebxVzO2MAS/e1ILo4QkMxlWX6rLUtWYmZij2W4FLpa0jGqF22E7Q/a9O+ DuP/9sB2lsnsRNurTSTUN83r0ysDcUMZ4b65mz60exxCzVJyngO72JPmWJGBSlgUAGCq 5/XQ== 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=AmA1pqJOyOb2cR7V74kR64IR6Xx2k2cxNLkEbR3rMXM=; b=K3Hxo6slkU4tb8Z2FjPh8hd0fL6PsfmZJdqIsakfqwtNVtMw4AtC4ZLLf5pbP31/7E q90fVXe28rQLOZAVIPwe/CSHy7MWB277dPnpCj9g4rZ3PjJoN3BowLd6piYNXJDl+Hls aZAX6Qk+VUzxr4HS5IxaQq6WpcekBLlmaTAp6/2Q9utusabaxUyUNolQDVIf1R4GAdA4 MkJkhy2kYKy8/yki7s8PiCOaHxsBuOeqM9OovZ0HEIkryaoNqcq6/uf94QjKHykm2eB1 ikkuZYh5hNJLPNfbBBFhHWy5JJd5VuqGD8ROf/wZqWDPunjA88jErBRgAzVF0aq6QZ0X JvIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="FVJ/5Yau"; 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 37-20020a631665000000b0050239e95d34si30263998pgw.260.2023.03.29.02.16.45; Wed, 29 Mar 2023 02:16:58 -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=@gmail.com header.s=20210112 header.b="FVJ/5Yau"; 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 S231343AbjC2JFM (ORCPT + 99 others); Wed, 29 Mar 2023 05:05:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39588 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230414AbjC2JEn (ORCPT ); Wed, 29 Mar 2023 05:04:43 -0400 Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4196310C0; Wed, 29 Mar 2023 02:04:37 -0700 (PDT) Received: by mail-ed1-x52a.google.com with SMTP id x3so60293517edb.10; Wed, 29 Mar 2023 02:04:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680080676; 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=AmA1pqJOyOb2cR7V74kR64IR6Xx2k2cxNLkEbR3rMXM=; b=FVJ/5YauamJ6U6iOQs9roy5sKS0qDMHGt0OvI8eBFgY9RIpRlkxf3KsjRPMsSW41cz 5RKAycWDx0/9Jh9vJTJxJyGN9O67fUrtoPCY6eb8I5HyMINfSrZvbzxcKHykOm/m8MVa 3H4jKRrDMUf60B4uyMaIi7K8f0MFdpHTkdZw+TrwruOk1HJhHoPs65SNj+n/9refWZ7k QFHXxyG8m5Huh3+6oDYyV677SV7g5r1dS2LFUGplSj/IzBTaIPy85CNd8xozDwpbbb75 BfyxuIX26oHz+4gS5Y3pBgt9U6jdTpoXXPCuYpC1PzGCh3LHCxVC6d88Jk5ZgQRRf8ab IJMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680080676; 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=AmA1pqJOyOb2cR7V74kR64IR6Xx2k2cxNLkEbR3rMXM=; b=le8YoShSI3XzlrtG/b41+EByu3xKM1fym07D0uwa9IpEEjNyggJQc3Q0c/LkNs1Z7W PAxmUwxXdZKCRAooB6vYzMUEiOE/W6xxBHM73VzLolc5wFYdmA7zgP3Imq7rNCMZdNZJ uW/dIgu6juGjI0e8z6HbZRl+EvYpynxozcLRReHjAr6Jv4Wcxt5wwG7K0Jd5/806IPsk Iap+w57GBg7AUkc99+/iQ8puTOWgnwfFGsTFPHRKFiA6exQWOGifeWy8kdL9xQb03PDx 6CJIQnIC0nngAFvHpPYBBIAKe9VayVl3tKKhpK2dkhbXmQmJouPX0/Ncf9F5k6dIkeaB BzKA== X-Gm-Message-State: AAQBX9eaSH0bRhNQEh1lc1AZdIth4+xIS/btWa4ufyfG7ag6DXWtJgW6 T1KDrXKwFv8VaU4O4AmX2GA= X-Received: by 2002:a17:906:b2d2:b0:93e:fa12:aa1a with SMTP id cf18-20020a170906b2d200b0093efa12aa1amr17924410ejb.1.1680080675859; Wed, 29 Mar 2023 02:04:35 -0700 (PDT) Received: from xeon.. ([188.163.112.76]) by smtp.gmail.com with ESMTPSA id n3-20020a170906088300b009327ed171f2sm15437127eje.129.2023.03.29.02.04.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Mar 2023 02:04:35 -0700 (PDT) From: Svyatoslav Ryhel To: Rob Herring , Krzysztof Kozlowski , Thierry Reding , Jonathan Hunter , Svyatoslav Ryhel , Maxim Schwalm , Dmitry Osipenko Cc: devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 3/4] ARM: tegra: asus-tf101: fix accelerometer mount matrix Date: Wed, 29 Mar 2023 12:04:02 +0300 Message-Id: <20230329090403.5274-4-clamor95@gmail.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230329090403.5274-1-clamor95@gmail.com> References: <20230329090403.5274-1-clamor95@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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?1761693053740118906?= X-GMAIL-MSGID: =?utf-8?q?1761693053740118906?= Accelerometer mount matrix used in tf101 downstream is inverted. This new matrix was generated on actual device using calibration script, like on other transformers. Tested-by: Robert Eckelmann Signed-off-by: Svyatoslav Ryhel --- arch/arm/boot/dts/tegra20-asus-tf101.dts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/tegra20-asus-tf101.dts b/arch/arm/boot/dts/tegra20-asus-tf101.dts index 7b2969656ec9..dcb231f6e42d 100644 --- a/arch/arm/boot/dts/tegra20-asus-tf101.dts +++ b/arch/arm/boot/dts/tegra20-asus-tf101.dts @@ -577,9 +577,9 @@ accelerometer@f { vdd-supply = <&vdd_1v8_sys>; vddio-supply = <&vdd_1v8_sys>; - mount-matrix = "1", "0", "0", - "0", "1", "0", - "0", "0", "1"; + mount-matrix = "-1", "0", "0", + "0", "-1", "0", + "0", "0", "-1"; }; }; }; From patchwork Wed Mar 29 09:04:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Svyatoslav Ryhel X-Patchwork-Id: 76487 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp282638vqo; Wed, 29 Mar 2023 02:32:30 -0700 (PDT) X-Google-Smtp-Source: AK7set8uCeu5vHWOKGk/SgugLLPiQ5AnAezP2TX56VTjW87EjEWa9a8SC9E5I+9PrX9wkvMrnXNI X-Received: by 2002:a05:6a20:2921:b0:da:d73b:926a with SMTP id t33-20020a056a20292100b000dad73b926amr15218635pzf.30.1680082349969; Wed, 29 Mar 2023 02:32:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680082349; cv=none; d=google.com; s=arc-20160816; b=BL18X5kZ042Y4Z8RtEjqioHXvj6QBcszD82oNVthcY4GOpcCZA0tnsqhukATbvpkSs iT5s++89nwJdadOQbd8j7jyHHW/cRyFf27+BX/Mf2G4PID/53OmkVo2Q5abCBlijoiDD R3nEf0Pvyu0isUY5NjCl72JtP5HAC3xCzHybIlYDeyKUG/anf9PnioCi5xEWzKsGRgCt Mnn3SOcEz3Jp6kqSAob6L+17EK8KdLL9RNn+qt3eJx0Kr0k3njbMZ1cv8Qufqzjn9rK0 PHp73AjmnEaF0FegI/LKoMv/n0Lam5WAm5U8qXUQAcSANcESXNChxC4GeF7oaxlzFIlt UWPg== 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=Bt3pFcNmven8aszzUXY021Or+hkjFjt51HvtYlhXRTU=; b=HXu7imHOgmedCm+Kx2sMOtrmwq+NsbjEqGJYWo+HgmmYXFFV+nVbQADCSIjIvAwTEK H8SxO02Mtljd1Qy7W+AlwWD++chie2VqT+6cs2O+iahSYtXkwf5mg4ONUD3wb58zjTRK ou7ry6stR49SlGCuk3IywcMSKLQ4U7b709DA4MvYum2jt/NTIMN/s6aaGpCO7FShz0FJ em3DgYGT2mZUYm5+Q8pWX4pIBCOedcSswt5uJV6bCNRwrGaA2pf6vUcf0bqWsWmH5lQ8 ZJ3U9tthq1YRxrc9kp2YuvyijBrAKwb23dyHQB7XH/MxiSe6VPCKlCK2fnJUw8KHO/T+ oEDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ocCTEOOT; 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 t20-20020a63dd14000000b005133f65dc69si8947173pgg.219.2023.03.29.02.32.16; Wed, 29 Mar 2023 02:32:29 -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=@gmail.com header.s=20210112 header.b=ocCTEOOT; 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 S231397AbjC2JFP (ORCPT + 99 others); Wed, 29 Mar 2023 05:05:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39644 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230508AbjC2JEo (ORCPT ); Wed, 29 Mar 2023 05:04:44 -0400 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 4EC7535A1; Wed, 29 Mar 2023 02:04:38 -0700 (PDT) Received: by mail-ed1-x529.google.com with SMTP id i5so60587581eda.0; Wed, 29 Mar 2023 02:04:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680080677; 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=Bt3pFcNmven8aszzUXY021Or+hkjFjt51HvtYlhXRTU=; b=ocCTEOOTta43yM9bjytpG/xXuVfjSG6fLnOBLBSNhz0J8LYV/C50WleDq4MNmn2abF JacSQcvcxZsSzGi4Lv9uKW18u58dNuzzSUlTUpZlm18FDci9Xjb5ukdJ+jDpP4CssSxx FC9hcsmACfZCLZ1ehi75tEkWT2a/rzFdannZDhDV9Zxb4p9jNA2kAywWRso/3BZh/bPr 2nLTUgNPR+OUCk0IwbMYnT1cenuq6NuGISu8JMAi8DCp62Mw0wCGM3iknLJ7GnwoW5JZ YLxa0H8Et9SUQVJWV9NniCFBK1EJwc+CCf1bVDqscVqt7MVX7OMDZdYPQQX2g5JLE21v hWNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680080677; 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=Bt3pFcNmven8aszzUXY021Or+hkjFjt51HvtYlhXRTU=; b=p/nho7RqG5HgCHfuZ08y7Bi+ub3NOPeGZNGACTm4qDT/ruDvGtbUhsDeafGXN1/uMU CP+k72iHqYbCc3IN8qkeGeZU6LSQczJuQjqiCPgUQYz9dDXRcErgItU2mevwbgoAaQBb dznJvB6E9m5xxz4vlrfjVClyn6Nqxh9MlITgtKIJwxdsZ0KukTEn7mF6qgZQ3HumfSFy 2o1FZhF8pobsDYAWWR8r+YRYzxZmmL9PDM3DFNo+X8iA6iMFiSTsc45a5Q8VLEzR8Pb1 AM1bojuR0PtjR+cyMZmjchbwiAY+a3Nc2um50/wHW6D/Xr/d3NjylI7Jgo4namG6YnGt P1LA== X-Gm-Message-State: AAQBX9fett5AOZlRxdeiO8pe0u9GODVNAw50aqxfWsmUK2kBZ8KWisgs ELi5Z7DqCeaKD7iYvm0ew/Q= X-Received: by 2002:a17:906:a887:b0:939:e7d6:7c52 with SMTP id ha7-20020a170906a88700b00939e7d67c52mr18927345ejb.20.1680080676659; Wed, 29 Mar 2023 02:04:36 -0700 (PDT) Received: from xeon.. ([188.163.112.76]) by smtp.gmail.com with ESMTPSA id n3-20020a170906088300b009327ed171f2sm15437127eje.129.2023.03.29.02.04.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Mar 2023 02:04:36 -0700 (PDT) From: Svyatoslav Ryhel To: Rob Herring , Krzysztof Kozlowski , Thierry Reding , Jonathan Hunter , Svyatoslav Ryhel , Maxim Schwalm , Dmitry Osipenko Cc: devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 4/4] ARM: tegra30: peripherals: add 266.5MHz nodes Date: Wed, 29 Mar 2023 12:04:03 +0300 Message-Id: <20230329090403.5274-5-clamor95@gmail.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230329090403.5274-1-clamor95@gmail.com> References: <20230329090403.5274-1-clamor95@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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?1761694029936601190?= X-GMAIL-MSGID: =?utf-8?q?1761694029936601190?= LG Optimus Vu (p895) and Optimus 4X HD (p880) have 266.5MHz RAM clock and require this entry to work with it correctly. Signed-off-by: Svyatoslav Ryhel --- .../arm/boot/dts/tegra30-peripherals-opp.dtsi | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/tegra30-peripherals-opp.dtsi b/arch/arm/boot/dts/tegra30-peripherals-opp.dtsi index d100a1a8b705..a2d557155114 100644 --- a/arch/arm/boot/dts/tegra30-peripherals-opp.dtsi +++ b/arch/arm/boot/dts/tegra30-peripherals-opp.dtsi @@ -210,6 +210,20 @@ opp-204000000-1250 { opp-suspend; }; + opp-266500000-1000 { + opp-microvolt = <1000000 1000000 1350000>; + opp-hz = /bits/ 64 <266500000>; + opp-supported-hw = <0x0007>; + required-opps = <&core_opp_1000>; + }; + + opp-266500000-1250 { + opp-microvolt = <1250000 1250000 1350000>; + opp-hz = /bits/ 64 <266500000>; + opp-supported-hw = <0x0008>; + required-opps = <&core_opp_1250>; + }; + opp-333500000-1000 { opp-microvolt = <1000000 1000000 1350000>; opp-hz = /bits/ 64 <333500000>; @@ -424,6 +438,12 @@ opp-204000000 { opp-suspend; }; + opp-266500000 { + opp-hz = /bits/ 64 <266500000>; + opp-supported-hw = <0x000F>; + opp-peak-kBps = <2132000>; + }; + opp-333500000 { opp-hz = /bits/ 64 <333500000>; opp-supported-hw = <0x000F>;