From patchwork Thu Jun 20 11:34:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13705214 Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com [209.85.128.43]) (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 519AC1ABCCA for ; Thu, 20 Jun 2024 11:35:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.43 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718883310; cv=none; b=H0t52DsRn44gExjalq3eR6qLMADCDvlVR6FqGqznL1X5SIErGxWniimjrETiHXUZJn4/2yrYFUsr3r9C7JKXSDAn0SIQmaIChiv4y0nk6FVXJw5sO+5Z+euzae/hVamDywCO0bLcTakXBku6jnuANo+imSdimov+XnndPJq8b3s= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718883310; c=relaxed/simple; bh=u46DXMnnV+4LGWHLSY0HJbWET1X6kq31L8FmQvAWJfo=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=TxDSzDKavWZ6ts9/5sQ2Yz+MxuVKlNgT4xQ7/oj1ZDRFcrV5mCDe3HzTI0Ut7APqO0OIjXUgl2+hMxQ8p3S3FTQLeW1Dp6DaMtiq5Z9TTGOV2f01Ba+ZI3JooW0ZilnUUzX31JwsIOtr5DbAmVb6to9+Rh1n02pX43WU0qHSTkg= 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=gRrhyUBW; arc=none smtp.client-ip=209.85.128.43 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="gRrhyUBW" Received: by mail-wm1-f43.google.com with SMTP id 5b1f17b1804b1-4217c7eb6b4so8046555e9.2 for ; Thu, 20 Jun 2024 04:35:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1718883307; x=1719488107; darn=lists.linux.dev; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=Rm0p3ifM1mvsX1ZP0z5AtqzhzB7gV2tVDLMJERR6NCI=; b=gRrhyUBWaCbTUtVuFhl2kRN54v5j3JSVBNA9XFLzE8YgEvK8AR9OpvggO8fhFKehaM RfFVB9XtfNYBdmB5xkoxbz8s9BPHIiLMjg0VnEQHGVcx8p0fmIDVL0Qg61CliKVy2maL onazGh+a3YEFDPzBKGGtgjsh2LNHdJJq4/IHNcSdd4uES9H0S1oy/8KdXrCnPSDWK8mE KijAjn4A0nb9zYeJ+3lyC/zBNCvIUZc11q/ei1nDnjDXfSgQUp0j/F7i+wR9SVmQuDfI zOlEVERHsJDX61NDh+1KsKZHgupz7BRuhzDfNRQTQUzC0wW44fE3CYJiajGGLurIDcBF GzYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718883307; x=1719488107; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Rm0p3ifM1mvsX1ZP0z5AtqzhzB7gV2tVDLMJERR6NCI=; b=PQfK0dscerUMiuoVW5dKyA/GvaKGq8b2VjDbRkE8s0uPM6Fchu+3L01+S6/q3UJXR7 qzBQF/NF/ou+nMJb+DJ5i8yd0CzY/cldhHa6HvK0e/kSUBXxWq8C3ZFaNSweIC8NTK/Q +EfbBPBUOYreZI6El2Bh46HpuciYEy6X6y2ZgtiPxl06CJdnH+TVBXu9ZpDl/UGZhAvt /q5QL1EQ+PeOB9lp5iK7/5/CSwW48A0GLmZLZhe9ohMXN8493PQ/J6IjgCXNfmhheytC jaM2lOQoMDOxUVEp52dgTBOvncKbWsIAO+G4aB4569LPoIwONeQLpOG93aMNZdo7BOhZ 84zw== X-Forwarded-Encrypted: i=1; AJvYcCXBCUz+hXJ0fRYhbXEpSzTp5lWXnEM4XVL+2T/03nxUpVMVMu6JhqjEq9TNDdYQ3NY6E8Ma+5HzLsDOpz87mmFM6Ytp+cpKzx2BSSGBLc4T X-Gm-Message-State: AOJu0Yy1/E7jlWLSH6MXjQRvT/z5opj9N9lWxtYz50co5dHeb50xP4Zj tnu8RRhNLPVV4lxq0TyvLgYZXjreIuuyNapUT4oOKYKjxsF8h7+pYRyyPkZimcs= X-Google-Smtp-Source: AGHT+IGITfCEpwFct/l4OjaPbZYnxzu8jG4aF3Etd4mv8IL4/vYQZk/8aqDfBzKmZssKsLb26FIdcw== X-Received: by 2002:a05:600c:22c3:b0:424:7615:ecc0 with SMTP id 5b1f17b1804b1-4247615eed9mr36879725e9.6.1718883306600; Thu, 20 Jun 2024 04:35:06 -0700 (PDT) Received: from [127.0.1.1] ([178.197.219.137]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42471e6623fsm49708985e9.1.2024.06.20.04.35.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Jun 2024 04:35:06 -0700 (PDT) From: Krzysztof Kozlowski Date: Thu, 20 Jun 2024 13:34:49 +0200 Subject: [PATCH 1/7] dt-bindings: i2c: atmel,at91sam: correct path to i2c-controller schema Precedence: bulk X-Mailing-List: chrome-platform@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240620-dt-bindings-i2c-clean-v1-1-3a1016a95f9d@linaro.org> References: <20240620-dt-bindings-i2c-clean-v1-0-3a1016a95f9d@linaro.org> In-Reply-To: <20240620-dt-bindings-i2c-clean-v1-0-3a1016a95f9d@linaro.org> To: Andi Shyti , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Nicolas Ferre , Alexandre Belloni , Claudiu Beznea , Sergiu Moga , Benson Leung , Guenter Roeck , Doug Anderson , Enric Balletbo i Serra , =?utf-8?q?Ricardo_Ca=C3=B1u?= =?utf-8?q?elo?= , Thierry Reding , Jonathan Hunter , Vignesh R , Kamal Dasu , Broadcom internal kernel review list , Florian Fainelli , Wolfram Sang , Chris Brandt , Maxime Coquelin , Alexandre Torgue , Geert Uytterhoeven , Magnus Damm , Pierre-Yves MORDRET Cc: linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, chrome-platform@lists.linux.dev, linux-tegra@vger.kernel.org, Krzysztof Kozlowski , linux-omap@vger.kernel.org, Kamal Dasu , linux-renesas-soc@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, stable@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=952; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=u46DXMnnV+4LGWHLSY0HJbWET1X6kq31L8FmQvAWJfo=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmdBPfKTxkgSWFS16ttNrSkHVD+KfF9UARnuiYo p/Rg1/qfC2JAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZnQT3wAKCRDBN2bmhouD 1zFeEACRB+3buIVB42wep9GrsWRJvPAbGfU1NiSOwOWMl4acBsi/Ae7Sgi5W0g2LptUCrzkfkGQ xUD/SXSg8YfnX4nS43j8v+T6sdKojb/YDnwydeU4dcZ3QiXwDOFXKUYBhD1fDg+H8nj/Bf0ONL8 5ACzYaz7KG+UibU9qrO38oQZRUGnnaQZziZ5PPDbdhKmJJMR17dJm+j5b95yf1vddig+6q3EXyB 3Pe15ZkAttWaqygCI9BzVdJtRI+fLyuZyRElgrKPHFiRUZ8CCQraImgzLMPAiImujpgWBw6S3gk aQ7agZgAsbtcx5zTS6OkpIjqKfTWoiJ2mLhllJ9K7NsaD30I3b7zZcx8xdf1RgWVcites4dLQ/h MrDNwXUxJ9+OCngyaGTvvk7S9Ue5pkucYk3Xkh3sqgGmko1AnAHHJbj9/4OEf6yDuMqerFsa+up iXraRVe4ss1L9zvciJRhJ5/GAFq8b+9wNKpOaQJ5E/iwdSQP6GwGQpG0EbGqavil/1deI6DnXYq ojQlij3BgC/stXMg4mA/56o/2yDjIKup6nrl+lUWebS9+DV96Mnmw+eb8KxRc5df6fogfVBRT3p bjtUkCU/fR5+IQyJkhrqTIcDZsveUV/E3H7/oiFIk/ShvLXbcGQuuBd/y1ug0McV5mw9W+gKcmu 3xrSukroiOeO5GQ== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B The referenced i2c-controller.yaml schema is provided by dtschema package (outside of Linux kernel), so use full path to reference it. Cc: Fixes: 7ea75dd386be ("dt-bindings: i2c: convert i2c-at91 to json-schema") Signed-off-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/i2c/atmel,at91sam-i2c.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/i2c/atmel,at91sam-i2c.yaml b/Documentation/devicetree/bindings/i2c/atmel,at91sam-i2c.yaml index b1c13bab2472..b2d19cfb87ad 100644 --- a/Documentation/devicetree/bindings/i2c/atmel,at91sam-i2c.yaml +++ b/Documentation/devicetree/bindings/i2c/atmel,at91sam-i2c.yaml @@ -77,7 +77,7 @@ required: - clocks allOf: - - $ref: i2c-controller.yaml + - $ref: /schemas/i2c/i2c-controller.yaml# - if: properties: compatible: From patchwork Thu Jun 20 11:34:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13705215 Received: from mail-lj1-f170.google.com (mail-lj1-f170.google.com [209.85.208.170]) (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 BA49E1ABCDB for ; Thu, 20 Jun 2024 11:35:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.170 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718883312; cv=none; b=TauDdOs7DxslysjyQ57cf7XKgczUBgPZs/eW5rBP4Pm4TDAzWY0BsEsAn40M6seCz3gaJokXcyjozDYxSn/kdEiNa8FHbB8RDHyQas7ObAG0stNgZkHTcJS99DfW+mKyqWjJ7Sl3Epf29FpFxMcOrejRaRgmjYlfaJakQa1t3AI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718883312; c=relaxed/simple; bh=oOZv8tGbYc82cA/I5ucBrkQYLVo4QrwMB1ASBg/dOCU=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Qd+hdILPteOE4g/Z4N+efvot2YeR49ebER+o/cJNyzpeMKsxeXSMJhT6wiaHKlys31f5TdpTRR76eHxf8sjDZ5LW3j1NVUPHBXDihJvDDaoGl/JF5wB0qICnrUaK2pp4qaHSwTlWQ+TeaJwo5LMJ3dhrjQRDNi/3LMdgsB2FsIk= 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=Q9ARJMPs; arc=none smtp.client-ip=209.85.208.170 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="Q9ARJMPs" Received: by mail-lj1-f170.google.com with SMTP id 38308e7fff4ca-2ec1620a956so8202531fa.1 for ; Thu, 20 Jun 2024 04:35:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1718883309; x=1719488109; darn=lists.linux.dev; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=ucm5uoyXbWeiBfyorFJ2TTmyVLZllZQAufxu5LXpC9s=; b=Q9ARJMPslJrJVVMzl7Y23WcL+iNKfhGk+bqigZU8iSnA/L2arkFmlzDgGeGd/Q+tdV yGvUU7LjaNSKu/85eN+PFb5hvWRVl1wVaumt1UpHWt0VqDLwxfxqp8xKnTqIf58nAlWD cNreBwxtgbI9ITrEeii07hHdBEtRpWETlLvmR4T92P1ZGHsjK3C4zHx+WLi0WTOSYJZC TtMA+2SV8vzqZKxBb3fAiDLB1mlRU38/zbq/IhB5Nc+j/MK418CYophnzSVcTh4sPhcq QMbiAt3O1YLZJsmtagkSQ2u4jGYZMQnQtb/UpAysxCz8J6gsy+B7PCnjDTJTAq1s7i7D KjBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718883309; x=1719488109; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ucm5uoyXbWeiBfyorFJ2TTmyVLZllZQAufxu5LXpC9s=; b=LM49cbviKmVct8Hy977YCZgNgNizKd5F5JyiveTF7qmx2++f58pIAO4J2b0J5607Ez RmLaqvhgdlP+xbfTvBBJvg0ljP1ano3JdI+uhSR8KItnPqmwfttW5GhlV6zATMNHve2M Vqz7bcLqXV4bAA136h86+JjW+3+J8Z8KI6LfS3RwbKNVSeC125et2KpUogjtiRTyTjtX UyS5HO/IIvXRlgQ000x9WPlQ5M5tX3CDrAxPXncLHNuVrNB3QYsfcjuB5snPkvtHVrqp HZqpYOcc5xG9ZQWCFpRIsf2qkqk8IDXhZvCXB8dkZjXWeu8zfDKtzhBkmkmvyBMoyXyz JLzQ== X-Forwarded-Encrypted: i=1; AJvYcCWRWOstEUDG0Cz2PxJzXiHFLtZPQ0FynkeB/Qbm+Hk0OXLM7no8XYrwR/XkAxWLnIgQMcN//jYT6wyiRO47ELHa/cNPBHjsk2dhqLfnNABk X-Gm-Message-State: AOJu0YwRh9OxqBoPqhIfthGgLMFLXFKOqXTUFRHrVVyAcWuv9/FFE4WM 0qT3nLWsEZqPg0LGW3d5gp76gsoaJOlj5RlvqtVrB6O3NGsnHsKQmcfI1KnFF4w= X-Google-Smtp-Source: AGHT+IGCiIDIoYSisVXo+ZB+zS0aVSEEsBqiNcTjA1lAiqVyjloGPunGlLuMfIiyiuCdUmat3EsNeg== X-Received: by 2002:a2e:2c1a:0:b0:2ec:1dee:4a2c with SMTP id 38308e7fff4ca-2ec3cfe5a34mr31845791fa.32.1718883308821; Thu, 20 Jun 2024 04:35:08 -0700 (PDT) Received: from [127.0.1.1] ([178.197.219.137]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42471e6623fsm49708985e9.1.2024.06.20.04.35.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Jun 2024 04:35:08 -0700 (PDT) From: Krzysztof Kozlowski Date: Thu, 20 Jun 2024 13:34:50 +0200 Subject: [PATCH 2/7] dt-bindings: i2c: google,cros-ec-i2c-tunnel: correct path to i2c-controller schema Precedence: bulk X-Mailing-List: chrome-platform@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240620-dt-bindings-i2c-clean-v1-2-3a1016a95f9d@linaro.org> References: <20240620-dt-bindings-i2c-clean-v1-0-3a1016a95f9d@linaro.org> In-Reply-To: <20240620-dt-bindings-i2c-clean-v1-0-3a1016a95f9d@linaro.org> To: Andi Shyti , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Nicolas Ferre , Alexandre Belloni , Claudiu Beznea , Sergiu Moga , Benson Leung , Guenter Roeck , Doug Anderson , Enric Balletbo i Serra , =?utf-8?q?Ricardo_Ca=C3=B1u?= =?utf-8?q?elo?= , Thierry Reding , Jonathan Hunter , Vignesh R , Kamal Dasu , Broadcom internal kernel review list , Florian Fainelli , Wolfram Sang , Chris Brandt , Maxime Coquelin , Alexandre Torgue , Geert Uytterhoeven , Magnus Damm , Pierre-Yves MORDRET Cc: linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, chrome-platform@lists.linux.dev, linux-tegra@vger.kernel.org, Krzysztof Kozlowski , linux-omap@vger.kernel.org, Kamal Dasu , linux-renesas-soc@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, stable@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1022; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=oOZv8tGbYc82cA/I5ucBrkQYLVo4QrwMB1ASBg/dOCU=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmdBPgSEMSR1DQFgpOr4nndNuYpTz1w8LwEmDS4 0mTKxKxfwyJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZnQT4AAKCRDBN2bmhouD 13PCEACPHog1fCP0NY2sMndBJdes0p4yAslPX9rTELMCOS5n5DPp637Do0m7jFjPFSaIDm3iPvs RksgCvs1gc6UMZtaL5lq02z8khB+ZrIyy2eNWUKoEKOTHkGqoNyiup6iyvZ5IPCl79R3Uu2Vuyc WgpJF7yIUkSWoLj+eqqrsiJK1rmDQu/H6QySDOa34JPLbE4e6oEgRVgl7+4sGvuu/OwFTILGYTd 1De+1y75qaSe/BtA3H2EOfD39VJB4vDmRLnoDqWPd5BM0gQ+hApp5SwfTWYfFhrTsx2BUxpFfdp Rm/GKg61tGmvzgRIiyKvxv+jmYlEOjPQk2KAukH2uuIhZOrLGTCFgLYypk6phoJKezXfYIa9CIY Z/xaQDuglH6wtkcFVjWu94Jp3QurgG/mn4/TtKFPRjvWTcJzt/AaWQ3wDNlXuombZYuyrOvqCRj BPKybgVc6k88Av0AK9GbgcKqpzL1aJzk+3OsDcupIf9v2gyKLnCh63r/ruXQgE/tZDtwxY6IvmK 1hicnz637diRzjdPPurY0OMN91Rl8uv67j7Xi5yJexUmFE7yZHRYQ+pn09lY/lXqBKYoTYnCHJp 7/cj8xOfunNb24z4rm29nnaJ60CpvQc1a63gaQQ2q/8YnetFezeHwhYpyNHUUG9lv259BdHD+e3 WsXEUhMwdoS6FpA== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B The referenced i2c-controller.yaml schema is provided by dtschema package (outside of Linux kernel), so use full path to reference it. Cc: Fixes: 1acd4577a66f ("dt-bindings: i2c: convert i2c-cros-ec-tunnel to json-schema") Signed-off-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/i2c/google,cros-ec-i2c-tunnel.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/i2c/google,cros-ec-i2c-tunnel.yaml b/Documentation/devicetree/bindings/i2c/google,cros-ec-i2c-tunnel.yaml index ab151c9db219..580003cdfff5 100644 --- a/Documentation/devicetree/bindings/i2c/google,cros-ec-i2c-tunnel.yaml +++ b/Documentation/devicetree/bindings/i2c/google,cros-ec-i2c-tunnel.yaml @@ -21,7 +21,7 @@ description: | google,cros-ec-spi or google,cros-ec-i2c. allOf: - - $ref: i2c-controller.yaml# + - $ref: /schemas/i2c/i2c-controller.yaml# properties: compatible: From patchwork Thu Jun 20 11:34:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13705216 Received: from mail-lf1-f52.google.com (mail-lf1-f52.google.com [209.85.167.52]) (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 030641AC43B for ; Thu, 20 Jun 2024 11:35:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.52 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718883315; cv=none; b=AIsvMH4EQ1p9EiLf0l656M6MGU9JTlqTEHMSsnwQ8I/2Oj69yj9TlxW54vp031fRKOngwfLRprinOcQddVbG3+xfUY57cMabje4tegEIJNsds8iphUpSuR485POJUV+SWpnodbPaySkijGQtRyzHAqw6AV6jzAQtxGmqC8425QA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718883315; c=relaxed/simple; bh=VIAAR+9ZzNdiUd9DXoAU508RTOlGXzHJZLY4QqsPl/Q=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=r9tJ/Hbik8ckMMtzkYPeK5qT69ovKvNTec4SPlJJQGCOXNFQrpglBZF6PaA84PA3ZyGEPv71mYi+InRdGS0cGPyWNNXSn2C2crIwLQGDI1bJLDZ3eg/M0uz930WSFzvdzg78ux5uGUWZJaqwg4s1zWPE78CK5KF0pH3aFxT3ZyY= 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=Nem/HgVW; arc=none smtp.client-ip=209.85.167.52 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="Nem/HgVW" Received: by mail-lf1-f52.google.com with SMTP id 2adb3069b0e04-52c84a21c62so872274e87.1 for ; Thu, 20 Jun 2024 04:35:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1718883312; x=1719488112; darn=lists.linux.dev; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=xM531uJKzclciaU1onR3kjOex5SXkuzDDuoHCNY3Hn8=; b=Nem/HgVW439H0KnsTAHqErLW6bWerctEZmn/K5T4bj1tcf+OnBPIqMtxv6l0TsrgFr K2Nat+G2J6CGfHEGWUCFCcIFKZqpyKVtWGJKdD5wNN7mjTxLbzwohaznxydvJ/gc8QCf /YUHs1vJ/YxLYXrTxws2L5kpPfONS7KKfjdsIMwDCBPUd2ilQKpRxIAZj5G5725zDDUI VSBuWghlBmZEVUf+A9b1QiFlnNMZpuA89qxHG3l1eJhFILIS1t9ovEbBaeZXhz6HiqOE 7vZT7oB7O1t05UScD0zKkX1pcbX/FMNpWtmih1z/FuvG+l5FyXeHJJ6CiZQ5DWs5YvZA BRTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718883312; x=1719488112; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=xM531uJKzclciaU1onR3kjOex5SXkuzDDuoHCNY3Hn8=; b=jw0odJvO7lB98U8XmBda21vsvquQu3VIrg2ekHmoW4fibiYjGgP+aW5/LoYEnHCtkz 5qp+PuHdFes3ryMN68OtKO+XXer0fQ8uggX64rCBWTyzQIIteaW+eW64iy9gcbrSqC6M QEC/zQj4AXmBr2XyIZlWVaVMQPaQdhOaYmgJNB4NZCSpcwypzKeS0Cg550/Hkz3IrbLF N2VL+1egjOn2mqZUx2kfEttVgd1FY4G9q5ahs9RCoROlfVYsP18Qf7s6r6O2bhlEDHes QmDIcK+QwsoBftkPuTbsNVMR9+XuCjxWpIP5F2mrw7zFx/9ZpbBzv+75yAn/jm0Y0r9l WGdA== X-Forwarded-Encrypted: i=1; AJvYcCWe645/53YZ/ozCVQq8wODnsPLlE8sIWUVsctN+gdl0Qb0V0sr4OSgyNnnwNvxC4c+4uiff1lFoYlGS5DmH8rU1FMGkDMNx10dQvoxsvJCo X-Gm-Message-State: AOJu0YzDbtUlAWRBqLefkZJRYKEZBIS6B2so1T1BANkUkGcBBKRyLXrW USmxFZMWlnqD/09U3106ObPTzABd1ETd8443SX4PFVyAQjf7nSTMOwo7TT8c+uw= X-Google-Smtp-Source: AGHT+IHN5p1ZhBCkLLOHlujYFLWxyfZ388elBT4mBsOwQE+cyOCwyUR/18lU0uOjM07vFGaliodC2A== X-Received: by 2002:ac2:5974:0:b0:52c:8009:e0cb with SMTP id 2adb3069b0e04-52ccaa62705mr3195772e87.41.1718883311328; Thu, 20 Jun 2024 04:35:11 -0700 (PDT) Received: from [127.0.1.1] ([178.197.219.137]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42471e6623fsm49708985e9.1.2024.06.20.04.35.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Jun 2024 04:35:10 -0700 (PDT) From: Krzysztof Kozlowski Date: Thu, 20 Jun 2024 13:34:51 +0200 Subject: [PATCH 3/7] dt-bindings: i2c: atmel,at91sam: drop unneeded address/size-cells Precedence: bulk X-Mailing-List: chrome-platform@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240620-dt-bindings-i2c-clean-v1-3-3a1016a95f9d@linaro.org> References: <20240620-dt-bindings-i2c-clean-v1-0-3a1016a95f9d@linaro.org> In-Reply-To: <20240620-dt-bindings-i2c-clean-v1-0-3a1016a95f9d@linaro.org> To: Andi Shyti , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Nicolas Ferre , Alexandre Belloni , Claudiu Beznea , Sergiu Moga , Benson Leung , Guenter Roeck , Doug Anderson , Enric Balletbo i Serra , =?utf-8?q?Ricardo_Ca=C3=B1u?= =?utf-8?q?elo?= , Thierry Reding , Jonathan Hunter , Vignesh R , Kamal Dasu , Broadcom internal kernel review list , Florian Fainelli , Wolfram Sang , Chris Brandt , Maxime Coquelin , Alexandre Torgue , Geert Uytterhoeven , Magnus Damm , Pierre-Yves MORDRET Cc: linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, chrome-platform@lists.linux.dev, linux-tegra@vger.kernel.org, Krzysztof Kozlowski , linux-omap@vger.kernel.org, Kamal Dasu , linux-renesas-soc@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1154; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=VIAAR+9ZzNdiUd9DXoAU508RTOlGXzHJZLY4QqsPl/Q=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmdBPgL4PDnH6nsfCQcGgJAY5MlNNW76Ds1lu5y OPz6nu6bhuJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZnQT4AAKCRDBN2bmhouD 14QyD/9IW4X9J32ciR8sJIyc1S/ErJP2y4Ut7YRY30iCO0p0sVYpL+voJZxZwR4SWhHXbIDj1MW 4Ugj3M8nl1A2hWMzkv1OHWiBKD1kwljUwJTN9xnA+LywlE/t8QthKvVNMhHoeuYgHJf/pl0+UDS u17iyCx48aBjMd4RU7ov5Vro99N0ZWSOsEYUja9hj/YaX549X++4U8KGUDkmprAoqkV2yx0zlUK ulC1CBzolDDdimVmrToG8wElBIn4zhxPg+mfYV6434DdwuGvCSfHIHqaE/pFQ9/jNZqOAdVUuBZ ktFHWj+AAL7MpekoL26H43StDHEfwnsGHinZ9sfn7EZftE9GqEGftoI7+tmXTPcv9LbVKPsdQrQ FWWch6WWj52ChOeZXOo3iCVxIuOA9LIAhz0vU2zo2kcDpmW2f5Vl+vJf/ljJExxuEyjjW9i4iBQ 8DwEA43O+Ck5HwYROJsUalOde0DRyy7DLfj9o9oJsd1csbNHx6nTn6ibc8xXAH3ssdSVmLDkZ/v To/ESiX0sOgECYD8M93I8s0/XFfqZ3Vc2/ss+WYu54j1xcx0ioKkxO5qtABKMWHGQHBekxyKYjZ fR/FXSpokYqtkLm6Pwx9zoZwfWe1tHfcnh5rtmHa7xeamqS3Hi8v02dUX91kfQAIPmNjKC6c4rV +UTW99U9R3cDwzQ== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B The reference i2c-controller.yaml already defines 'address-cells' and 'size-cells', so drop them from list of properties. Drop them as well from required properties, even though i2c-controller.yaml does not require them, because I2C controller could be enabled without any children in DTS for user-space usage. Signed-off-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/i2c/atmel,at91sam-i2c.yaml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Documentation/devicetree/bindings/i2c/atmel,at91sam-i2c.yaml b/Documentation/devicetree/bindings/i2c/atmel,at91sam-i2c.yaml index b2d19cfb87ad..588478862bd1 100644 --- a/Documentation/devicetree/bindings/i2c/atmel,at91sam-i2c.yaml +++ b/Documentation/devicetree/bindings/i2c/atmel,at91sam-i2c.yaml @@ -36,12 +36,6 @@ properties: interrupts: maxItems: 1 - "#address-cells": - const: 1 - - "#size-cells": - const: 0 - clocks: maxItems: 1 @@ -72,8 +66,6 @@ required: - compatible - reg - interrupts - - "#address-cells" - - "#size-cells" - clocks allOf: From patchwork Thu Jun 20 11:34:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13705217 Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com [209.85.128.41]) (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 56A971AC76F for ; Thu, 20 Jun 2024 11:35:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.41 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718883318; cv=none; b=VlWFLq4+rU71utbB1/XhmL74D83PZUw98F4SVjcZpw7tE5gtAMOgCcv91EtFCC9YxVVfMkN332XbpCJxA5Sb4CmipmJxHDqJrC7rEfmopZHy1kzdIEatdtMTquAPb2nCHdECruP/WSPZw8Nj3ZsujiKuZdBRzwkadPtE0qUxE1U= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718883318; c=relaxed/simple; bh=rVL5TZdNAPCclrb5nE/XztIDuSnB+tAbeOBu2bqcECw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=YcFjbWJYaM6Eoo1ee4xEjIgEQN0XlD31f42QNKo6noCVRFP2HlQ/yu5II3cFBP5KhYrtVR/tUXPfVRJz0WYoWap/nNXtyBQJvKpk7/CmXEKtQGW/Uq1+R59nIs0deeowmieprOhzrkfgNKdOMNaRFkHl/cHVt8P0KuSk6lpAKSM= 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=wYAxEaLU; arc=none smtp.client-ip=209.85.128.41 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="wYAxEaLU" Received: by mail-wm1-f41.google.com with SMTP id 5b1f17b1804b1-42179dafd6bso11902445e9.0 for ; Thu, 20 Jun 2024 04:35:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1718883315; x=1719488115; darn=lists.linux.dev; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=vwhUYUm1LCcouMp8HtttE3x8uGAo7twu336vKpgolWc=; b=wYAxEaLUgtolKB+8SOIgtoePkT/yBgPp7CD/buyWSYbj3E4BbDRFH4XyhOusQ9/7x1 D8v3kv+3Drb/sZIV7uwtOuUWgIIvFGU5gNLL3JtLs7Vc4arrPJ5rdE6KJ8yj7StF8fzz U3wcnlgpv2nP6RGjy6hrxHMmBLB9MZIvamceQKal5/v3FvTifq0KNThTNIm0UhPlyxN6 mU99Ut3axaZjjYkCMeJLn6RJvlwWP3OAlIOhvb1rOu3p1gdKJOKTcHUlXJQuW7CYvpe/ sa6TJj4QmhpPygZaF+GZ03/gjE2wsvlUj+0RfW59LFSkUhI6g91Js6N8wrOTaFIyzKSC 8oUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718883315; x=1719488115; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=vwhUYUm1LCcouMp8HtttE3x8uGAo7twu336vKpgolWc=; b=ZdH4MYzwgvP9hsUmMycU0Cjz9vrc+lh0WZ+lxKvUzBgGDAJKiEisg6S7b+tSmc0mT1 iAlI5j0elGXOP3wOTSm9Ia0eCcZG9eFO1Nr0/DKR0e8Idq++D9YErfNBlCJZHsZQQPvl VgeEHBfgDqQIUGw7/nDfrSmmBleDP9qzCvBlIPKNswX30C8Q4IPl9a5dHVD7zZdvtIoj n9rTsm5o2LtA2UG591IIDxmDyKd8Sa+oiUHHh8wpipp3bfMZ/nJ7vNj+OHO7j9DJ74HG 6ExK91Ia3Gs8olXhpB5fNKDOmqjO+f59nA+fo+RXoHQwlNfIPNhbJYpEHoHC5iN8mypM TNMA== X-Forwarded-Encrypted: i=1; AJvYcCXurI4M5g7fEIxEOieRHbUyW+TA0JZKqWYp2epXc9QhO3ZSi+po3+0Rba1uWtgc/qRpE1NxDoDsTKeN/UhiGHDWpnr2kD46qaj9qHD4bpY8 X-Gm-Message-State: AOJu0YwBr9oHFZv1VCj+u2RlF162JrtE08JAHLlAfbUQ41yTQrKUDjiJ oswT7axSvcJc+3fDnXuUwbctQ2j6P8Mp1hQHOYOpgzj3emPvr//fAiV3Z2Tmm3g= X-Google-Smtp-Source: AGHT+IGi5yGLp+acd2pIdKmRbWvISb3mjF6HWkCd3+3m9OrI9Xm2zm7H3RAJLTnEbn4GReVJ1cf5AQ== X-Received: by 2002:a05:600c:3587:b0:421:661d:89d6 with SMTP id 5b1f17b1804b1-42474d34551mr54893695e9.14.1718883314652; Thu, 20 Jun 2024 04:35:14 -0700 (PDT) Received: from [127.0.1.1] ([178.197.219.137]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42471e6623fsm49708985e9.1.2024.06.20.04.35.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Jun 2024 04:35:14 -0700 (PDT) From: Krzysztof Kozlowski Date: Thu, 20 Jun 2024 13:34:52 +0200 Subject: [PATCH 4/7] dt-bindings: i2c: nvidia,tegra20: drop unneeded address/size-cells Precedence: bulk X-Mailing-List: chrome-platform@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240620-dt-bindings-i2c-clean-v1-4-3a1016a95f9d@linaro.org> References: <20240620-dt-bindings-i2c-clean-v1-0-3a1016a95f9d@linaro.org> In-Reply-To: <20240620-dt-bindings-i2c-clean-v1-0-3a1016a95f9d@linaro.org> To: Andi Shyti , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Nicolas Ferre , Alexandre Belloni , Claudiu Beznea , Sergiu Moga , Benson Leung , Guenter Roeck , Doug Anderson , Enric Balletbo i Serra , =?utf-8?q?Ricardo_Ca=C3=B1u?= =?utf-8?q?elo?= , Thierry Reding , Jonathan Hunter , Vignesh R , Kamal Dasu , Broadcom internal kernel review list , Florian Fainelli , Wolfram Sang , Chris Brandt , Maxime Coquelin , Alexandre Torgue , Geert Uytterhoeven , Magnus Damm , Pierre-Yves MORDRET Cc: linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, chrome-platform@lists.linux.dev, linux-tegra@vger.kernel.org, Krzysztof Kozlowski , linux-omap@vger.kernel.org, Kamal Dasu , linux-renesas-soc@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=838; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=rVL5TZdNAPCclrb5nE/XztIDuSnB+tAbeOBu2bqcECw=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmdBPhjRGCc4lUC0U2O07I7kHcdltVj1nTGFgwC sahQvJaFr+JAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZnQT4QAKCRDBN2bmhouD 12X5D/4yRWWhLEtJEV2feHXZffzW+59NtR0n+V00C033mlHpgQOTkhIS6zxDZ9Ih4FxyzLDj7YK O2It2+JIbRxDrecf85UGoK+tTE0FzqCP7d69y+m/UzIgFRP2pNU0NPWnfOBBzxiiML3umIdULgJ +dUK1G/T9q3fKI37S6r9tgcToya4zy9hc+u3epP3GNDyzSV5a+zu8I/8ixl5sUmVQZktup9m7ne z+77q551bwrbrlt827awh4P92x4TUFZf6kmjmFhbOBQmPiRClZrCaVXMRNxCWmegmRhu4jrE+wi fP0Rn7GayfdZGnB1saS8C0pk7HeZ9TdsdJLwKd59SrfIj35el2+XJNIG8F61/70oGd3/inIk2lu TdWGlqbT9KY8akeyN91YjW2iJPDpW2E8MjuzpDtMPHhN/NNZ7i5NTOSa/k61K51GA0CapxzmSKR hnrfwBfEL8hx49L/5etkLgTSv7P1lGG3ciAYf5qtvIWqTCFLpQycfuw8MP/WRBpQYf05igbxknN WFLaqzmm/h4jcIhixhvwXQg7HkX8gYQJaSFp2+HGzgQnWD0QR3S1Iv7d2kGSPJx5EWn/TvO5CIK byiD4qhrGyvTGswfSZ9mK6OWmGtpFqGSnH25fmndDM1KCre0xxbt0qUE4AZ5NJwTHLfOcqfxDBJ HPsn8SEE1+PLGag== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B The reference i2c-controller.yaml already defines 'address-cells' and 'size-cells', so drop them from list of properties. Signed-off-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/i2c/nvidia,tegra20-i2c.yaml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Documentation/devicetree/bindings/i2c/nvidia,tegra20-i2c.yaml b/Documentation/devicetree/bindings/i2c/nvidia,tegra20-i2c.yaml index 424a4fc218b6..92fbc1a2671a 100644 --- a/Documentation/devicetree/bindings/i2c/nvidia,tegra20-i2c.yaml +++ b/Documentation/devicetree/bindings/i2c/nvidia,tegra20-i2c.yaml @@ -87,12 +87,6 @@ properties: interrupts: maxItems: 1 - '#address-cells': - const: 1 - - '#size-cells': - const: 0 - clocks: minItems: 1 maxItems: 2 From patchwork Thu Jun 20 11:34:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13705218 Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com [209.85.128.43]) (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 AAB701AC78E for ; Thu, 20 Jun 2024 11:35:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.43 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718883321; cv=none; b=jIOW5XjtZrnJ4Gu5bWBiwFZu1Qd2dqS3vS7TGPCG/tdh8Hp/0M/gAw2HfD8wV+I9+okNRQqCYL+EZpOvoHbmZcYhkoqcLgh8NX5FRmDcs6OggXwgOP6U6PdY0Tr66as1nDSN94XydxeTyjz0hI1w0cKf7SRrcIM3WEOxDYEpUgg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718883321; c=relaxed/simple; bh=zPPCGCpVrPzpnwGMQ8MGX8wE9ElLtDgEtXc1fM6D7sg=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=J+xY9WsY5GF3cSFCuRwfcDyAQ4uJ+SSsMvf67W0kFJTKvX1fKkt6AKz3+cLK4F81zELSEcljWSfP9L3EEtQngtU/6H/AvDt7bxUH35cOowpPA7jzM6Lisk2OP3vBYZOf2PF6T7V0bIa20ncgiEJVExckSo0YKtGmdjlyJjEzkIA= 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=THsCLlkM; arc=none smtp.client-ip=209.85.128.43 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="THsCLlkM" Received: by mail-wm1-f43.google.com with SMTP id 5b1f17b1804b1-42179dafd6bso11902715e9.0 for ; Thu, 20 Jun 2024 04:35:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1718883317; x=1719488117; darn=lists.linux.dev; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=fk1qcrUS7VR6uiv3rXSOo78BTaK4F+eyz6aHAa6MhHk=; b=THsCLlkMoumxyGA8C1r9fpgrjvcaGuLN/wHmiyvKcRQs7wgF1y8vXUrrwp32Lr1DYJ tJI4Y+SPDRlZgE3h5/TprvtAO6SgPQPvOaGkQ8ReCOodGZjms9gjPk1vmethJR/SFYZJ dRklm4SsFgC4aEHNJMXA0XsZLnKO2SVz/UTjsY59461gFrNtlmj3dvs/mtI56SdbOhHV rJ1GySjdJZ5Xt+jwE2OVYIlSXMpnNdlausVbONCBpG5NhGPXKSIVSuFN4STEHRhyPL/g ih5ws73invDR0qVXIJUSEYeGrBQBxnSrm+apFaVhM5HW/drKX8Ikc87JsrM9ffc+fwDx bD1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718883317; x=1719488117; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=fk1qcrUS7VR6uiv3rXSOo78BTaK4F+eyz6aHAa6MhHk=; b=YURMlVbazS55e4GYxKTWafvtT+5moBK97KkN7uqGe8UdIb+pimxiY1MiDI2P1Bl45C lO+hMpCnwwXznzCwy1kCfwZxGaRlCw14hs23D+jFNH5LP9AaA6HBLTyXlDEa6tCEjAfi LFUj2HuIccMh2kZEtk+ePztPr6smvC5YCTq6Da/g8rn5ZcijxY1GPdTI4PNbW9tuuVZS 57Wrte/1KOU4+ZjBdWTtc5x1KksQo94x1po7W55gU5Js3fVTXq7FBdjdBzRD+Om+lajm HBrsl3Ozs1cO9PEbWbayzgcWtes2W5okDxc3JMhnokP+v2o5PmZ2O7FXL5EBaWHpoRfh gcYA== X-Forwarded-Encrypted: i=1; AJvYcCWv4Bwi8PKNesdWb0NOKosy1UPPOzoqoljnZp3F7ELNcAG0hT/E7j3uKVBbiv+BST7cgrazNncAe+UjaqIJ/6C5zGKQ7h0YveSIXbK7R6Ej X-Gm-Message-State: AOJu0YzhQ66GBjDy6p0GMQRNyPMmd/iXtIQYBgo5nqUcyANCd38h6xgT paRZxS2y7dHWZV6VHRUuZXpmpHd0k5/78SX0Hdlnm7jXg4dBvj10+alE2z9x47o= X-Google-Smtp-Source: AGHT+IGMJUumhVd5zXX1rZU2J+BofHfd7fe0MAIVGxolusk6jZTAFq1NMKscErXYaaG68fe04/BU0g== X-Received: by 2002:a05:600c:787:b0:421:8179:6127 with SMTP id 5b1f17b1804b1-42474d41065mr43498665e9.20.1718883317066; Thu, 20 Jun 2024 04:35:17 -0700 (PDT) Received: from [127.0.1.1] ([178.197.219.137]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42471e6623fsm49708985e9.1.2024.06.20.04.35.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Jun 2024 04:35:16 -0700 (PDT) From: Krzysztof Kozlowski Date: Thu, 20 Jun 2024 13:34:53 +0200 Subject: [PATCH 5/7] dt-bindings: i2c: samsung,s3c2410: drop unneeded address/size-cells Precedence: bulk X-Mailing-List: chrome-platform@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240620-dt-bindings-i2c-clean-v1-5-3a1016a95f9d@linaro.org> References: <20240620-dt-bindings-i2c-clean-v1-0-3a1016a95f9d@linaro.org> In-Reply-To: <20240620-dt-bindings-i2c-clean-v1-0-3a1016a95f9d@linaro.org> To: Andi Shyti , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Nicolas Ferre , Alexandre Belloni , Claudiu Beznea , Sergiu Moga , Benson Leung , Guenter Roeck , Doug Anderson , Enric Balletbo i Serra , =?utf-8?q?Ricardo_Ca=C3=B1u?= =?utf-8?q?elo?= , Thierry Reding , Jonathan Hunter , Vignesh R , Kamal Dasu , Broadcom internal kernel review list , Florian Fainelli , Wolfram Sang , Chris Brandt , Maxime Coquelin , Alexandre Torgue , Geert Uytterhoeven , Magnus Damm , Pierre-Yves MORDRET Cc: linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, chrome-platform@lists.linux.dev, linux-tegra@vger.kernel.org, Krzysztof Kozlowski , linux-omap@vger.kernel.org, Kamal Dasu , linux-renesas-soc@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1074; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=zPPCGCpVrPzpnwGMQ8MGX8wE9ElLtDgEtXc1fM6D7sg=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmdBPi8sMmfgAT+DLum6aX4eAJT720TZZUkgMYw dBmfI6bvhyJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZnQT4gAKCRDBN2bmhouD 1+1zD/9KzXHoic8Js9IUevJUSUE5qw0ydGDkJYZhaxsct+uBZoLdqQn/whX6ZYyfBFgZ7o8weCW z/uL4moE2VBBBYfuHGCyQ9b8c36gL4uV9ejRbYShlKCl/52gH52I0+TEJ4p7+94ez47mPJi7uXo I7mz+pEIhzb0Rp9eltBnyTfZw4CF6G6Ly+R5egovOIwM4oVYMdgsAoo9TQHlrE/y4oFzGmSpZTf wZ/50+rdWr/hWGodiJZSlqWWaVdAvC3SxDTY67//Hjub/2cs6ALiP4v7Xulsx1QHLr7U7s8JTq/ uXr8Sezuzi0p91Qzipa5Nurvs5ZQncV5xL8VZgXAUeClC/+gnqxYJywGSdcCmLV3j/IdiU7y3fs KLcXmrlkHX317BwGXdSJUtmt8uUKXovBI92qdGwmuCR3hx7MPJlVPpA613HrEDC/mai2fYLEpKu aI7SzB+vmya07U34LGOSdSO6uQkuCh7xz+r1rRRzVbXG1ZcO046fMm5ORSXwzEN5mQPHQl/GDpR XcXClw/9IHKj6Eo1W+tfACtgWDPEqIOAFMcxgZL0LTlT8UYNU68n8drTzsA6meXAy9nHLfkUCTL 8B5IPOyaQppDn4T67+uRuvq7EkaQHLcnqvOWaj9tAMnsvQ/Md8kToe1yTrTWBQau2bGEO6+AMoC UAk2iDhLThbpVhw== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B The reference i2c-controller.yaml already defines 'address-cells' and 'size-cells', so drop them from list of properties. Signed-off-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/i2c/samsung,s3c2410-i2c.yaml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Documentation/devicetree/bindings/i2c/samsung,s3c2410-i2c.yaml b/Documentation/devicetree/bindings/i2c/samsung,s3c2410-i2c.yaml index 1303502cf265..bbc568485627 100644 --- a/Documentation/devicetree/bindings/i2c/samsung,s3c2410-i2c.yaml +++ b/Documentation/devicetree/bindings/i2c/samsung,s3c2410-i2c.yaml @@ -26,9 +26,6 @@ properties: - samsung,exynos850-i2c - const: samsung,s3c2440-i2c - '#address-cells': - const: 1 - clocks: maxItems: 1 @@ -73,9 +70,6 @@ properties: $ref: /schemas/types.yaml#/definitions/phandle description: Pandle to syscon used to control the system registers. - '#size-cells': - const: 0 - required: - compatible - reg From patchwork Thu Jun 20 11:34:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13705219 Received: from mail-lj1-f171.google.com (mail-lj1-f171.google.com [209.85.208.171]) (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 213551ACE6D for ; Thu, 20 Jun 2024 11:35:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.171 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718883323; cv=none; b=DuAy9uG4i2fCp2aJD2lMaFAaOpV+8MwFazQs8SMtvtkO/tOCJuWo836VXwnL2sNERHQ5RbMeqHWI3kHq9vsPEbodB7I5F73kW6QS0QNjtfCqsf0RCVWh3YCiSTqAudWYHhcScK5MfK6MJ3mXc5QeuiST0Vg4CnyReT4WHQ+PJfs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718883323; c=relaxed/simple; bh=se0qu2ScDHev5e2u9T2lUYbcxySx/dcEaULZrF/4POM=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=aKlmafCjui+TR2ybqdhrbZ2zgs164ybZfSBSuAGMWYX7Lhj1n3zXT/NJBW0PtPCVpvdjMDErQhUPPtqBQGzqIVM06uI2bK5gsIMltedAZYZSpYosOlZb5Tr/bkkOm8EgCNEeBgE1pwEFktLhrxbhdnoCsu6OeqczhbW5axCw3PU= 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=riWmGFuu; arc=none smtp.client-ip=209.85.208.171 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="riWmGFuu" Received: by mail-lj1-f171.google.com with SMTP id 38308e7fff4ca-2e95a75a90eso7371101fa.2 for ; Thu, 20 Jun 2024 04:35:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1718883319; x=1719488119; darn=lists.linux.dev; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=9RdxrQ5ek7BKyD1Q5GyGk/KJKbJ7uIbq14OZ4VVg0Iw=; b=riWmGFuuLGSgfI+yET4Pc1vJmss+SstL3PBhbnVz5DmLcZ1bv2EBpGVfGnfdhZpjP4 suvi4dMdjmW1HiBvhApwIWZYYDfSseOtibLOp6q+jjkWWUBzCtKb9ih4GuVPSQzJISzD OyYBqvpoTTY+v1GZTf/kZKTig1o1oCQS8ggTMcdaqdfh4nXtubjRHzxWErtgkV1yeagZ PQE8klH7dSkz+SQ/I6m17UnXc9x2N416TtIlTCvbkGZO+VmzFLuxMtTemyVKHf4VLUIB WXA83DYXoISS49IgK6hy25ZkaDoNVoIbK45ncYGByzaYIt8+LUXIYb0Hz6k4FJxcAdAk aABw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718883319; x=1719488119; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=9RdxrQ5ek7BKyD1Q5GyGk/KJKbJ7uIbq14OZ4VVg0Iw=; b=WJAUM/TL1sxd/xo/kL8Pr1cuYGHB6YgGZqaoUjReAKoJlNtDfsZQ2IvUGmpMPofqkV ptQi2kQbZAHvUy+XAZK4ylPj4Z1ikUaST1ZeoQS0srSxlyMgRVvIfqK4EBcRX8Mx5aWf ItNnwCvr6M0Aib/4dkh10E5bHBrr+721j4xdwd/oZHG9Ji7a7aTWuWI3vcl9mUNJ6APk JbljDwOs9puHg6bN6tOL8mnL8HYZnzRUDH/eFVrnXlD3ZQMBSCIxSkerPR3y0w2VilFH OycoimIJ9EQkXq/Tn79y2SkPbq9LmMC6f3Yur040GL69clncZimQ+FotwuR3JBv9DH3C h/5w== X-Forwarded-Encrypted: i=1; AJvYcCWUfiY82MZXJgB/IfkAfFaDATSpcgdFOJPqH2Hc7e9m4I2VCTMb8V4DPDc8cSTg+yu5GI/o5DGrkUsqUF9yVleF20LqAlhZHpYyAdcd84WL X-Gm-Message-State: AOJu0Yy5qUmHz7HfdXy1Ymo7d/SggkwgSTzmTngFaeR3J2P66MA5pJI8 WRUp5p72O7Ak3WMCrj5xioE2t/H3dcGGNDZ6/Ev4BwprrdS5B7SiBSQsAiOhPNM= X-Google-Smtp-Source: AGHT+IFq9QPiqdW/LV2Lp4ipmnGkGcnbeE41LGRET4efCA18VuEBGazMmSwAgyABOsGpRfVB16xuXQ== X-Received: by 2002:a05:6512:32b1:b0:52c:99e5:6880 with SMTP id 2adb3069b0e04-52ccaa36930mr3166877e87.33.1718883319455; Thu, 20 Jun 2024 04:35:19 -0700 (PDT) Received: from [127.0.1.1] ([178.197.219.137]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42471e6623fsm49708985e9.1.2024.06.20.04.35.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Jun 2024 04:35:18 -0700 (PDT) From: Krzysztof Kozlowski Date: Thu, 20 Jun 2024 13:34:54 +0200 Subject: [PATCH 6/7] dt-bindings: i2c: ti,omap4: reference i2c-controller.yaml schema Precedence: bulk X-Mailing-List: chrome-platform@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240620-dt-bindings-i2c-clean-v1-6-3a1016a95f9d@linaro.org> References: <20240620-dt-bindings-i2c-clean-v1-0-3a1016a95f9d@linaro.org> In-Reply-To: <20240620-dt-bindings-i2c-clean-v1-0-3a1016a95f9d@linaro.org> To: Andi Shyti , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Nicolas Ferre , Alexandre Belloni , Claudiu Beznea , Sergiu Moga , Benson Leung , Guenter Roeck , Doug Anderson , Enric Balletbo i Serra , =?utf-8?q?Ricardo_Ca=C3=B1u?= =?utf-8?q?elo?= , Thierry Reding , Jonathan Hunter , Vignesh R , Kamal Dasu , Broadcom internal kernel review list , Florian Fainelli , Wolfram Sang , Chris Brandt , Maxime Coquelin , Alexandre Torgue , Geert Uytterhoeven , Magnus Damm , Pierre-Yves MORDRET Cc: linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, chrome-platform@lists.linux.dev, linux-tegra@vger.kernel.org, Krzysztof Kozlowski , linux-omap@vger.kernel.org, Kamal Dasu , linux-renesas-soc@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2120; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=se0qu2ScDHev5e2u9T2lUYbcxySx/dcEaULZrF/4POM=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmdBPjSq+rIwMEv+nxqFX6eolXOSM2y3OaG46ld hES3qoe0I6JAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZnQT4wAKCRDBN2bmhouD 18ktEACWRnxxzFEN5hoHHubQp9ltuAKuiTii5YSgG71yB9jinAqHGF3jmQZasCvFKp/Y+C6XSE4 7HbfKJqc6iVJUTmJ9IHYa0FDAoP6myAlMkuf4z8mBw8uodhtnA4FPsPAgnKnmpN7CMUkfjsO1IB RfuBQlifdmWFTp2bvqqIwWSNTjROsr8uSHUki+Ww8DgzlsWkQ7HfMzwBy4idLIeUkzNtuRb0Rfq 0QuXu7sAiFPaq4i+V7Z6sDKJckvnHTx5zEpVJv8z2X/D1Z7+jEfByDjXYftdHKCOvK6lWm+qYZc VEtxStj3nxMhPO232xFXoij7eu8UKvrFsDseAZkBU/Vq7GCyyhj8SGDlfTlwG9zQN82lD0W8Xlx HeX/+LtGE2bjCXPKaMPWGMT9t2tdwsmqAbXgcflvypg+KmDe+kg60qizj/VNKa8JsHWPCLaHpxW txJs+EQ+emVa80XM3ga3vvvcum1STbUNjVEDZjuTF3pUGqCyS3IL4fUPjZEXewYueHwtW5RZSTH M4z27wsRgrMUTClUO8SVOrHJykSSLhOHYirJ6JupXaT0ju6kviSTzxtG9cYYcu2JJiB/qzGJT07 3vSZBQyonxBRu0eI7T2ALDo/VeTLqrT166RyOQGK75poPywXVfTIR1nkcED+fABKAkI0znrkI8t 30sKJbP5RtX6h1A== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Reference the core I2C controller schema to properly define common properties. This allows to drop several (now redundant) properties. Signed-off-by: Krzysztof Kozlowski --- .../devicetree/bindings/i2c/ti,omap4-i2c.yaml | 52 +++++++++------------- 1 file changed, 20 insertions(+), 32 deletions(-) diff --git a/Documentation/devicetree/bindings/i2c/ti,omap4-i2c.yaml b/Documentation/devicetree/bindings/i2c/ti,omap4-i2c.yaml index 781108ae1ce3..c9d1030e9857 100644 --- a/Documentation/devicetree/bindings/i2c/ti,omap4-i2c.yaml +++ b/Documentation/devicetree/bindings/i2c/ti,omap4-i2c.yaml @@ -37,16 +37,8 @@ properties: clock-names: const: fck - clock-frequency: true - power-domains: true - "#address-cells": - const: 1 - - "#size-cells": - const: 0 - ti,hwmods: description: Must be "i2c", n being the instance number (1-based). @@ -55,38 +47,34 @@ properties: $ref: /schemas/types.yaml#/definitions/string deprecated: true -# subnode's properties -patternProperties: - "@[0-9a-f]+$": - type: object - description: - Flash device uses the below defined properties in the subnode. - required: - compatible - reg - interrupts -additionalProperties: false +allOf: + - $ref: /schemas/i2c/i2c-controller.yaml# -if: - properties: - compatible: - enum: - - ti,omap2420-i2c - - ti,omap2430-i2c - - ti,omap3-i2c - - ti,omap4-i2c + - if: + properties: + compatible: + enum: + - ti,omap2420-i2c + - ti,omap2430-i2c + - ti,omap3-i2c + - ti,omap4-i2c -then: - properties: - ti,hwmods: - items: - - pattern: "^i2c([1-9])$" + then: + properties: + ti,hwmods: + items: + - pattern: "^i2c([1-9])$" -else: - properties: - ti,hwmods: false + else: + properties: + ti,hwmods: false + +unevaluatedProperties: false examples: - | From patchwork Thu Jun 20 11:34:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13705220 Received: from mail-wr1-f45.google.com (mail-wr1-f45.google.com [209.85.221.45]) (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 6D3D31ACE98 for ; Thu, 20 Jun 2024 11:35:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.45 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718883325; cv=none; b=c/g2ZiiZzyR9xH/hhyhf5spusqgx5G4WSWiC+OHBE7HzBrEzNKS8Io9bjEhaiHnOW0PYzqngvUDukakRrNGlTZ+4VLdNtFtUVE7LT6vjfe+YkVqJoMRL6Z7wj3coyCmOvRd6f4jWwNIB9kGfNMbJVRgm0iWYgeXTqT5xgCAXMEc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718883325; c=relaxed/simple; bh=Siv8V0Nn9CGvuerqMXS4Ni1veQBMZhGjgdRiTq9SAcI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=LwdAtZbCP6lET49ZEFFRH0mOwd3jyPaNSd4KU4ePZUTBNJSYTbJ/6Xi1AEQs7hurhHxfUNsTPQ2OlhEoCbrW+pkxi7rZ/nHh82GtVtYEBPNVthA4N8oqAvQxRlbVupcAwg5wz7iyLqRl0XAKkPGIOpVIeARnmcElt9PgKaVAQME= 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=aJZXInGQ; arc=none smtp.client-ip=209.85.221.45 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="aJZXInGQ" Received: by mail-wr1-f45.google.com with SMTP id ffacd0b85a97d-3632a6437d7so483646f8f.0 for ; Thu, 20 Jun 2024 04:35:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1718883322; x=1719488122; darn=lists.linux.dev; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=5OVGzPb2T54n84UG0w5VuP9rB69Akm5GdGCvEoQqRbw=; b=aJZXInGQe7DUuIUn2RawQGtoi53mF2+BDfg4fpN6M/aCthiRMh9RIJi0kD9zFyh7mV VDL9AtHGGjc18ux8sZJm7SfpGOfdOc3BovNVF13wvgxXU5uVI+0BYlxyjpNYE9GlPQJg 5wxlqh85QTmWfGShHvKsFT9BHdieHHEyeM5EiD6hS2UWVuMo4V26kiinZSFfk5yeEgpO fy8Q3jsyo7dYk10VsjLWtWjJxh3VYgonBqQCkCR0kDdcVwLJvnn4eu4fdfE6GXgOpMDl SaejjAxtH8qpKvo1Ao2LVfUqUfS2iGqmxQfJab4cV+/5CKjkjl3pPcJiWXiY79bBozPp aN1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718883322; x=1719488122; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=5OVGzPb2T54n84UG0w5VuP9rB69Akm5GdGCvEoQqRbw=; b=HlRLZWMyJ/9AQH6ujCHGgk8QR6XVFB8MYmFmLsQGWWKlvU6dBfbnbCRsG8cWF23YBE W9WWbieiZYNepCRGSWhxApwqGuJ+ZaZxKxycZ4zAHPablSBr3M28ZxJQuLAd04DPUFy7 t0wTOkvAVGLkKxiMrW9u7i09Orp7BUJfNyELfI56HZjSEiCWiexdzTcmy6LvFTUUHaYq lEt7hAro4D3J8WD3ydKP500O0vIPCXf1+ePm/6+vPpcmPkfxHoQB8Fm0s/956LCDVO/w YQuUE0guuu08b9bU9w4zAezOdK3ETVoIYuoZnPEPxhLF8tVxBGg4NY5eTq7IDnp0zN80 1DTw== X-Forwarded-Encrypted: i=1; AJvYcCUtvRCGtP3A6iK1XoFQ6AcWjZB4TYmM1jzePQh5V8MFUI9eFNgJ8VCxKm70CP5NXXQiP5nPWAiHB50OI9+JeAEyFLLd93L82wVLEZlE3fYh X-Gm-Message-State: AOJu0Yzvn/W2JgGqW2utaYPZ8P6oAP0VNeXxr7okBSxiwz/MreOVmWbC oOyPHXudoR0eZQrMAvIDUxyMkT/Vz6uke4aelIeutp2hIWTNQlYQkmz9B0D9Svs= X-Google-Smtp-Source: AGHT+IGxFgSbXX/tbvCY4mGSbhlg4H+ttH7NdxDQOym+VwY4bkIYH4LHOMqvrmeli2SSBzVJP4AtnQ== X-Received: by 2002:adf:e390:0:b0:363:10cb:45aa with SMTP id ffacd0b85a97d-36310cb4a2bmr4364353f8f.24.1718883321788; Thu, 20 Jun 2024 04:35:21 -0700 (PDT) Received: from [127.0.1.1] ([178.197.219.137]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42471e6623fsm49708985e9.1.2024.06.20.04.35.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Jun 2024 04:35:21 -0700 (PDT) From: Krzysztof Kozlowski Date: Thu, 20 Jun 2024 13:34:55 +0200 Subject: [PATCH 7/7] dt-bindings: i2c: adjust indentation in DTS example to coding style Precedence: bulk X-Mailing-List: chrome-platform@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240620-dt-bindings-i2c-clean-v1-7-3a1016a95f9d@linaro.org> References: <20240620-dt-bindings-i2c-clean-v1-0-3a1016a95f9d@linaro.org> In-Reply-To: <20240620-dt-bindings-i2c-clean-v1-0-3a1016a95f9d@linaro.org> To: Andi Shyti , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Nicolas Ferre , Alexandre Belloni , Claudiu Beznea , Sergiu Moga , Benson Leung , Guenter Roeck , Doug Anderson , Enric Balletbo i Serra , =?utf-8?q?Ricardo_Ca=C3=B1u?= =?utf-8?q?elo?= , Thierry Reding , Jonathan Hunter , Vignesh R , Kamal Dasu , Broadcom internal kernel review list , Florian Fainelli , Wolfram Sang , Chris Brandt , Maxime Coquelin , Alexandre Torgue , Geert Uytterhoeven , Magnus Damm , Pierre-Yves MORDRET Cc: linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, chrome-platform@lists.linux.dev, linux-tegra@vger.kernel.org, Krzysztof Kozlowski , linux-omap@vger.kernel.org, Kamal Dasu , linux-renesas-soc@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=17181; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=Siv8V0Nn9CGvuerqMXS4Ni1veQBMZhGjgdRiTq9SAcI=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmdBPk9TIvT+9cZ5d6+FmrQL9vylEc0MTi9y+R/ nOtpbNnVe6JAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZnQT5AAKCRDBN2bmhouD 17mGEACY4RKry1pseeS4ML12cXws80LBFCHL5d8/gLPNJu+F4cVyo7J5Z+yGZxAI9wHRyMbfMH5 W5Nc7stR8JZRBmCSra/leQ1H81s2gpV6k6Ojy9rVVEd3tUVdjJOsWjKJ3lPDGdXUdeJB63W0Qt5 WdGboQfP2LA54HOed/vs3I62s5Bdijty6fK1fKlssB0uU1yLN4jlH8+rXeKXqcnjaEKKsxvjFIr uVqaus67/o3GfbClC3W/MOSrNLYsw1+YPZTUK6QHVMut4ARoxGutvx5Ooa/eZbWgb+GYKQx3UQC wcqGrhxTx7Ej3mLdJAi8LDPXdp67mczAisBVfTAA5FigxVg0tZAJKAZfBxLoWTpeSZ3VWCwyfKf Xp5Pz4Xvmk8anIX7us7t5XmBwSgrOOnRvISUA6/5zvGqgEWDTuAmeHlNQB/Fwy3HrUBQmlOWP/7 UhqdQgvqvF1hH8OuGsarR6cQDTIPJVYVho6Z/PCfqJrRkDLm51onsy4nDJSiz8EFcn9l4DHSB0p RbyuG98o3Qc/0upUB5hhR1q6JdabMZd7aMqVU2dZFQv+8fypq/jI/+7Jmo2JysR3Wai6WWPQuwt woWnqF8iBWjS3WNCgD9beHrB5l+Ky/kZl6ZiygkepP8rzbBis1TDDdN6vzSJm9DAOYAmcfpN/WF RbsmREMkRXuYAJw== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Bindings coding style expects 2- or 4-space indentation in the DTS example. Correct files having something odd (6- or 8-space) to 4-space while re-ordering few properties according to DTS coding style (the first property should be compatible, then reg/ranges). No functional impact. Signed-off-by: Krzysztof Kozlowski --- .../devicetree/bindings/i2c/brcm,brcmstb-i2c.yaml | 28 +++--- .../devicetree/bindings/i2c/i2c-demux-pinctrl.yaml | 106 ++++++++++----------- .../devicetree/bindings/i2c/renesas,iic-emev2.yaml | 14 +-- .../devicetree/bindings/i2c/renesas,rcar-i2c.yaml | 20 ++-- .../devicetree/bindings/i2c/renesas,riic.yaml | 34 +++---- .../bindings/i2c/renesas,rmobile-iic.yaml | 24 ++--- .../devicetree/bindings/i2c/st,stm32-i2c.yaml | 66 ++++++------- .../devicetree/bindings/i2c/ti,omap4-i2c.yaml | 12 +-- 8 files changed, 152 insertions(+), 152 deletions(-) diff --git a/Documentation/devicetree/bindings/i2c/brcm,brcmstb-i2c.yaml b/Documentation/devicetree/bindings/i2c/brcm,brcmstb-i2c.yaml index 7070c04469ed..ac9ddf228c82 100644 --- a/Documentation/devicetree/bindings/i2c/brcm,brcmstb-i2c.yaml +++ b/Documentation/devicetree/bindings/i2c/brcm,brcmstb-i2c.yaml @@ -76,21 +76,21 @@ else: examples: - | - bsca: i2c@f0406200 { - clock-frequency = <390000>; - compatible = "brcm,brcmstb-i2c"; - interrupt-parent = <&irq0_intc>; - reg = <0xf0406200 0x58>; - interrupts = <0x18>; - interrupt-names = "upg_bsca"; - }; + bsca: i2c@f0406200 { + compatible = "brcm,brcmstb-i2c"; + reg = <0xf0406200 0x58>; + clock-frequency = <390000>; + interrupt-parent = <&irq0_intc>; + interrupts = <0x18>; + interrupt-names = "upg_bsca"; + }; - | - ddc0: i2c@7ef04500 { - compatible = "brcm,bcm2711-hdmi-i2c"; - reg = <0x7ef04500 0x100>, <0x7ef00b00 0x300>; - reg-names = "bsc", "auto-i2c"; - clock-frequency = <390000>; - }; + ddc0: i2c@7ef04500 { + compatible = "brcm,bcm2711-hdmi-i2c"; + reg = <0x7ef04500 0x100>, <0x7ef00b00 0x300>; + reg-names = "bsc", "auto-i2c"; + clock-frequency = <390000>; + }; ... diff --git a/Documentation/devicetree/bindings/i2c/i2c-demux-pinctrl.yaml b/Documentation/devicetree/bindings/i2c/i2c-demux-pinctrl.yaml index b813f6d4810c..1eaf00b90a77 100644 --- a/Documentation/devicetree/bindings/i2c/i2c-demux-pinctrl.yaml +++ b/Documentation/devicetree/bindings/i2c/i2c-demux-pinctrl.yaml @@ -109,65 +109,65 @@ examples: // Example for a bus to be demuxed. It contains various I2C clients for // HDMI, so the bus is named "i2c-hdmi": i2chdmi: i2c-mux3 { - compatible = "i2c-demux-pinctrl"; - i2c-parent = <&iic2>, <&i2c2>, <&gpioi2c2>; - i2c-bus-name = "i2c-hdmi"; - #address-cells = <1>; - #size-cells = <0>; + compatible = "i2c-demux-pinctrl"; + i2c-parent = <&iic2>, <&i2c2>, <&gpioi2c2>; + i2c-bus-name = "i2c-hdmi"; + #address-cells = <1>; + #size-cells = <0>; - ak4643: codec@12 { - compatible = "asahi-kasei,ak4643"; - #sound-dai-cells = <0>; - reg = <0x12>; + ak4643: codec@12 { + compatible = "asahi-kasei,ak4643"; + #sound-dai-cells = <0>; + reg = <0x12>; + }; + + composite-in@20 { + compatible = "adi,adv7180"; + reg = <0x20>; + + port { + adv7180: endpoint { + bus-width = <8>; + remote-endpoint = <&vin1ep0>; + }; }; + }; - composite-in@20 { - compatible = "adi,adv7180"; - reg = <0x20>; + hdmi@39 { + compatible = "adi,adv7511w"; + reg = <0x39>; + interrupt-parent = <&gpio1>; + interrupts = <15 IRQ_TYPE_LEVEL_LOW>; + clocks = <&cec_clock>; + clock-names = "cec"; - port { - adv7180: endpoint { - bus-width = <8>; - remote-endpoint = <&vin1ep0>; - }; + avdd-supply = <&fixedregulator1v8>; + dvdd-supply = <&fixedregulator1v8>; + pvdd-supply = <&fixedregulator1v8>; + dvdd-3v-supply = <&fixedregulator3v3>; + bgvdd-supply = <&fixedregulator1v8>; + + adi,input-depth = <8>; + adi,input-colorspace = "rgb"; + adi,input-clock = "1x"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + adv7511_in: endpoint { + remote-endpoint = <&lvds0_out>; }; - }; + }; - hdmi@39 { - compatible = "adi,adv7511w"; - reg = <0x39>; - interrupt-parent = <&gpio1>; - interrupts = <15 IRQ_TYPE_LEVEL_LOW>; - clocks = <&cec_clock>; - clock-names = "cec"; - - avdd-supply = <&fixedregulator1v8>; - dvdd-supply = <&fixedregulator1v8>; - pvdd-supply = <&fixedregulator1v8>; - dvdd-3v-supply = <&fixedregulator3v3>; - bgvdd-supply = <&fixedregulator1v8>; - - adi,input-depth = <8>; - adi,input-colorspace = "rgb"; - adi,input-clock = "1x"; - - ports { - #address-cells = <1>; - #size-cells = <0>; - - port@0 { - reg = <0>; - adv7511_in: endpoint { - remote-endpoint = <&lvds0_out>; - }; - }; - - port@1 { - reg = <1>; - adv7511_out: endpoint { - remote-endpoint = <&hdmi_con_out>; - }; - }; + port@1 { + reg = <1>; + adv7511_out: endpoint { + remote-endpoint = <&hdmi_con_out>; }; + }; }; + }; }; diff --git a/Documentation/devicetree/bindings/i2c/renesas,iic-emev2.yaml b/Documentation/devicetree/bindings/i2c/renesas,iic-emev2.yaml index 17c1102562be..551cfa6f885a 100644 --- a/Documentation/devicetree/bindings/i2c/renesas,iic-emev2.yaml +++ b/Documentation/devicetree/bindings/i2c/renesas,iic-emev2.yaml @@ -44,11 +44,11 @@ examples: #include iic0: i2c@e0070000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "renesas,iic-emev2"; - reg = <0xe0070000 0x28>; - interrupts = ; - clocks = <&iic0_sclk>; - clock-names = "sclk"; + compatible = "renesas,iic-emev2"; + reg = <0xe0070000 0x28>; + interrupts = ; + clocks = <&iic0_sclk>; + clock-names = "sclk"; + #address-cells = <1>; + #size-cells = <0>; }; diff --git a/Documentation/devicetree/bindings/i2c/renesas,rcar-i2c.yaml b/Documentation/devicetree/bindings/i2c/renesas,rcar-i2c.yaml index 51b220da461b..6cc60c3f61cd 100644 --- a/Documentation/devicetree/bindings/i2c/renesas,rcar-i2c.yaml +++ b/Documentation/devicetree/bindings/i2c/renesas,rcar-i2c.yaml @@ -153,14 +153,14 @@ examples: #include i2c0: i2c@e6508000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "renesas,i2c-r8a7791", "renesas,rcar-gen2-i2c"; - reg = <0xe6508000 0x40>; - interrupts = ; - clock-frequency = <400000>; - clocks = <&cpg CPG_MOD 931>; - power-domains = <&sysc R8A7791_PD_ALWAYS_ON>; - resets = <&cpg 931>; - i2c-scl-internal-delay-ns = <6>; + compatible = "renesas,i2c-r8a7791", "renesas,rcar-gen2-i2c"; + reg = <0xe6508000 0x40>; + interrupts = ; + clock-frequency = <400000>; + clocks = <&cpg CPG_MOD 931>; + power-domains = <&sysc R8A7791_PD_ALWAYS_ON>; + resets = <&cpg 931>; + i2c-scl-internal-delay-ns = <6>; + #address-cells = <1>; + #size-cells = <0>; }; diff --git a/Documentation/devicetree/bindings/i2c/renesas,riic.yaml b/Documentation/devicetree/bindings/i2c/renesas,riic.yaml index 91ecf17b7a81..7993fe463c4c 100644 --- a/Documentation/devicetree/bindings/i2c/renesas,riic.yaml +++ b/Documentation/devicetree/bindings/i2c/renesas,riic.yaml @@ -97,21 +97,21 @@ examples: #include i2c0: i2c@fcfee000 { - compatible = "renesas,riic-r7s72100", "renesas,riic-rz"; - reg = <0xfcfee000 0x44>; - interrupts = , - , - , - , - , - , - , - ; - interrupt-names = "tei", "ri", "ti", "spi", "sti", "naki", "ali", - "tmoi"; - clocks = <&mstp9_clks R7S72100_CLK_I2C0>; - clock-frequency = <100000>; - power-domains = <&cpg_clocks>; - #address-cells = <1>; - #size-cells = <0>; + compatible = "renesas,riic-r7s72100", "renesas,riic-rz"; + reg = <0xfcfee000 0x44>; + interrupts = , + , + , + , + , + , + , + ; + interrupt-names = "tei", "ri", "ti", "spi", "sti", "naki", "ali", + "tmoi"; + clocks = <&mstp9_clks R7S72100_CLK_I2C0>; + clock-frequency = <100000>; + power-domains = <&cpg_clocks>; + #address-cells = <1>; + #size-cells = <0>; }; diff --git a/Documentation/devicetree/bindings/i2c/renesas,rmobile-iic.yaml b/Documentation/devicetree/bindings/i2c/renesas,rmobile-iic.yaml index 04e4ffd80bc0..ec5222a1224f 100644 --- a/Documentation/devicetree/bindings/i2c/renesas,rmobile-iic.yaml +++ b/Documentation/devicetree/bindings/i2c/renesas,rmobile-iic.yaml @@ -134,16 +134,16 @@ examples: #include iic0: i2c@e6500000 { - compatible = "renesas,iic-r8a7790", "renesas,rcar-gen2-iic", - "renesas,rmobile-iic"; - reg = <0xe6500000 0x425>; - interrupts = ; - clocks = <&cpg CPG_MOD 318>; - clock-frequency = <400000>; - dmas = <&dmac0 0x61>, <&dmac0 0x62>, <&dmac1 0x61>, <&dmac1 0x62>; - dma-names = "tx", "rx", "tx", "rx"; - power-domains = <&sysc R8A7790_PD_ALWAYS_ON>; - resets = <&cpg 318>; - #address-cells = <1>; - #size-cells = <0>; + compatible = "renesas,iic-r8a7790", "renesas,rcar-gen2-iic", + "renesas,rmobile-iic"; + reg = <0xe6500000 0x425>; + interrupts = ; + clocks = <&cpg CPG_MOD 318>; + clock-frequency = <400000>; + dmas = <&dmac0 0x61>, <&dmac0 0x62>, <&dmac1 0x61>, <&dmac1 0x62>; + dma-names = "tx", "rx", "tx", "rx"; + power-domains = <&sysc R8A7790_PD_ALWAYS_ON>; + resets = <&cpg 318>; + #address-cells = <1>; + #size-cells = <0>; }; diff --git a/Documentation/devicetree/bindings/i2c/st,stm32-i2c.yaml b/Documentation/devicetree/bindings/i2c/st,stm32-i2c.yaml index 8fd8be76875e..457bb0702ed9 100644 --- a/Documentation/devicetree/bindings/i2c/st,stm32-i2c.yaml +++ b/Documentation/devicetree/bindings/i2c/st,stm32-i2c.yaml @@ -145,31 +145,31 @@ examples: #include #include //Example 1 (with st,stm32f4-i2c compatible) - i2c@40005400 { - compatible = "st,stm32f4-i2c"; - #address-cells = <1>; - #size-cells = <0>; - reg = <0x40005400 0x400>; - interrupts = <31>, - <32>; - resets = <&rcc 277>; - clocks = <&rcc 0 149>; - }; + i2c@40005400 { + compatible = "st,stm32f4-i2c"; + reg = <0x40005400 0x400>; + interrupts = <31>, + <32>; + resets = <&rcc 277>; + clocks = <&rcc 0 149>; + #address-cells = <1>; + #size-cells = <0>; + }; - | #include #include //Example 2 (with st,stm32f7-i2c compatible) - i2c@40005800 { - compatible = "st,stm32f7-i2c"; - #address-cells = <1>; - #size-cells = <0>; - reg = <0x40005800 0x400>; - interrupts = <31>, - <32>; - resets = <&rcc STM32F7_APB1_RESET(I2C1)>; - clocks = <&rcc 1 CLK_I2C1>; - }; + i2c@40005800 { + compatible = "st,stm32f7-i2c"; + reg = <0x40005800 0x400>; + interrupts = <31>, + <32>; + resets = <&rcc STM32F7_APB1_RESET(I2C1)>; + clocks = <&rcc 1 CLK_I2C1>; + #address-cells = <1>; + #size-cells = <0>; + }; - | #include @@ -178,16 +178,16 @@ examples: #include #include #include - i2c@40013000 { - compatible = "st,stm32mp15-i2c"; - #address-cells = <1>; - #size-cells = <0>; - reg = <0x40013000 0x400>; - interrupts = , - ; - clocks = <&rcc I2C2_K>; - resets = <&rcc I2C2_R>; - i2c-scl-rising-time-ns = <185>; - i2c-scl-falling-time-ns = <20>; - st,syscfg-fmp = <&syscfg 0x4 0x2>; - }; + i2c@40013000 { + compatible = "st,stm32mp15-i2c"; + reg = <0x40013000 0x400>; + interrupts = , + ; + clocks = <&rcc I2C2_K>; + resets = <&rcc I2C2_R>; + i2c-scl-rising-time-ns = <185>; + i2c-scl-falling-time-ns = <20>; + st,syscfg-fmp = <&syscfg 0x4 0x2>; + #address-cells = <1>; + #size-cells = <0>; + }; diff --git a/Documentation/devicetree/bindings/i2c/ti,omap4-i2c.yaml b/Documentation/devicetree/bindings/i2c/ti,omap4-i2c.yaml index c9d1030e9857..8c2e35fabf5b 100644 --- a/Documentation/devicetree/bindings/i2c/ti,omap4-i2c.yaml +++ b/Documentation/devicetree/bindings/i2c/ti,omap4-i2c.yaml @@ -82,9 +82,9 @@ examples: #include main_i2c0: i2c@2000000 { - compatible = "ti,j721e-i2c", "ti,omap4-i2c"; - reg = <0x2000000 0x100>; - interrupts = ; - #address-cells = <1>; - #size-cells = <0>; - }; + compatible = "ti,j721e-i2c", "ti,omap4-i2c"; + reg = <0x2000000 0x100>; + interrupts = ; + #address-cells = <1>; + #size-cells = <0>; + };